Re: [gentoo-user] accessing a bash

2009-02-06 Thread Dan Wallis
On 05/02/2009, Jon Hardcastle jd_hardcas...@yahoo.com wrote:
 Hey guys.. random Linux question.

 If i have a bash process running on my machine that i am not 'attatched' to
 is there anyway to access it and see what it is doing short of just killing
 it?

Take a look at app-misc/screen. Although you do need to remember to
start things inside a screen to begin with.



[gentoo-user] accessing a bash

2009-02-05 Thread Jon Hardcastle
Hey guys.. random Linux question.

If i have a bash process running on my machine that i am not 'attatched' to is 
there anyway to access it and see what it is doing short of just killing it?

Thanks.

---
N: Jon Hardcastle
E: j...@ehardcastle.com
'..Be fearful when others are greedy, and be greedy when others are fearful.'
---



Re: [gentoo-user] accessing a bash

2009-02-05 Thread Volker Armin Hemmann
On Donnerstag 05 Februar 2009, Jon Hardcastle wrote:
 Hey guys.. random Linux question.

 If i have a bash process running on my machine that i am not 'attatched' to
 is there anyway to access it and see what it is doing short of just killing
 it?


open files: lsof
everything else: strace



Re: [gentoo-user] accessing a bash

2009-02-05 Thread Andrey Falko
On Thu, Feb 5, 2009 at 8:04 AM, Jon Hardcastle jd_hardcas...@yahoo.comwrote:

 Hey guys.. random Linux question.

 If i have a bash process running on my machine that i am not 'attatched' to
 is there anyway to access it and see what it is doing short of just killing
 it?


Thanks.


See if it has a parent process by running pstree. It could be that you ran
something in console or that you su-ed at some other instance.