"ps ef" and "ps aux" not displaying all of the processes in redhat 7.2

"ps ef" and "ps aux" not displaying all of the processes in redhat 7.2

Post by Loyd Bitt » Thu, 01 Aug 2002 03:07:11



"ps ef" does not work at all, and "ps aux" does not give me all of the
processes.  Up until the middle of last week, all of this worked just
fine.

I am usisng the ps command as myself and as root.

Logged in as root with ps ef I get:


  PID TTY STAT TIME COMMAND
 1322   1 S    0:00 /sbin/mingetty tty1 HOME=/ TERM=linux
PATH=/usr/local/sbin:/
 1323   2 S    0:00 /sbin/mingetty tty2 HOME=/ TERM=linux
PATH=/usr/local/sbin:/
 1324   3 S    0:00 /sbin/mingetty tty3 HOME=/ TERM=linux
PATH=/usr/local/sbin:/
 1325   4 S    0:00 /sbin/mingetty tty4 HOME=/ TERM=linux
PATH=/usr/local/sbin:/
 1326   5 S    0:00 /sbin/mingetty tty5 HOME=/ TERM=linux
PATH=/usr/local/sbin:/
 1327   6 S    0:00 /sbin/mingetty tty6 HOME=/ TERM=linux
PATH=/usr/local/sbin:/
 4036  ?  S    0:00 db2wdog                                        
HOME=/home/d
 4038  ?  S    0:00 db2gds                                        
HOME=/home/d
 7598  ?  S    0:00 login -- lbittle
 7650  ?  S    0:00 su - PWD=/home/lbittle REMOTEHOST=191.10.20.76
HOSTNAME=linu
 8553  ?  R    0:00 ps ef PWD=/root HOSTNAME=linux2
DB2INSTANCE=db2inst1 LD_LIBR

logged in a myself I get:


  PID TTY STAT TIME COMMAND
 8628  ?  R    0:00 ps ef PWD=/home/lbittle REMOTEHOST=191.10.20.76
HOSTNAME=lin


Using top I get:

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 7962 root      19   0  1336 1336   836 R    10.3  0.2   0:03 top
 4739 root       9   0 85140  82M  5496 S     9.8 16.5   0:32 java
 1339 root      12   0 78736  12M  2732 S     1.2  2.4   0:40 X
 4366 root      10   0 70536  68M  4604 S     1.2 13.7   0:43 java
 4368 root       9   0 70536  68M  4604 S     0.3 13.7   0:06 java
 1583 root       9   0  3928 3928  2048 S     0.1  0.7   0:03 sawfish
 1607 root       9   0  5444 5444  4000 S     0.1  1.0   0:01 panel
 1721 root       9   0  4048 4048  3336 S     0.1  0.7   0:01
tasklist_applet
    1 root       8   0   520  520   452 S     0.0  0.1   0:04 init
    2 root       9   0     0    0     0 SW    0.0  0.0   0:00 keventd
    3 root       9   0     0    0     0 SW    0.0  0.0   0:00
kapm-idled
    4 root      19  19     0    0     0 SWN   0.0  0.0   0:00
ksoftirqd_CPU0
    5 root       9   0     0    0     0 SW    0.0  0.0   0:00 kswapd
    6 root       9   0     0    0     0 SW    0.0  0.0   0:00
kreclaimd
    7 root       9   0     0    0     0 SW    0.0  0.0   0:00 bdflush
    8 root       9   0     0    0     0 SW    0.0  0.0   0:00 kupdated
    9 root      -1 -20     0    0     0 SW<   0.0  0.0   0:00
mdrecoveryd

Notice the java process #4739, it does not show up using "ps ef" or
"ps aux".

I installed tcpdump and tcptrace on Friday, that was all of my
changes.

 
 
 

"ps ef" and "ps aux" not displaying all of the processes in redhat 7.2

Post by Jim Levi » Thu, 01 Aug 2002 07:35:19



> "ps ef" does not work at all, and "ps aux" does not give me all of the
> processes.  Up until the middle of last week, all of this worked just
> fine.

> I am usisng the ps command as myself and as root.

> Logged in as root with ps ef I get:

I think what you want is 'ps -ef' not 'ps ef'.
--
The instructions said to use Windows 98 or better, so I installed RedHat.

 
 
 

"ps ef" and "ps aux" not displaying all of the processes in redhat 7.2

Post by Mark Taylo » Thu, 01 Aug 2002 08:50:50




> "ps ef" does not work at all, and "ps aux" does not give me all of the
> processes.  Up until the middle of last week, all of this worked just
> fine.

> I am usisng the ps command as myself and as root.

> Logged in as root with ps ef I get:


>   PID TTY STAT TIME COMMAND
>  1322   1 S    0:00 /sbin/mingetty tty1 HOME=/ TERM=linux
> PATH=/usr/local/sbin:/
>  1323   2 S    0:00 /sbin/mingetty tty2 HOME=/ TERM=linux
> PATH=/usr/local/sbin:/
>  1324   3 S    0:00 /sbin/mingetty tty3 HOME=/ TERM=linux
> PATH=/usr/local/sbin:/
>  1325   4 S    0:00 /sbin/mingetty tty4 HOME=/ TERM=linux
> PATH=/usr/local/sbin:/
>  1326   5 S    0:00 /sbin/mingetty tty5 HOME=/ TERM=linux
> PATH=/usr/local/sbin:/
>  1327   6 S    0:00 /sbin/mingetty tty6 HOME=/ TERM=linux
> PATH=/usr/local/sbin:/
>  4036  ?  S    0:00 db2wdog                                        
> HOME=/home/d
>  4038  ?  S    0:00 db2gds                                        
> HOME=/home/d
>  7598  ?  S    0:00 login -- lbittle
>  7650  ?  S    0:00 su - PWD=/home/lbittle REMOTEHOST=191.10.20.76
> HOSTNAME=linu
>  8553  ?  R    0:00 ps ef PWD=/root HOSTNAME=linux2
> DB2INSTANCE=db2inst1 LD_LIBR

> logged in a myself I get:


>   PID TTY STAT TIME COMMAND
>  8628  ?  R    0:00 ps ef PWD=/home/lbittle REMOTEHOST=191.10.20.76
> HOSTNAME=lin


> Using top I get:

>   PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
>  7962 root      19   0  1336 1336   836 R    10.3  0.2   0:03 top
>  4739 root       9   0 85140  82M  5496 S     9.8 16.5   0:32 java
>  1339 root      12   0 78736  12M  2732 S     1.2  2.4   0:40 X
>  4366 root      10   0 70536  68M  4604 S     1.2 13.7   0:43 java
>  4368 root       9   0 70536  68M  4604 S     0.3 13.7   0:06 java
>  1583 root       9   0  3928 3928  2048 S     0.1  0.7   0:03 sawfish
>  1607 root       9   0  5444 5444  4000 S     0.1  1.0   0:01 panel
>  1721 root       9   0  4048 4048  3336 S     0.1  0.7   0:01
> tasklist_applet
>     1 root       8   0   520  520   452 S     0.0  0.1   0:04 init
>     2 root       9   0     0    0     0 SW    0.0  0.0   0:00 keventd
>     3 root       9   0     0    0     0 SW    0.0  0.0   0:00
> kapm-idled
>     4 root      19  19     0    0     0 SWN   0.0  0.0   0:00
> ksoftirqd_CPU0
>     5 root       9   0     0    0     0 SW    0.0  0.0   0:00 kswapd
>     6 root       9   0     0    0     0 SW    0.0  0.0   0:00
> kreclaimd
>     7 root       9   0     0    0     0 SW    0.0  0.0   0:00 bdflush
>     8 root       9   0     0    0     0 SW    0.0  0.0   0:00 kupdated
>     9 root      -1 -20     0    0     0 SW<   0.0  0.0   0:00
> mdrecoveryd

> Notice the java process #4739, it does not show up using "ps ef" or
> "ps aux".

> I installed tcpdump and tcptrace on Friday, that was all of my
> changes.

Should be ps -ef
How about ps -Al

Mark

-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
   http://www.newsfeed.com       The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----

 
 
 

"ps ef" and "ps aux" not displaying all of the processes in redhat 7.2

Post by Scott R. Godi » Mon, 09 Sep 2002 05:02:17




>> "ps ef" does not work at all, and "ps aux" does not give me all of the
>> processes.  Up until the middle of last week, all of this worked just
>> fine.

>> I am usisng the ps command as myself and as root.

>> Logged in as root with ps ef I get:

> I think what you want is 'ps -ef' not 'ps ef'.

yup, ps -ef and ps -aux (and possibly ps -auxww)

pstree and ps -awufx are also interesting.

 
 
 

"ps ef" and "ps aux" not displaying all of the processes in redhat 7.2

Post by ujay » Mon, 09 Sep 2002 08:35:06





>>>"ps ef" does not work at all, and "ps aux" does not give me all of the
>>>processes.  Up until the middle of last week, all of this worked just
>>>fine.

>>>I am usisng the ps command as myself and as root.

>>>Logged in as root with ps ef I get:

>>I think what you want is 'ps -ef' not 'ps ef'.

> yup, ps -ef and ps -aux (and possibly ps -auxww)

> pstree and ps -awufx are also interesting.

to get all processes, use 'ps -Aef'