Re: htop vs ps

2011-02-11 Thread Hugo Vanwoerkom
Camaleón wrote: On Fri, 11 Feb 2011 18:12:22 +, Camaleón wrote: On Fri, 11 Feb 2011 11:51:01 -0600, Hugo Vanwoerkom wrote: Except that the -H option of ps does *not* show the child PID's: (...) Hum... no, the "H" flag ("ps -AlH") should display the same number of processes than "ps -Al"

Re: htop vs ps

2011-02-11 Thread Camaleón
On Fri, 11 Feb 2011 18:12:22 +, Camaleón wrote: > On Fri, 11 Feb 2011 11:51:01 -0600, Hugo Vanwoerkom wrote: > >> Except that the -H option of ps does *not* show the child PID's: > > (...) > > Hum... no, the "H" flag ("ps -AlH") should display the same number of > processes than "ps -Al" *b

Re: htop vs ps

2011-02-11 Thread Camaleón
On Fri, 11 Feb 2011 11:51:01 -0600, Hugo Vanwoerkom wrote: > Camaleón wrote: >> Question then is what kind of PID is listing htop :-? >> >> (searching...) >> >> Oh, okay :-) >> >> Why does htop show lots of apache2 processes by ps aux doesn't? >> http://serverfault.com/questions/24198/why-does

Re: htop vs ps

2011-02-11 Thread Hugo Vanwoerkom
Camaleón wrote: On Fri, 11 Feb 2011 09:25:31 -0600, Hugo Vanwoerkom wrote: Camaleón wrote: You can also make use of the switches of "htop" like "s" to strace the misterious process :-? I asked on the apcupsd mailing list and it is normal for apcupsd to show that extra PID. Mysql does the

Re: htop vs ps

2011-02-11 Thread Hugo Vanwoerkom
Camaleón wrote: On Fri, 11 Feb 2011 09:25:31 -0600, Hugo Vanwoerkom wrote: Camaleón wrote: You can also make use of the switches of "htop" like "s" to strace the misterious process :-? I asked on the apcupsd mailing list and it is normal for apcupsd to show that extra PID. Mysql does the

Re: htop vs ps

2011-02-11 Thread Hugo Vanwoerkom
Camaleón wrote: On Thu, 10 Feb 2011 14:49:47 -0600, Hugo Vanwoerkom wrote: Camaleón wrote: that produces a blank: no ideas :-( Maybe because the process is already gone :-? Can you still see it under htop/top? Rebooted, new PIDs, apcupsd on htop has 2: 2594 and 2550 but ps only shows 2550

Re: htop vs ps

2011-02-11 Thread Camaleón
On Fri, 11 Feb 2011 09:25:31 -0600, Hugo Vanwoerkom wrote: > Camaleón wrote: >> You can also make use of the switches of "htop" like "s" to strace the >> misterious process :-? >> >> > I asked on the apcupsd mailing list and it is normal for apcupsd to show > that extra PID. Mysql does the sam

Re: htop vs ps

2011-02-11 Thread Hugo Vanwoerkom
Camaleón wrote: On Thu, 10 Feb 2011 14:49:47 -0600, Hugo Vanwoerkom wrote: Camaleón wrote: that produces a blank: no ideas :-( Maybe because the process is already gone :-? Can you still see it under htop/top? Rebooted, new PIDs, apcupsd on htop has 2: 2594 and 2550 but ps only shows 2550

Re: htop vs ps

2011-02-11 Thread Camaleón
On Thu, 10 Feb 2011 14:49:47 -0600, Hugo Vanwoerkom wrote: > Camaleón wrote: >>> that produces a blank: no ideas :-( >> >> Maybe because the process is already gone :-? >> >> Can you still see it under htop/top? > > Rebooted, new PIDs, apcupsd on htop has 2: 2594 and 2550 but ps only > shows 2

Re: htop vs ps

2011-02-10 Thread Hugo Vanwoerkom
Camaleón wrote: On Thu, 10 Feb 2011 13:33:18 -0600, Hugo Vanwoerkom wrote: Camaleón wrote: On Thu, 10 Feb 2011 12:48:44 -0600, Hugo Vanwoerkom wrote: When I look of apcupsd in htop I see 2 pids: 2632 + 2610 When I do: ~Thu Feb 10-12:47:03SDA6# ps -Al|grep apcupsd 1 S 0 2610 1 0 10

Re: htop vs ps

2011-02-10 Thread Camaleón
On Thu, 10 Feb 2011 13:33:18 -0600, Hugo Vanwoerkom wrote: > Camaleón wrote: >> On Thu, 10 Feb 2011 12:48:44 -0600, Hugo Vanwoerkom wrote: >> >>> When I look of apcupsd in htop I see 2 pids: 2632 + 2610 When I do: >>> >>> ~Thu Feb 10-12:47:03SDA6# ps -Al|grep apcupsd 1 S 0 2610 1 0 >>>

Re: htop vs ps

2011-02-10 Thread shawn wilson
On Feb 10, 2011 2:33 PM, "Hugo Vanwoerkom" wrote: > > Camaleón wrote: >> >> On Thu, 10 Feb 2011 12:48:44 -0600, Hugo Vanwoerkom wrote: >> >>> When I look of apcupsd in htop I see 2 pids: 2632 + 2610 When I do: >>> >>> ~Thu Feb 10-12:47:03SDA6# ps -Al|grep apcupsd 1 S 0 2610 1 0 100 0 -

Re: htop vs ps

2011-02-10 Thread Hugo Vanwoerkom
Camaleón wrote: On Thu, 10 Feb 2011 12:48:44 -0600, Hugo Vanwoerkom wrote: When I look of apcupsd in htop I see 2 pids: 2632 + 2610 When I do: ~Thu Feb 10-12:47:03SDA6# ps -Al|grep apcupsd 1 S 0 2610 1 0 100 0 - 11588 - ?00:00:02 apcupsd I only see 1 pid. Why the di

Re: htop vs ps

2011-02-10 Thread Camaleón
On Thu, 10 Feb 2011 12:48:44 -0600, Hugo Vanwoerkom wrote: > When I look of apcupsd in htop I see 2 pids: 2632 + 2610 When I do: > > ~Thu Feb 10-12:47:03SDA6# ps -Al|grep apcupsd > 1 S 0 2610 1 0 100 0 - 11588 - ?00:00:02 apcupsd > > I only see 1 pid. Why the difference