public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] accessing a bash
@ 2009-02-05 16:04 Jon Hardcastle
  2009-02-05 16:12 ` Volker Armin Hemmann
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jon Hardcastle @ 2009-02-05 16:04 UTC (permalink / raw
  To: gentoo-user

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: Jon@eHardcastle.com
'..Be fearful when others are greedy, and be greedy when others are fearful.'
-----------------------



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] accessing a bash
  2009-02-05 16:04 [gentoo-user] accessing a bash Jon Hardcastle
@ 2009-02-05 16:12 ` Volker Armin Hemmann
  2009-02-05 16:15 ` Andrey Falko
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Volker Armin Hemmann @ 2009-02-05 16:12 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] accessing a bash
  2009-02-05 16:04 [gentoo-user] accessing a bash Jon Hardcastle
  2009-02-05 16:12 ` Volker Armin Hemmann
@ 2009-02-05 16:15 ` Andrey Falko
  2009-02-05 18:33 ` [gentoo-user] " Nikos Chantziaras
  2009-02-06 20:37 ` [gentoo-user] " Dan Wallis
  3 siblings, 0 replies; 5+ messages in thread
From: Andrey Falko @ 2009-02-05 16:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 431 bytes --]

On Thu, Feb 5, 2009 at 8:04 AM, Jon Hardcastle <jd_hardcastle@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?
>

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.

[-- Attachment #2: Type: text/html, Size: 862 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user]  Re: accessing a bash
  2009-02-05 16:04 [gentoo-user] accessing a bash Jon Hardcastle
  2009-02-05 16:12 ` Volker Armin Hemmann
  2009-02-05 16:15 ` Andrey Falko
@ 2009-02-05 18:33 ` Nikos Chantziaras
  2009-02-06 20:37 ` [gentoo-user] " Dan Wallis
  3 siblings, 0 replies; 5+ messages in thread
From: Nikos Chantziaras @ 2009-02-05 18:33 UTC (permalink / raw
  To: gentoo-user

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?
> 
> Thanks.

Give us the output of "ps aux | grep bash" and we might be able to tell 
what it does.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] accessing a bash
  2009-02-05 16:04 [gentoo-user] accessing a bash Jon Hardcastle
                   ` (2 preceding siblings ...)
  2009-02-05 18:33 ` [gentoo-user] " Nikos Chantziaras
@ 2009-02-06 20:37 ` Dan Wallis
  3 siblings, 0 replies; 5+ messages in thread
From: Dan Wallis @ 2009-02-06 20:37 UTC (permalink / raw
  To: gentoo-user

On 05/02/2009, Jon Hardcastle <jd_hardcastle@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.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-02-06 20:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-05 16:04 [gentoo-user] accessing a bash Jon Hardcastle
2009-02-05 16:12 ` Volker Armin Hemmann
2009-02-05 16:15 ` Andrey Falko
2009-02-05 18:33 ` [gentoo-user] " Nikos Chantziaras
2009-02-06 20:37 ` [gentoo-user] " Dan Wallis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox