hallo leute, wie so oft frage ich mich, woher eigentlich die load kommt, die ich mit "w", "uptime" oder "top" sehen kann. hier habe ich zum beispiel eine kiste, die seit tagen auf 1.00 steht: rein:~# uptime 09:50:25 up 83 days, 22:01, 1 user, load average: 1.00, 1.00, 1.00 top zeigt nix ungewohliches und vmstat meldet auch nur idle: top - 09:47:13 up 83 days, 21:57, 1 user, load average: 1.00, 1.00, 1.00 Tasks: 60 total, 1 running, 59 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.0%sy, 0.0%ni, 99.3%id, 0.0%wa, 0.0%hi, 0.7%si, 0.0%st Mem: 386836k total, 365108k used, 21728k free, 88756k buffers Swap: 1973152k total, 136k used, 1973016k free, 164972k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1607 root 16 0 2192 1064 840 R 0.7 0.3 0:00.05 top 1 root 16 0 1584 464 404 S 0.0 0.1 0:03.49 init 2 root 34 19 0 0 0 S 0.0 0.0 0:00.84 ksoftirqd/0 3 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 4 root 10 -5 0 0 0 S 0.0 0.0 0:00.79 events/0 5 root 10 -5 0 0 0 S 0.0 0.0 0:00.02 khelper 6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread 8 root 10 -5 0 0 0 S 0.0 0.0 0:00.12 kblockd/0 9 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid 104 root 15 0 0 0 0 S 0.0 0.0 0:01.18 pdflush 105 root 15 0 0 0 0 S 0.0 0.0 0:04.27 pdflush 107 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0 106 root 15 0 0 0 0 S 0.0 0.0 0:05.36 kswapd0 695 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 kseriod 1459 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khubd 1759 root 15 0 0 0 0 S 0.0 0.0 0:28.34 kjournald 1879 root 14 -4 1808 600 428 S 0.0 0.2 0:00.70 udevd 2641 root 20 0 0 0 0 S 0.0 0.0 0:00.00 shpchpd_event 2644 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kpsmoused 3150 root 16 0 2320 1236 348 S 0.0 0.3 0:00.18 klogd 3167 root 16 0 1892 400 300 S 0.0 0.1 0:00.00 gpm 3172 root 19 0 1576 340 284 S 0.0 0.1 0:00.00 inetd 3231 root 16 0 5088 1664 1388 S 0.0 0.4 0:02.35 master 3239 postfix 16 0 4436 1540 1252 S 0.0 0.4 0:01.63 qmgr 3242 root 18 0 6340 3356 1812 S 0.0 0.9 0:00.10 snmpd 3251 daemon 16 0 1584 384 320 S 0.0 0.1 0:00.01 uptimed 3258 root 16 0 4920 3032 596 S 0.0 0.8 0:00.10 xfs 3350 root 22 0 2888 672 196 S 0.0 0.2 0:00.00 S20xprint 3351 root 22 0 2888 872 396 S 0.0 0.2 0:00.00 S20xprint 3352 root 18 0 11800 3260 1120 S 0.0 0.8 0:00.15 Xprt 3355 root 19 0 2888 788 312 S 0.0 0.2 0:00.00 S20xprint 3404 daemon 16 0 1768 368 280 S 0.0 0.1 0:00.00 atd 3407 root 16 0 1824 648 532 S 0.0 0.2 0:01.14 cron 3415 root 16 0 1580 488 424 S 0.0 0.1 0:00.05 getty 3417 root 16 0 1584 492 424 S 0.0 0.1 0:00.00 getty 3418 root 16 0 1580 488 424 S 0.0 0.1 0:00.00 getty 3421 root 16 0 1584 492 424 S 0.0 0.1 0:00.00 getty 3422 root 16 0 1580 488 424 S 0.0 0.1 0:00.00 getty 3451 root 16 0 1876 668 444 S 0.0 0.2 0:03.52 smartd 17247 root 16 0 2332 792 656 S 0.0 0.2 0:23.90 syslogd 23263 root 22 0 1584 520 436 D 0.0 0.1 0:00.01 modprobe 20258 root 20 0 15816 9.8m 3440 S 0.0 2.6 0:56.54 asterisk 26259 root 16 0 1580 484 424 S 0.0 0.1 0:00.00 getty 26477 uucp 16 0 4452 1428 1184 S 0.0 0.4 0:00.00 faxq 26479 uucp 16 0 4856 1328 1108 S 0.0 0.3 0:00.00 hfaxd 32253 root 16 0 4416 984 708 S 0.0 0.3 0:04.73 sshd 11688 uucp 16 0 20008 1600 1224 S 0.0 0.4 0:00.02 c2faxrecv 12796 root 16 0 4396 1996 1664 S 0.0 0.5 0:00.05 apache 602 www-data 15 0 4528 1300 892 S 0.0 0.3 0:00.00 apache 603 www-data 16 0 4528 852 508 S 0.0 0.2 0:00.00 apache 604 www-data 17 0 4528 852 508 S 0.0 0.2 0:00.00 apache 605 www-data 16 0 4528 968 592 S 0.0 0.3 0:00.00 apache rein:~# vmstat 2 procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 3 0 136 21728 88760 164980 0 0 1 4 2 5 0 1 99 0 0 0 136 21728 88760 164980 0 0 0 36 1219 214 0 1 99 0 0 0 136 21728 88760 164980 0 0 0 0 1101 202 0 2 98 0 0 0 136 21728 88760 164980 0 0 0 0 1141 195 0 0 100 0 0 0 136 21728 88760 164980 0 0 0 10 1088 198 0 1 99 0 also warum meldet die kiste immer eine load von 1.00? das ist ein debian sarge mit 2.6.16-2-686 (aus deb). gruss thomas -- thomas balsfulland tbals@ctrl-c.de zwischen mut und dummheit liegt nur ein grat der sich durch das vorbereitetsein unterscheidet
Teilnehmer (2)
-
Jan-Benedict Glaw
-
Thomas Balsfulland