Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ps output question



Maybe I should rephrase the question, does anybody know why one invocation reports all processes as swapped out while the other does not?

Even if to point out my stupidity, any information is appreciated.

Sarton


Sarton O'Brien wrote:
I'm quite tired so maybe I overlooked something in the docs but should the STAT column in the following invocations be so different?

$ ps axs
UID PID PPID CPU LID NLWP PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND 0 0 0 0 31 22 96 0 0 13680 nfsiod DWL- ? 0:26.44 [system] 0 0 0 0 30 22 96 0 0 13680 nfsiod DWL- ? 0:26.44 [system] 0 0 0 0 29 22 96 0 0 13680 nfsiod DWL- ? 0:26.44 [system] 0 0 0 0 28 22 96 0 0 13680 nfsiod DWL- ? 0:26.44 [system] 0 0 0 0 27 22 123 0 0 13680 physiod DWL- ? 0:26.44 [system] 0 0 0 0 26 22 125 0 0 13680 vmem_reh DWL- ? 0:26.44 [system] 0 0 0 0 25 22 125 0 0 13680 aiodoned DWL- ? 0:26.44 [system] 0 0 0 0 24 22 124 0 0 13680 syncer DWL- ? 0:26.44 [system] 0 0 0 0 23 22 126 0 0 13680 pgdaemon DWL- ? 0:26.44 [system] 0 0 0 0 22 22 96 0 0 13680 crypto_w DWL- ? 0:26.44 [system] 0 0 0 0 21 22 96 0 0 13680 rdst DWL- ? 0:26.44 [system] 0 0 0 0 20 22 96 0 0 13680 evtsq DWL- ? 0:26.44 [system] 0 0 0 0 10 22 96 0 0 13680 pmfevent DWL- ? 0:26.44 [system] 0 0 0 0 9 22 125 0 0 13680 cachegc DWL- ? 0:26.44 [system] 0 0 0 0 8 22 125 0 0 13680 vrele DWL- ? 0:26.44 [system] 0 0 0 0 7 22 127 0 0 13680 xcall DWL- ? 0:26.44 [system] 0 0 0 0 6 22 223 0 0 13680 - RWL- ? 0:26.44 [system] 0 0 0 0 5 22 220 0 0 13680 - RWL- ? 0:26.44 [system] 0 0 0 0 4 22 221 0 0 13680 - RWL- ? 0:26.44 [system] 0 0 0 0 3 22 222 0 0 13680 - RWL- ? 0:26.44 [system] 0 0 0 0 2 22 0 0 0 13680 - RWL- ? 0:26.44 [system] 0 0 0 0 1 22 125 0 0 13680 schedule DW ? 0:26.44 [system] 0 1 0 0 1 1 85 0 748 4 wait DW ? 0:00.01 init 0 102 1 0 1 1 43 0 752 940 select DW ? 0:00.29 /usr/sbin/ypbind 0 106 1 0 1 1 85 0 756 384 kqueue DW ? 0:00.05 /usr/sbin/syslogd -s 0 131 1 0 1 1 43 0 876 256 select DW ? 0:00.05 /usr/sbin/rpcbind -l 0 188 1 0 1 1 43 0 756 256 select DW ? 0:00.04 /usr/sbin/rpc.statd 0 196 1 0 1 1 43 0 756 268 select DW ? 0:00.04 /usr/sbin/rpc.lockd 0 238 1 0 1 1 85 0 1780 5528 pause DW ? 0:01.23 /usr/sbin/ntpd 0 249 1 0 1 1 85 0 744 4 kqueue DW ? 0:00.00 /usr/sbin/powerd 0 264 1 0 1 1 43 0 1060 1712 select DW ? 0:00.11 /usr/pkg/sbin/nmbd -D 0 274 1 0 1 1 43 0 764 1380 select DW ? 0:00.00 /usr/sbin/sshd 0 280 1 0 1 1 43 0 4132 4 select DW ? 0:00.02 /usr/pkg/sbin/smbd -D 0 301 280 0 1 1 85 0 4132 4 pause DW ? 0:00.00 /usr/pkg/sbin/smbd -D 12 405 414 0 1 1 85 0 752 4 kqueue DW ? 0:00.07 qmgr -l -t unix -u 0 414 1 0 1 1 85 0 752 632 kqueue DW ? 0:00.11 /usr/libexec/postfix/master 0 463 280 0 1 1 43 0 4132 892 select DW ? 0:00.24 /usr/pkg/sbin/smbd -D 0 471 1 0 1 1 85 0 752 4 nanoslp DW ? 0:00.06 /usr/sbin/cron 1000 556 691 0 1 1 43 0 824 2920 - RW ? 0:00.01 sshd: roguetr@ttyp0 12 573 414 0 1 1 85 0 752 624 kqueue DW ? 0:00.05 pickup -l -t fifo -u 0 691 274 0 1 1 85 0 824 3640 netio DW ? 0:00.04 sshd: roguetr [priv] 1000 688 556 0 1 1 85 0 748 1096 pause DW ttyp0 0:00.01 -ksh 1000 689 688 0 1 1 43 0 748 800 - RW ttyp0 0:00.00 ps -axs 0 340 1 0 1 1 85 0 748 4 tty DW xencons 0:00.00 /usr/libexec/getty Pc console 1006 447 1 0 2 2 24 19 7904 47044 parked DW- xencons- 2:54.74 /usr/pkg/libexec/mldonkey/mlnet -pid /var/run/mldonkey 1006 447 1 0 1 2 76 19 7904 47044 biowait DW xencons- 2:54.74 /usr/pkg/libexec/mldonkey/mlnet -pid /var/run/mldonkey

$ ps axl
UID PID PPID CPU PRI NI  VSZ   RSS WCHAN    STAT TTY         TIME COMMAND
0 0 0 0 125 0 0 13676 schedule DKl ? 0:26.46 [system]
  0   1    0   0  85  0  748     4 wait     IWs  ?        0:00.01 init
0 102 1 0 43 0 752 940 select Ss ? 0:00.29 /usr/sbin/ypbind 0 106 1 0 85 0 756 384 kqueue Ss ? 0:00.05 /usr/sbin/syslogd -s 0 131 1 0 43 0 876 256 select Is ? 0:00.05 /usr/sbin/rpcbind -l 0 188 1 0 43 0 756 256 select Is ? 0:00.04 /usr/sbin/rpc.statd 0 196 1 0 43 0 756 268 select Ss ? 0:00.04 /usr/sbin/rpc.lockd 0 238 1 0 85 0 1780 5528 pause Ss ? 0:01.23 /usr/sbin/ntpd 0 249 1 0 85 0 744 4 kqueue IWs ? 0:00.00 /usr/sbin/powerd 0 264 1 0 43 0 1060 1712 select Ss ? 0:00.11 /usr/pkg/sbin/nmbd -D 0 274 1 0 43 0 764 1380 select Ss ? 0:00.00 /usr/sbin/sshd 0 280 1 0 43 0 4132 4 select IWs ? 0:00.02 /usr/pkg/sbin/smbd -D 0 301 280 0 85 0 4132 4 pause IW ? 0:00.00 /usr/pkg/sbin/smbd -D 12 405 414 0 85 0 752 4 kqueue IW ? 0:00.07 qmgr -l -t unix -u 0 414 1 0 85 0 752 632 kqueue Is ? 0:00.11 /usr/libexec/postfix/master 0 463 280 0 43 0 4132 892 select S ? 0:00.24 /usr/pkg/sbin/smbd -D 0 471 1 0 85 0 752 4 nanoslp IWs ? 0:00.06 /usr/sbin/cron 1000 556 691 0 43 0 824 2920 - S ? 0:00.01 sshd: roguetr@ttyp0 12 573 414 0 85 0 752 624 kqueue I ? 0:00.05 pickup -l -t fifo -u 0 691 274 0 85 0 824 3640 netio Ss ? 0:00.04 sshd: roguetr [priv]
1000 688  556   0  85  0  748  1096 pause    Ss   ttyp0    0:00.01 -ksh
1000 713 688 0 43 0 748 800 - R+ ttyp0 0:00.00 ps -axl 0 340 1 0 85 0 748 4 tty IWs+ xencons 0:00.00 /usr/libexec/getty Pc console 1006 447 1 0 24 19 7904 47044 select SNl xencons- 2:54.83 /usr/pkg/libexec/mldonkey/mlnet -pid /var/run/mldonkey


$ uname -a
NetBSD babylon.internal 4.99.60 NetBSD 4.99.60 (XEN3_DOMU) #0: Sun Apr 20 14:16:18 EST 2008 root%spike.internal@localhost:/usr/obj/sys/arch/i386/compile/XEN3_DOMU i386


Sarton



Home | Main Index | Thread Index | Old Index