LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Alain Satre <alain@messagebay.com>
To : LinuxSA <linuxsa@linuxsa.org.au>
Date: Mon, 26 Feb 2001 12:36:14 -0800
ps question?
Hello all,
Can someone tell me how to change back my /bin/ps program to use 'ps
-ef' properly?
Im running redhat 6.2, and for most other machines I have, this is not
the same. I have to use ps -aux to gather all process info.
[root@embpc19 /]# ps -ef
PID TTY STAT TIME COMMAND
668 1 S 0:00 /sbin/mingetty tty1 HOME=/ TERM=linux
BOOT_IMAGE=linux AUTO
669 2 S 0:00 /sbin/mingetty tty2 HOME=/ TERM=linux
BOOT_IMAGE=linux AUTO
670 3 S 0:00 /sbin/mingetty tty3 HOME=/ TERM=linux
BOOT_IMAGE=linux AUTO
671 4 S 0:00 /sbin/mingetty tty4 HOME=/ TERM=linux
BOOT_IMAGE=linux AUTO
672 5 S 0:00 /sbin/mingetty tty5 HOME=/ TERM=linux
BOOT_IMAGE=linux AUTO
673 6 S 0:00 /sbin/mingetty tty6 HOME=/ TERM=linux
BOOT_IMAGE=linux AUTO
680 ? S 0:00 login -- alain
706 ? S 0:00 su - LESSOPEN=|/usr/bin/lesspipe.sh %s USERNAME=
HISTSIZE=1
707 ? S 0:00 \_ -bash TERM=xterm HOME=/root SHELL=/bin/bash
USER=root L
7679 ? R 0:00 \_ ps -ef LESSOPEN=|/usr/bin/lesspipe.sh %s
USERNAME=r
[root@embpc19 /]#
and somehow the correct output is accessible from the ps command 'ps
-aux'
[root@embpc19 /]# ps -aux
USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND
alain 683 0.0 0.1 1700 944 ? S 20:07 0:00 -bash
bin 400 0.0 0.0 1212 428 ? S 20:06 0:00 portmap
daemon 504 0.0 0.0 1144 496 ? S 20:06 0:00 /usr/sbin/atd
root 1 0.3 0.0 1120 476 ? S 20:05 0:05 init [3]
root 2 0.0 0.0 0 0 ? SW 20:05 0:00 (kflushd)
root 3 0.0 0.0 0 0 ? SW 20:05 0:00 (kupdate)
root 4 0.0 0.0 0 0 ? SW 20:05 0:00 (kpiod)
root 5 0.0 0.0 0 0 ? SW 20:05 0:00 (kswapd)
root 6 0.0 0.0 0 0 ? SW< 20:05 0:00 (mdrecoveryd)
root 415 0.0 0.0 0 0 ? SW 20:06 0:00 (lockd)
root 416 0.0 0.0 0 0 ? SW 20:06 0:00 (rpciod)
root 425 0.0 0.1 1156 560 ? S 20:06 0:00 rpc.statd
root 481 0.0 0.1 1172 540 ? S 20:06 0:00 syslogd -m 0
root 490 0.0 0.1 1476 808 ? S 20:06 0:00 klogd
...
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page