top

Chai Harjo (h9304021@student.anu.edu.au)
Wed, 8 Nov 1995 23:04:57 +1100


Why do I get this messy top with linux 1.3.37 and 1.3.38?
I jumped from 1.2.13 to 1.3.37, never tried other 1.3.x kernels.
Why all the SIZE in 1.3.37 for "root" is so big, while in 1.2.13 is small?
Why all the NI is -5 in 1.3.37, while 0 in 1.2.13?
Could someone tell me what is wrong?

Linux kernel 1.2.13
-------------------
7:27pm up 10 min, 2 users, load average: 0.08, 0.11, 0.05
20 processes: 19 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 6.0% user, 7.7% system, 0.0% nice, 86.3% idle
Mem: 7032K av, 6904K used, 128K free, 5408K shrd, 2360K buff
Swap: 20476K av, 0K used, 20476K free

PID USER PRI NI SIZE RES SHRD STAT %CPU %MEM TIME COMMAND
163 chai 20 0 86 452 488 R 13.7 6.4 0:00 top
1 root 1 0 56 340 412 S 0.0 4.8 0:00 init [5]
89 ua 1 0 166 640 592 S 0.0 9.1 0:01 -tcsh
149 ua 1 0 63 428 488 S 0.0 6.0 0:00 telnet
47 root 1 0 45 348 420 S 0.0 4.9 0:00 /usr/sbin/crond -l10
6 root 1 0 35 284 464 S 0.0 4.0 0:00 bdflush (daemon)
7 root 1 0 35 284 464 S 0.0 4.0 0:00 update (bdflush)
61 root 1 0 53 372 420 S 0.0 5.2 0:00 /usr/sbin/syslogd
63 root 1 0 44 344 408 S 0.0 4.8 0:00 /usr/sbin/klogd
67 root 1 0 62 368 424 S 0.0 5.2 0:00 /usr/sbin/inetd
85 root 1 0 107 608 588 S 0.0 8.6 0:00 sendmail: accepting
90 chai 1 0 117 652 668 S 0.0 9.2 0:01 -bash
91 root 1 0 52 304 396 S 0.0 4.3 0:00 /sbin/agetty 38400 t
92 root 1 0 52 304 396 S 0.0 4.3 0:00 /sbin/agetty 38400 t
93 root 1 0 52 304 396 S 0.0 4.3 0:00 /sbin/agetty 38400 t
94 root 1 0 52 304 396 S 0.0 4.3 0:00 /sbin/agetty 38400 t
95 root 1 0 42 368 444 S 0.0 5.2 0:00 gpm -t ms
113 ua 1 0 48 228 324 S 0.0 3.2 0:00 addr_server 7880
114 ua 1 0 1316 1700 592 S 0.0 24.1 0:13 driver cfg
117 ua 1 0 88 216 304 S 0.0 3.0 0:00 /home/ua/ua2/ftpd -b

Linux kernel 1.3.37
-------------------
7:35pm up 4 min, 2 users, load average: 0.70, 0.29, 0.12
18 processes: 17 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 1.6% user, 10.9% system, 0.0% nice, 87.4% idle
Mem: 7032K av, 6864K used, 168K free, 4752K shrd, 3264K buff
Swap: 20476K av, 52K used, 20424K free

PID USER PRI NI SIZE RES SHRD STAT %CPU %MEM TIME COMMAND
128 chai 23 -5 131146 452 296 R < 12.6 6.4 0:00 top
1 root 11 -5 131136 324 220 S < 0.0 4.6 0:01 init [5]
84 ua 11 -5 131427 628 384 S < 0.0 8.9 0:00 -tcsh
47 root 11 -5 131128 344 232 S < 0.0 4.8 0:00 /usr/sbin/crond
-l10
6 root 11 -5 131112 268 260 S < 0.0 3.8 0:00 bdflush (daemon)
7 root 11 -5 131112 272 260 S < 0.0 3.8 0:00 update (bdflush)
61 root 11 -5 131129 348 236 S < 0.0 4.9 0:00 /usr/sbin/syslogd
63 root 11 -5 131119 320 224 S < 0.0 4.5 0:00 /usr/sbin/klogd
67 root 11 -5 131148 324 208 S < 0.0 4.6 0:00 /usr/sbin/inetd
80 root 11 -5 131305 584 388 S < 0.0 8.3 0:00 sendmail: accepting
85 chai 13 -5 131473 652 472 S < 0.0 9.2 0:00 -bash
86 root 11 -5 131126 296 200 S < 0.0 4.2 0:00 /sbin/agetty
38400 t
87 root 11 -5 131126 296 200 S < 0.0 4.2 0:00 /sbin/agetty
38400 t
88 root 11 -5 131126 296 200 S < 0.0 4.2 0:00 /sbin/agetty
38400 t
89 root 11 -5 131126 296 200 S < 0.0 4.2 0:00 /sbin/agetty
38400 t
90 root 11 -5 131136 336 216 S < 0.0 4.7 0:00 gpm -t ms
114 ua 13 -5 964 1156 548 S < 0.0 16.4 0:04 driver cfg
118 ua 11 -5 80 216 124 S < 0.0 3.0 0:00 /home/ua/ua2/ftpd -b

Thank You

Chai Harjo