* [gentoo-user] oder of files opened by a process @ 2010-10-01 15:29 Al 2010-10-01 16:29 ` Dale 0 siblings, 1 reply; 36+ messages in thread From: Al @ 2010-10-01 15:29 UTC (permalink / raw To: gentoo-user Hello, I want to find out by which file and line the */temp/environment script is run or sourced. As a am always interested in a general way to solve something, I ask if there is a tool, that displays me the order in which files are read by a process. Al ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] oder of files opened by a process 2010-10-01 15:29 [gentoo-user] oder of files opened by a process Al @ 2010-10-01 16:29 ` Dale 2010-10-01 17:00 ` Darren Kirby ` (2 more replies) 0 siblings, 3 replies; 36+ messages in thread From: Dale @ 2010-10-01 16:29 UTC (permalink / raw To: gentoo-user Al wrote: > Hello, > > I want to find out by which file and line the */temp/environment > script is run or sourced. > > As a am always interested in a general way to solve something, I ask > if there is a tool, that displays me the order in which files are > read by a process. > > Al > > I'm not sure but you may want to check into strace. It may be what you are looking for. * dev-util/strace Available versions: 4.5.18 4.5.19 ~4.5.20 {aio static} Homepage: http://sourceforge.net/projects/strace/ Description: A useful diagnostic, instructional, and debugging tool Hope that helps. Dale :-) :-) ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] oder of files opened by a process 2010-10-01 16:29 ` Dale @ 2010-10-01 17:00 ` Darren Kirby 2010-10-02 15:41 ` David Relson 2010-10-01 17:25 ` Al 2010-10-01 18:35 ` Grant Edwards 2 siblings, 1 reply; 36+ messages in thread From: Darren Kirby @ 2010-10-01 17:00 UTC (permalink / raw To: gentoo-user On Fri, Oct 1, 2010 at 10:29 AM, Dale <rdalek1967@gmail.com> wrote: > Al wrote: >> >> Hello, >> >> I want to find out by which file and line the */temp/environment >> script is run or sourced. >> >> As a am always interested in a general way to solve something, I ask >> if there is a tool, that displays me the order in which files are >> read by a process. >> >> Al >> >> > > I'm not sure but you may want to check into strace. It may be what you are > looking for. > strace may do the job in a pinch, but there is almost certainly something better suited to the task...however I don't know what it is. You may want to use like this: $ strace YourScript 2>&1 | grep open which will run YourScript and print all open() system calls to the console. You will have to sort through many unrelated calls (such as reading shared library calls) but it will show the order in which your script is opening external files. Presumably you could key in on the relevant files using more grep calls and pipes... > > Dale > > :-) :-) > > D -- -- Support the mob or mysteriously disappear... I'm on flickr: http://www.flickr.com/photos/badcomputer/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] oder of files opened by a process 2010-10-01 17:00 ` Darren Kirby @ 2010-10-02 15:41 ` David Relson 0 siblings, 0 replies; 36+ messages in thread From: David Relson @ 2010-10-02 15:41 UTC (permalink / raw To: gentoo-user On Fri, 1 Oct 2010 11:00:33 -0600 Darren Kirby wrote: > On Fri, Oct 1, 2010 at 10:29 AM, Dale <rdalek1967@gmail.com> wrote: > > Al wrote: > >> > >> Hello, > >> > >> I want to find out by which file and line the */temp/environment > >> script is run or sourced. > >> > >> As a am always interested in a general way to solve something, I > >> ask if there is a tool, that displays me the order in which files > >> are read by a process. > >> > >> Al > >> > >> > > > > I'm not sure but you may want to check into strace. It may be what > > you are looking for. > > > > strace may do the job in a pinch, but there is almost certainly > something better suited to the task...however I don't know what it is. > You may want to use like this: > > $ strace YourScript 2>&1 | grep open No need to use grep to find the open operations. strace has a -feopen option, i.e. strace -feopen YourScript > > which will run YourScript and print all open() system calls to the > console. You will have to sort through many unrelated calls (such as > reading shared library calls) but it will show the order in which your > script is opening external files. Presumably you could key in on the > relevant files using more grep calls and pipes... > > > > > Dale > > > > :-) :-) > > > > > > > D > -- > -- > Support the mob or mysteriously disappear... > I'm on flickr: http://www.flickr.com/photos/badcomputer/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] oder of files opened by a process 2010-10-01 16:29 ` Dale 2010-10-01 17:00 ` Darren Kirby @ 2010-10-01 17:25 ` Al 2010-10-01 17:51 ` [gentoo-user] " walt ` (2 more replies) 2010-10-01 18:35 ` Grant Edwards 2 siblings, 3 replies; 36+ messages in thread From: Al @ 2010-10-01 17:25 UTC (permalink / raw To: gentoo-user > > I'm not sure but you may want to check into strace. It may be what you are > looking for. > > * dev-util/strace > Available versions: 4.5.18 4.5.19 ~4.5.20 {aio static} > Homepage: http://sourceforge.net/projects/strace/ > Description: A useful diagnostic, instructional, and debugging > tool > > Hope that helps. Arrrgh, configure: error: operating system cygwin is not supported by strace Any windows alternative? Al ^ permalink raw reply [flat|nested] 36+ messages in thread
* [gentoo-user] Re: oder of files opened by a process 2010-10-01 17:25 ` Al @ 2010-10-01 17:51 ` walt 2010-10-01 19:05 ` Paul Hartman 2010-10-01 18:14 ` [gentoo-user] " Dale 2010-10-01 18:36 ` [gentoo-user] " Grant Edwards 2 siblings, 1 reply; 36+ messages in thread From: walt @ 2010-10-01 17:51 UTC (permalink / raw To: gentoo-user On 10/01/2010 10:25 AM, Al wrote: > > configure: error: operating system cygwin is not supported by strace > > Any windows alternative? This may be overkill for your purpose, but it's a great tool: http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] Re: oder of files opened by a process 2010-10-01 17:51 ` [gentoo-user] " walt @ 2010-10-01 19:05 ` Paul Hartman 0 siblings, 0 replies; 36+ messages in thread From: Paul Hartman @ 2010-10-01 19:05 UTC (permalink / raw To: gentoo-user On Fri, Oct 1, 2010 at 12:51 PM, walt <w41ter@gmail.com> wrote: > On 10/01/2010 10:25 AM, Al wrote: > >> >> configure: error: operating system cygwin is not supported by strace >> >> Any windows alternative? > > This may be overkill for your purpose, but it's a great tool: > > http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx Seconded, most of sysinternals' tools are invaluable when working on a Windows box. With regard to temp/environment (assuming you're referring to use in portage during compiling) this might give you some clues: grep -R \/environment /usr/lib/portage ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] oder of files opened by a process 2010-10-01 17:25 ` Al 2010-10-01 17:51 ` [gentoo-user] " walt @ 2010-10-01 18:14 ` Dale 2010-10-01 18:38 ` Al 2010-10-01 18:36 ` [gentoo-user] " Grant Edwards 2 siblings, 1 reply; 36+ messages in thread From: Dale @ 2010-10-01 18:14 UTC (permalink / raw To: gentoo-user Al wrote: >> I'm not sure but you may want to check into strace. It may be what you are >> looking for. >> >> * dev-util/strace >> Available versions: 4.5.18 4.5.19 ~4.5.20 {aio static} >> Homepage: http://sourceforge.net/projects/strace/ >> Description: A useful diagnostic, instructional, and debugging >> tool >> >> Hope that helps. >> > Arrrgh, > > configure: error: operating system cygwin is not supported by strace > > Any windows alternative? > > Al > > I have no ideas on windoze. I don't have it here and try to stay away from it when possible. I just assumed since you posted on a Linux list and there was no mention of windoze in the original post that you were looking for a Linux tool. Can't help you there. Sorry. Dale :-) :-) ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] oder of files opened by a process 2010-10-01 18:14 ` [gentoo-user] " Dale @ 2010-10-01 18:38 ` Al 2010-10-01 19:07 ` Dale 0 siblings, 1 reply; 36+ messages in thread From: Al @ 2010-10-01 18:38 UTC (permalink / raw To: gentoo-user Thanks, it was a good suggestion anyway and I will use it the next time I run on Linux. > > I have no ideas on windoze. I don't have it here and try to stay away from > it when possible. I just assumed since you posted on a Linux list and there > was no mention of windoze in the original post that you were looking for a > Linux tool. Ooops, I was convinced this was the Gentoo user list. You know Gentoo != Linux. But there is an intersection. Al ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] oder of files opened by a process 2010-10-01 18:38 ` Al @ 2010-10-01 19:07 ` Dale 2010-10-01 19:19 ` Al 0 siblings, 1 reply; 36+ messages in thread From: Dale @ 2010-10-01 19:07 UTC (permalink / raw To: gentoo-user Al wrote: > Thanks, it was a good suggestion anyway and I will use it the next > time I run on Linux. > > >> I have no ideas on windoze. I don't have it here and try to stay away from >> it when possible. I just assumed since you posted on a Linux list and there >> was no mention of windoze in the original post that you were looking for a >> Linux tool. >> > Ooops, I was convinced this was the Gentoo user list. > > You know Gentoo != Linux. But there is an intersection. > > Al > > Gentoo is Linux but it is not windoze. I have asked a question or two on here about windoze, my brother uses it, but I usually make that well known so that people know it is not Linux I am asking about. Gentoo Linux and windoze are two separate things. Maybe I am missing something here. Dale :-) :-) ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] oder of files opened by a process 2010-10-01 19:07 ` Dale @ 2010-10-01 19:19 ` Al 2010-10-01 20:37 ` Volker Armin Hemmann 0 siblings, 1 reply; 36+ messages in thread From: Al @ 2010-10-01 19:19 UTC (permalink / raw To: gentoo-user > > Gentoo is Linux but it is not windoze. I have asked a question or two on Gentoo is not Linux. Gentoo is a community and a build tool. The build tool depends on bash. It does not depend on the Linux kernel. Al ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] oder of files opened by a process 2010-10-01 19:19 ` Al @ 2010-10-01 20:37 ` Volker Armin Hemmann 2010-10-01 20:48 ` Al 0 siblings, 1 reply; 36+ messages in thread From: Volker Armin Hemmann @ 2010-10-01 20:37 UTC (permalink / raw To: gentoo-user On Friday 01 October 2010, Al wrote: > > Gentoo is Linux but it is not windoze. I have asked a question or two on > > Gentoo is not Linux. Gentoo is a community and a build tool. > > The build tool depends on bash. It does not depend on the Linux kernel. > > Al it is a communtiy deeply founded in the linux camp and your stupid behaviour does not sit well with it. If you ask a windows question, mark it as such. Or you will get added to much more killfiles. That said, try asking questions about profiling linux kernel on a windows mailing list. I am sure you will get some very nice and helpfull answers. ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] oder of files opened by a process 2010-10-01 20:37 ` Volker Armin Hemmann @ 2010-10-01 20:48 ` Al 0 siblings, 0 replies; 36+ messages in thread From: Al @ 2010-10-01 20:48 UTC (permalink / raw To: gentoo-user > it is a communtiy deeply founded in the linux camp and your stupid behaviour > does not sit well with it. > *plonk* ^ permalink raw reply [flat|nested] 36+ messages in thread
* [gentoo-user] Re: oder of files opened by a process 2010-10-01 17:25 ` Al 2010-10-01 17:51 ` [gentoo-user] " walt 2010-10-01 18:14 ` [gentoo-user] " Dale @ 2010-10-01 18:36 ` Grant Edwards 2010-10-01 18:47 ` Al 2 siblings, 1 reply; 36+ messages in thread From: Grant Edwards @ 2010-10-01 18:36 UTC (permalink / raw To: gentoo-user On 2010-10-01, Al <oss.elmar@googlemail.com> wrote: >> >> I'm not sure but you may want to check into strace. ?It may be what you are >> looking for. >> >> * dev-util/strace >> ? ? Available versions: ?4.5.18 4.5.19 ~4.5.20 {aio static} >> ? ? Homepage: ? ? ? ? ? ?http://sourceforge.net/projects/strace/ >> ? ? Description: ? ? ? ? A useful diagnostic, instructional, and debugging >> tool >> >> Hope that helps. > > Arrrgh, > > configure: error: operating system cygwin is not supported by strace > > Any windows alternative? Perhaps you'd be better off asking in a Cygwin/Windows forum than a Linux one? -- Grant Edwards grant.b.edwards Yow! I'm reporting for duty at as a modern person. I want gmail.com to do the Latin Hustle now! ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] Re: oder of files opened by a process 2010-10-01 18:36 ` [gentoo-user] " Grant Edwards @ 2010-10-01 18:47 ` Al 2010-10-01 18:56 ` Grant Edwards 0 siblings, 1 reply; 36+ messages in thread From: Al @ 2010-10-01 18:47 UTC (permalink / raw To: gentoo-user > > Perhaps you'd be better off asking in a Cygwin/Windows forum than a > Linux one? > Again, Gentoo != Linux. But, you are right to suggest the Cygwin list. I didn't anticipate that such a tool would depend on the kernel architecture. The posix layer is there. Al ^ permalink raw reply [flat|nested] 36+ messages in thread
* [gentoo-user] Re: oder of files opened by a process 2010-10-01 18:47 ` Al @ 2010-10-01 18:56 ` Grant Edwards 2010-10-01 19:01 ` Al 0 siblings, 1 reply; 36+ messages in thread From: Grant Edwards @ 2010-10-01 18:56 UTC (permalink / raw To: gentoo-user On 2010-10-01, Al <oss.elmar@googlemail.com> wrote: >> >> Perhaps you'd be better off asking in a Cygwin/Windows forum than a >> Linux one? > > Again, Gentoo != Linux. You're running Gentoo Windows? > But, you are right to suggest the Cygwin list. I didn't anticipate > that such a tool would depend on the kernel architecture. The posix > layer is there. The Posix layer doesn't provide an API for what you're asking. -- Grant Edwards grant.b.edwards Yow! And then we could sit at on the hoods of cars at gmail.com stop lights! ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] Re: oder of files opened by a process 2010-10-01 18:56 ` Grant Edwards @ 2010-10-01 19:01 ` Al 2010-10-01 19:16 ` Dale 0 siblings, 1 reply; 36+ messages in thread From: Al @ 2010-10-01 19:01 UTC (permalink / raw To: gentoo-user > > You're running Gentoo Windows? > Yes I do. ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] Re: oder of files opened by a process 2010-10-01 19:01 ` Al @ 2010-10-01 19:16 ` Dale 2010-10-01 19:23 ` Al 2010-10-01 19:26 ` Grant Edwards 0 siblings, 2 replies; 36+ messages in thread From: Dale @ 2010-10-01 19:16 UTC (permalink / raw To: gentoo-user Al wrote: >> You're running Gentoo Windows? >> >> > Yes I do. > > Someone is confused. I'm not sure who tho. :/ Dale :-) :-) ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] Re: oder of files opened by a process 2010-10-01 19:16 ` Dale @ 2010-10-01 19:23 ` Al 2010-10-01 19:38 ` Grant Edwards 2010-10-01 19:26 ` Grant Edwards 1 sibling, 1 reply; 36+ messages in thread From: Al @ 2010-10-01 19:23 UTC (permalink / raw To: gentoo-user >>> >>> You're running Gentoo Windows? >> >> Yes I do. > > Someone is confused. I'm not sure who tho. :/ > I run Gentoo on the Cygwin layer on Vista to be precise. There is no Linux kernel. Others run Gentoo on BSD, on Interix or Irix, where there is no Linux kernel. I have a build script that needs 12 hours to compile the system packages on Cygwin including the GCC compiler itself. Al ^ permalink raw reply [flat|nested] 36+ messages in thread
* [gentoo-user] Re: oder of files opened by a process 2010-10-01 19:23 ` Al @ 2010-10-01 19:38 ` Grant Edwards 2010-10-01 20:37 ` Al 0 siblings, 1 reply; 36+ messages in thread From: Grant Edwards @ 2010-10-01 19:38 UTC (permalink / raw To: gentoo-user On 2010-10-01, Al <oss.elmar@googlemail.com> wrote: >>>> >>>> You're running Gentoo Windows? >>> >>> Yes I do. >> >> Someone is confused. ?I'm not sure who tho. ?:/ >> > > I run Gentoo on the Cygwin layer on Vista to be precise. There is no > Linux kernel. Wow. I never realized that could be done. Tres geek points for ya. I think our ignorance is understandable when the first paragraph at http://www.gentoo.org/main/en/about.xml states quite plainly that: What is Gentoo? Gentoo is a free operating system based on either Linux or FreeBSD that ... > Others run Gentoo on BSD, on Interix or Irix, where there is no Linux > kernel. Linux and BSD et al. are pretty much just "Unix" (trademark and IP arguments aside). > I have a build script that needs 12 hours to compile the system > packages on Cygwin including the GCC compiler itself. The mind wobbles... I knew you could run all the underlying stuff (bash, python, gcc, etc.) on Cygwin, so I guess I shouldn't be too surprised that it's technically possible to run Gentoo. I'm still a bit surprised that anybody actually does it. I've been using Cygwin for a lot of years, so I'd be willing to bet that installing IA32-Linux-Gentoo on a windows-hosted VM is probably easier (though of course not quite the same thing). -- Grant Edwards grant.b.edwards Yow! My pants just went to at high school in the Carlsbad gmail.com Caverns!!! ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] Re: oder of files opened by a process 2010-10-01 19:38 ` Grant Edwards @ 2010-10-01 20:37 ` Al 0 siblings, 0 replies; 36+ messages in thread From: Al @ 2010-10-01 20:37 UTC (permalink / raw To: gentoo-user > > Wow. I never realized that could be done. Tres geek points for ya. > Thank you. After a month of research I really have deserved some geek points. :-) > > Gentoo is a free operating system based on either Linux or FreeBSD > that ... That is outdated since they started to run Gentoo on Irix, Mac, Interix ... > Linux and BSD et al. are pretty much just "Unix" (trademark and IP > arguments aside). > Also Interix has Windows kernel. So Gentoo/Windows is around since a while. Still Interix is more Unix-like than Cygwin. It was last sunday, when I manged to compile the last package from my system list. However, today I have observed that "emerge -e" draws in a few new packages that I still havn't compiled yet. I need to solve some issues for that. That was the reason for my question. Once 'emerge -e' works, I will go and publish all that stuff. Then Gentoo/Cygwin is out in the wild. > I knew you could run all the underlying stuff (bash, python, gcc, > etc.) on Cygwin, so I guess I shouldn't be too surprised that it's > technically possible to run Gentoo. I'm still a bit surprised that > anybody actually does it. I've been using Cygwin for a lot of years, > so I'd be willing to bet that installing IA32-Linux-Gentoo on a > windows-hosted VM is probably easier (though of course not quite the > same thing). I have a vision. That is a USB-stick with a LAMP stack on it. It runs on any OS (Mac, Windows, Linux). You can plug in, whereever you like and start working. Same sources, same version, same data, just different binaries. All done with the Gentoo build system. You may replace LAMP by the software of your choice. Al ^ permalink raw reply [flat|nested] 36+ messages in thread
* [gentoo-user] Re: oder of files opened by a process 2010-10-01 19:16 ` Dale 2010-10-01 19:23 ` Al @ 2010-10-01 19:26 ` Grant Edwards 2010-10-01 19:33 ` Florian CROUZAT 2010-10-01 19:35 ` Darren Kirby 1 sibling, 2 replies; 36+ messages in thread From: Grant Edwards @ 2010-10-01 19:26 UTC (permalink / raw To: gentoo-user On 2010-10-01, Dale <rdalek1967@gmail.com> wrote: > Al wrote: >>> You're running Gentoo Windows? >>> >>> >> Yes I do. >> >> > > Someone is confused. I'm not sure who tho. :/ I certainly feel a bit confused. I was aware of Gentoo/BSD... -- Grant Edwards grant.b.edwards Yow! Those people look at exactly like Donnie and gmail.com Marie Osmond!! ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] Re: oder of files opened by a process 2010-10-01 19:26 ` Grant Edwards @ 2010-10-01 19:33 ` Florian CROUZAT 2010-10-01 19:45 ` Al 2010-10-01 19:35 ` Darren Kirby 1 sibling, 1 reply; 36+ messages in thread From: Florian CROUZAT @ 2010-10-01 19:33 UTC (permalink / raw To: gentoo-user On 1 oct. 2010, at 21:26, Grant Edwards wrote: > On 2010-10-01, Dale <rdalek1967@gmail.com> wrote: >> Al wrote: >>>> You're running Gentoo Windows? >>>> >>>> >>> Yes I do. >>> >>> >> >> Someone is confused. I'm not sure who tho. :/ > > I certainly feel a bit confused. I was aware of Gentoo/BSD... I think someone should have mentioned the gentoo/alt project way before in this topic. This is what Al is trying to improve giving us Cygwin support. Here's the link, http://www.gentoo.org/proj/en/gentoo-alt/prefix/ (I run a x64-macos Gentoo prefix) Cheers for your problem Al, maybe try the gentoo-alt ML to avoid all the noise but you sure reach more ppl here. ----- Florian. / For security reasons, all text in this mail is double-rot13 encrypted. / ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] Re: oder of files opened by a process 2010-10-01 19:33 ` Florian CROUZAT @ 2010-10-01 19:45 ` Al 2010-10-01 19:59 ` Grant Edwards 2010-10-01 20:39 ` Volker Armin Hemmann 0 siblings, 2 replies; 36+ messages in thread From: Al @ 2010-10-01 19:45 UTC (permalink / raw To: gentoo-user > > Cheers for your problem Al, maybe try the gentoo-alt ML to avoid all the noise but you sure reach more ppl here. > It's also time to get more ppl interested in gentoo-alt. Gentoo/Windows is more stimulant than Gentoo/BSD I guess, because it sounds like the opposite side of the planet. Al ^ permalink raw reply [flat|nested] 36+ messages in thread
* [gentoo-user] Re: oder of files opened by a process 2010-10-01 19:45 ` Al @ 2010-10-01 19:59 ` Grant Edwards 2010-10-01 20:39 ` Volker Armin Hemmann 1 sibling, 0 replies; 36+ messages in thread From: Grant Edwards @ 2010-10-01 19:59 UTC (permalink / raw To: gentoo-user On 2010-10-01, Al <oss.elmar@googlemail.com> wrote: >> >> Cheers for your problem Al, maybe try the gentoo-alt ML to avoid all >> the noise but you sure reach more ppl here. > It's also time to get more ppl interested in gentoo-alt. Hiding the fact that you're running it doesn't seem like a very effective means to that end. It makes you seem like a troll. > Gentoo/Windows is more stimulant than Gentoo/BSD I guess, because it > sounds like the opposite side of the planet. Well, that's a kind way to put it. ;) -- Grant Edwards grant.b.edwards Yow! I'm having a RELIGIOUS at EXPERIENCE ... and I don't gmail.com take any DRUGS ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] Re: oder of files opened by a process 2010-10-01 19:45 ` Al 2010-10-01 19:59 ` Grant Edwards @ 2010-10-01 20:39 ` Volker Armin Hemmann 2010-10-01 21:07 ` Grant Edwards 1 sibling, 1 reply; 36+ messages in thread From: Volker Armin Hemmann @ 2010-10-01 20:39 UTC (permalink / raw To: gentoo-user On Friday 01 October 2010, Al wrote: > > Cheers for your problem Al, maybe try the gentoo-alt ML to avoid all the > > noise but you sure reach more ppl here. > > It's also time to get more ppl interested in gentoo-alt. > Gentoo/Windows is more stimulant than Gentoo/BSD I guess, because it > sounds like the opposite side of the planet. > > Al then post on gentoo-alt or gentoo-cygwin. Gentoo-user is no place for windows questions. ^ permalink raw reply [flat|nested] 36+ messages in thread
* [gentoo-user] Re: oder of files opened by a process 2010-10-01 20:39 ` Volker Armin Hemmann @ 2010-10-01 21:07 ` Grant Edwards 0 siblings, 0 replies; 36+ messages in thread From: Grant Edwards @ 2010-10-01 21:07 UTC (permalink / raw To: gentoo-user On 2010-10-01, Volker Armin Hemmann <volkerarmin@googlemail.com> wrote: > On Friday 01 October 2010, Al wrote: > >>> Cheers for your problem Al, maybe try the gentoo-alt ML to avoid all >>> the noise but you sure reach more ppl here. >> >> It's also time to get more ppl interested in gentoo-alt. >> Gentoo/Windows is more stimulant than Gentoo/BSD I guess, because it >> sounds like the opposite side of the planet. > > then post on gentoo-alt or gentoo-cygwin. > > Gentoo-user is no place for windows questions. For all I care, he can post windows questions here if he wants, but posting windows questions without telling us they are windows questions is going to be counter-productive: it's not going to produce useful answers, and it's going to annoy people (some of whom might actually have known the answer to the question been clearly stated). -- Grant Edwards grant.b.edwards Yow! Hmmm ... an arrogant at bouquet with a subtle gmail.com suggestion of POLYVINYL CHLORIDE ... ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] Re: oder of files opened by a process 2010-10-01 19:26 ` Grant Edwards 2010-10-01 19:33 ` Florian CROUZAT @ 2010-10-01 19:35 ` Darren Kirby 2010-10-01 19:41 ` Al 1 sibling, 1 reply; 36+ messages in thread From: Darren Kirby @ 2010-10-01 19:35 UTC (permalink / raw To: gentoo-user On Fri, Oct 1, 2010 at 1:26 PM, Grant Edwards <grant.b.edwards@gmail.com> wrote: > On 2010-10-01, Dale <rdalek1967@gmail.com> wrote: >> Al wrote: >>>> You're running Gentoo Windows? >>>> >>>> >>> Yes I do. >>> >>> >> >> Someone is confused. I'm not sure who tho. :/ > > I certainly feel a bit confused. I was aware of Gentoo/BSD... > > > -- > Grant Edwards grant.b.edwards Yow! Those people look > at exactly like Donnie and > gmail.com Marie Osmond!! > > > There are projects to port portage and other system tools to all sorts of other kernels: http://en.wikipedia.org/wiki/Gentoo/Alt That said, it is quite inaccurate of the OP to claim Gentoo is but a 'build system', and not a Linux. It's primary goal and chief function as we all know is that of a Linux distro... D -- Support the mob or mysteriously disappear... I'm on flickr: http://www.flickr.com/photos/badcomputer/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] Re: oder of files opened by a process 2010-10-01 19:35 ` Darren Kirby @ 2010-10-01 19:41 ` Al 2010-10-01 19:52 ` Darren Kirby 0 siblings, 1 reply; 36+ messages in thread From: Al @ 2010-10-01 19:41 UTC (permalink / raw To: gentoo-user > > There are projects to port portage and other system tools to all sorts > of other kernels: http://en.wikipedia.org/wiki/Gentoo/Alt > > That said, it is quite inaccurate of the OP to claim Gentoo is but a > 'build system', and not a Linux. It's primary goal and chief function > as we all know is that of a Linux distro... > Only Gentoo/Linux is Linux. If you run Gentoo on a diffrent kernel it is still Gentoo, but it is not Linux any more. If you run GNU on a different kernel it is still GNU, but it is not Linux any more. Al ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] Re: oder of files opened by a process 2010-10-01 19:41 ` Al @ 2010-10-01 19:52 ` Darren Kirby 2010-10-01 20:07 ` Al 0 siblings, 1 reply; 36+ messages in thread From: Darren Kirby @ 2010-10-01 19:52 UTC (permalink / raw To: gentoo-user On Fri, Oct 1, 2010 at 1:41 PM, Al <oss.elmar@googlemail.com> wrote: >> >> There are projects to port portage and other system tools to all sorts >> of other kernels: http://en.wikipedia.org/wiki/Gentoo/Alt >> >> That said, it is quite inaccurate of the OP to claim Gentoo is but a >> 'build system', and not a Linux. It's primary goal and chief function >> as we all know is that of a Linux distro... >> > > Only Gentoo/Linux is Linux. If you run Gentoo on a diffrent kernel it > is still Gentoo, but it is not Linux any more. > > If you run GNU on a different kernel it is still GNU, but it is not > Linux any more. > > Al > > I understand that Al, but you must keep context in mind here. This mailing list, while perhaps not called the 'gentoo linux users list' is intended for support for Gentoo Linux. When you post here asking a question about running Gentoo on cygwin while neglecting to mention that fact you should not be surprised that some (most) do not know what you are talking about. At bare minimum you should have disclosed your rather rare and unique hardware/software environment. At best you should post to the gentoo-alt ML as Florian suggested. Questions of semantics aside, 'Gentoo' _is_ Gentoo Linux for probably 95% of users. D -- Support the mob or mysteriously disappear... I'm on flickr: http://www.flickr.com/photos/badcomputer/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] Re: oder of files opened by a process 2010-10-01 19:52 ` Darren Kirby @ 2010-10-01 20:07 ` Al 2010-10-01 20:36 ` Darren Kirby 2010-10-01 21:01 ` Grant Edwards 0 siblings, 2 replies; 36+ messages in thread From: Al @ 2010-10-01 20:07 UTC (permalink / raw To: gentoo-user > I understand that Al, but you must keep context in mind here. This > mailing list, while perhaps not called the 'gentoo linux users list' > is intended for support for Gentoo Linux. When you post here asking a A am a wanderer betwenn the worlds. When I think a question is reated to the windows kernel, I go to a windows list, if I think it related to the Cygwin layer I post to the cygwin list, when I think it is portage stuff, I post it here. When I think it specially related to the prefix overlay, then I go to gentoo-alt. It's not easy to always findt the right location for my questions. In this case I didn't anticipate it would be such closely related to the kernel. That's all. I think this list needs to learn, that there are more kernels around then Linux, even if Gentoo was a Linux Distro originally. Meanwhile it is developing the only Distro with a super-kernel-realm. Al ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] Re: oder of files opened by a process 2010-10-01 20:07 ` Al @ 2010-10-01 20:36 ` Darren Kirby 2010-10-01 22:06 ` Al 2010-10-01 21:01 ` Grant Edwards 1 sibling, 1 reply; 36+ messages in thread From: Darren Kirby @ 2010-10-01 20:36 UTC (permalink / raw To: gentoo-user On Fri, Oct 1, 2010 at 2:07 PM, Al <oss.elmar@googlemail.com> wrote: >> I understand that Al, but you must keep context in mind here. This >> mailing list, while perhaps not called the 'gentoo linux users list' >> is intended for support for Gentoo Linux. When you post here asking a > > A am a wanderer betwenn the worlds. When I think a question is reated > to the windows kernel, I go to a windows list, if I think it related > to the Cygwin layer I post to the cygwin list, when I think it is > portage stuff, I post it here. When I think it specially related to > the prefix overlay, then I go to gentoo-alt. > > It's not easy to always findt the right location for my questions. In > this case I didn't anticipate it would be such closely related to the > kernel. That's all. > > I think this list needs to learn, that there are more kernels around > then Linux, even if Gentoo was a Linux Distro originally. Meanwhile it > is developing the only Distro with a super-kernel-realm. > > Al > > Hey, that's cool man...I'm certainly not telling you not to post here, I just think it would have been a good idea to post details of your esoteric setup in the original post. As you've found, the cygwin and gnu/linux environment(s) are not exactly compatible, and a solution in one may not work in the other. I'm not even saying it's the way it should be, but rather that it's the de facto way it is: A very large majority of people on this list run whitebread 'Gentoo Linux' and as such, without further clarification in your post, that's what they think you are running as well....so I don't know, you may have better results on the specialized gentoo-alt list, but if you want to post here go ahead...just give us some details :) D -- Support the mob or mysteriously disappear... I'm on flickr: http://www.flickr.com/photos/badcomputer/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] Re: oder of files opened by a process 2010-10-01 20:36 ` Darren Kirby @ 2010-10-01 22:06 ` Al 0 siblings, 0 replies; 36+ messages in thread From: Al @ 2010-10-01 22:06 UTC (permalink / raw To: gentoo-user > Hey, that's cool man...I'm certainly not telling you not to post here, > I just think it would have been a good idea to post details of your > esoteric setup in the original post. As you've found, the cygwin and You are right in that to enough degree. In this case it would have been of advantage. > gnu/linux environment(s) are not exactly compatible, and a solution in > one may not work in the other. I'm not even saying it's the way it > should be, but rather that it's the de facto way it is: A very large > majority of people on this list run whitebread 'Gentoo Linux' and as > such, without further clarification in your post, that's what they From my experience it is also a reason to strip down my questions to something as simple as possible. Then I get useful answers. The strace program, Dale suggests, is a good answer for me. I am not only using Vista after all. I still can boot Gentoo/Linux to find the answer by that program. If I explain the esoteric context, to ask a simple newby question thereafter, people often give crazy comments and you go without an answer. Everything out of their horizon is evil for some stubborns. That is also a real live experience. It is tiresome, if that happens to often. I guess you knows this, you ask: How to do this and that ... people start a political discussion ... why do you want to do this and that? Time is lost, no answer yet. That is often simply counter productive. Hence, I became a little conservative with explaining esotric contexts. But, in this case it was the other way round. I got the comments, because I didn't explain the context. There isn't a perfect world. :-) > think you are running as well....so I don't know, you may have better > results on the specialized gentoo-alt list, but if you want to post > here go ahead...just give us some details :) Have a nice WE Al ^ permalink raw reply [flat|nested] 36+ messages in thread
* [gentoo-user] Re: oder of files opened by a process 2010-10-01 20:07 ` Al 2010-10-01 20:36 ` Darren Kirby @ 2010-10-01 21:01 ` Grant Edwards 2010-10-01 21:13 ` Al 1 sibling, 1 reply; 36+ messages in thread From: Grant Edwards @ 2010-10-01 21:01 UTC (permalink / raw To: gentoo-user On 2010-10-01, Al <oss.elmar@googlemail.com> wrote: >> I understand that Al, but you must keep context in mind here. This >> mailing list, while perhaps not called the 'gentoo linux users list' >> is intended for support for Gentoo Linux. When you post here asking a > > A am a wanderer betwenn the worlds. When I think a question is reated > to the windows kernel, I go to a windows list, if I think it related > to the Cygwin layer I post to the cygwin list, when I think it is > portage stuff, I post it here. When I think it specially related to > the prefix overlay, then I go to gentoo-alt. > > It's not easy to always findt the right location for my questions. In > this case I didn't anticipate it would be such closely related to the > kernel. That's all. > > I think this list needs to learn, that there are more kernels around > then Linux, even if Gentoo was a Linux Distro originally. And how were we to learn that when you didn't tell us you weren't running Linux/Unix? -- Grant Edwards grant.b.edwards Yow! Was my SOY LOAF left at out in th'RAIN? It tastes gmail.com REAL GOOD!! ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-user] Re: oder of files opened by a process 2010-10-01 21:01 ` Grant Edwards @ 2010-10-01 21:13 ` Al 0 siblings, 0 replies; 36+ messages in thread From: Al @ 2010-10-01 21:13 UTC (permalink / raw To: gentoo-user > > And how were we to learn that when you didn't tell us you weren't > running Linux/Unix? > I already mentioned it a few times. For simple questions, that don't look like crossing the borders, I don't mention it any more. It draws away from the topic. Probably I need to add something clarifying to my sig: How about this? Caution borderliner: Runnig Gentoo/Prefix on Cygwin/Vista. All stupid questions are related to this context. ^ permalink raw reply [flat|nested] 36+ messages in thread
* [gentoo-user] Re: oder of files opened by a process 2010-10-01 16:29 ` Dale 2010-10-01 17:00 ` Darren Kirby 2010-10-01 17:25 ` Al @ 2010-10-01 18:35 ` Grant Edwards 2 siblings, 0 replies; 36+ messages in thread From: Grant Edwards @ 2010-10-01 18:35 UTC (permalink / raw To: gentoo-user On 2010-10-01, Dale <rdalek1967@gmail.com> wrote: > Al wrote: >> Hello, >> >> I want to find out by which file and line the */temp/environment >> script is run or sourced. >> >> As a am always interested in a general way to solve something, I ask >> if there is a tool, that displays me the order in which files are >> read by a process. > I'm not sure but you may want to check into strace. It may be what you > are looking for. strace fills the bill if you know what process (or its children) you want to watch, and you can start that process manually. If you don't know what process you want to watch, or there are a set of unrelated processes, strace isn't very useful. In that case you can use systemtap to monitor open operations on a particular file. It takes a bit more work to use systemtap than it does to use strace, but in many ways it's a lot more flexible and powerful: http://sourceware.org/systemtap/ -- Grant Edwards grant.b.edwards Yow! And then we could sit at on the hoods of cars at gmail.com stop lights! ^ permalink raw reply [flat|nested] 36+ messages in thread
end of thread, other threads:[~2010-10-02 15:42 UTC | newest] Thread overview: 36+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-10-01 15:29 [gentoo-user] oder of files opened by a process Al 2010-10-01 16:29 ` Dale 2010-10-01 17:00 ` Darren Kirby 2010-10-02 15:41 ` David Relson 2010-10-01 17:25 ` Al 2010-10-01 17:51 ` [gentoo-user] " walt 2010-10-01 19:05 ` Paul Hartman 2010-10-01 18:14 ` [gentoo-user] " Dale 2010-10-01 18:38 ` Al 2010-10-01 19:07 ` Dale 2010-10-01 19:19 ` Al 2010-10-01 20:37 ` Volker Armin Hemmann 2010-10-01 20:48 ` Al 2010-10-01 18:36 ` [gentoo-user] " Grant Edwards 2010-10-01 18:47 ` Al 2010-10-01 18:56 ` Grant Edwards 2010-10-01 19:01 ` Al 2010-10-01 19:16 ` Dale 2010-10-01 19:23 ` Al 2010-10-01 19:38 ` Grant Edwards 2010-10-01 20:37 ` Al 2010-10-01 19:26 ` Grant Edwards 2010-10-01 19:33 ` Florian CROUZAT 2010-10-01 19:45 ` Al 2010-10-01 19:59 ` Grant Edwards 2010-10-01 20:39 ` Volker Armin Hemmann 2010-10-01 21:07 ` Grant Edwards 2010-10-01 19:35 ` Darren Kirby 2010-10-01 19:41 ` Al 2010-10-01 19:52 ` Darren Kirby 2010-10-01 20:07 ` Al 2010-10-01 20:36 ` Darren Kirby 2010-10-01 22:06 ` Al 2010-10-01 21:01 ` Grant Edwards 2010-10-01 21:13 ` Al 2010-10-01 18:35 ` Grant Edwards
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox