View previous topic :: View next topic |
Author |
Message |
t011 Tux's lil' helper
Joined: 05 Sep 2002 Posts: 102
|
Posted: Mon May 12, 2003 7:10 pm Post subject: Anybody know what this command in ps is? -:0 |
|
|
I think this is probably a pretty trivial question. But I haven't been able to answer it despite searching. When I run the command "ps -ax" in a terminal, I get a long list of the commands running on my machine. The vast majority make sense to me. One of the commands, with a PID of 8048, lists the command as -:0
I have no idea what this is, or how to figure that out. Anyone, have an idea? If I had to guess, I think it has something to do with X. Thanks. |
|
Back to top |
|
|
prolific Apprentice
Joined: 19 Apr 2002 Posts: 237
|
Posted: Mon May 12, 2003 7:37 pm Post subject: |
|
|
I think its X running on display 0.. When i use vnc to connect to my home computer, i start it up on display 1 .. |
|
Back to top |
|
|
sa Guru
Joined: 10 Jun 2002 Posts: 450
|
Posted: Mon May 12, 2003 8:28 pm Post subject: |
|
|
you might like pstree.
for instance: if I run "ps ax"
Code: | ...
1427 ? SL 1:00 /usr/X11R6/bin/X -auth/var/run/xauth/A:0-bHljfB
1428 ? S 0:00 -:0
1500 ? S 0:00 /usr/bin/gnome-session
...
|
-:0 seems to be pid 1428.
so you can run "pstree -ap"
Code: | ...
├─kdm,1425
│ ├─X,1427 -auth /var/run/xauth/A:0-bHljfB
│ └─kdm,1428
│ └─gnome-session,1500
...
|
which shows pid 1428 as kdm.
hth,
sa |
|
Back to top |
|
|
t011 Tux's lil' helper
Joined: 05 Sep 2002 Posts: 102
|
Posted: Mon May 12, 2003 9:11 pm Post subject: |
|
|
Yeah, thanks, that does help. I didn't think it was anything to be worried about (i.e. trojan, spyware). But I didn't like not knowing what it was. Thanks. |
|
Back to top |
|
|
|