Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Anybody know what this command in ps is? -:0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
t011
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2002
Posts: 102

PostPosted: Mon May 12, 2003 7:10 pm    Post subject: Anybody know what this command in ps is? -:0 Reply with quote

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
View user's profile Send private message
prolific
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 237

PostPosted: Mon May 12, 2003 7:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
sa
Guru
Guru


Joined: 10 Jun 2002
Posts: 450

PostPosted: Mon May 12, 2003 8:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
t011
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2002
Posts: 102

PostPosted: Mon May 12, 2003 9:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum