Web Hosting Talk







View Full Version : Question about telnet 'top'


Addict
09-20-2001, 12:32 PM
I am wondering if someone can help me understand some of thes lines...

Printout from 'top'
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
7007 root 13 0 904 904 680 R 0 2.5 0.3 0:03 top
1 root 0 0 476 476 404 S 0 0.0 0.1 0:04 init
2 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kflushd
3 root 0 0 0 0 0 SW 0 0.0 0.0 0:05 kupdate
4 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kpiod
5 root 0 0 0 0 0 SW 0 0.0 0.0 0:01 kswapd
6 root -20 -20 0 0 0 SW< 0 0.0 0.0 0:00 mdrecoveryd
298 root 0 0 476 472 376 S 0 0.0 0.1 2:51 syslogd
307 root 0 0 684 680 304 S 0 0.0 0.2 0:00 klogd
337 root 0 0 568 564 460 S 0 0.0 0.2 0:00 crond
349 root 0 0 444 440 372 S 0 0.0 0.1 0:19 inetd
358 root 0 0 14436 13M 11152 S 0 0.0 5.3 0:44 httpd
461 postgres 5 5 2036 2036 956 S N 0 0.0 0.7 0:23 postmaster
539 root 0 0 820 820 600 S 0 0.0 0.3 0:00 caspd
540 root 0 0 820 820 600 S 0 0.0 0.3 0:00 caspd
541 root 0 0 820 820 600 S 0 0.0 0.3 0:01 caspd
544 root 0 0 9528 9528 3596 S 0 0.0 3.6 0:00 caspeng

What does the "6 root -20 -20 0 0 0 SW 0 0.0 0.0 0:00 mdrecoveryd" line say?

I guess I dont understand the -20's and myrecoveryd

Thank for your help.

Also, is there a guide online to help me understand the listings in TOP?

TIA!

Addict

jtan15
09-20-2001, 07:27 PM
Originally posted by Addict
I am wondering if someone can help me understand some of thes lines...

Printout from 'top'
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
7007 root 13 0 904 904 680 R 0 2.5 0.3 0:03 top
1 root 0 0 476 476 404 S 0 0.0 0.1 0:04 init
2 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kflushd
3 root 0 0 0 0 0 SW 0 0.0 0.0 0:05 kupdate
4 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kpiod
5 root 0 0 0 0 0 SW 0 0.0 0.0 0:01 kswapd
6 root -20 -20 0 0 0 SW< 0 0.0 0.0 0:00 mdrecoveryd
298 root 0 0 476 472 376 S 0 0.0 0.1 2:51 syslogd
307 root 0 0 684 680 304 S 0 0.0 0.2 0:00 klogd
337 root 0 0 568 564 460 S 0 0.0 0.2 0:00 crond
349 root 0 0 444 440 372 S 0 0.0 0.1 0:19 inetd
358 root 0 0 14436 13M 11152 S 0 0.0 5.3 0:44 httpd
461 postgres 5 5 2036 2036 956 S N 0 0.0 0.7 0:23 postmaster
539 root 0 0 820 820 600 S 0 0.0 0.3 0:00 caspd
540 root 0 0 820 820 600 S 0 0.0 0.3 0:00 caspd
541 root 0 0 820 820 600 S 0 0.0 0.3 0:01 caspd
544 root 0 0 9528 9528 3596 S 0 0.0 3.6 0:00 caspeng

What does the "6 root -20 -20 0 0 0 SW 0 0.0 0.0 0:00 mdrecoveryd" line say?

Most of those commands all are fairly useful. The most useful are: the PID column, which shows the process ID of the task; the USER column, which shows which user is running the proces; the CPU% and MEM%, which show how much of the cpu and ram it is taking, and then of course the name of the process comes last.

BTW: All of this information and more can be found by running "man top". :)