linux-mips
[Top] [All Lists]

loadavg calculation current cvs

To: linux-mips@linux-mips.org
Subject: loadavg calculation current cvs
From: Florian Lohoff <flo@rfc822.org>
Date: Sun, 17 Nov 2002 18:52:17 +0100
Organization: rfc822 - pure communication
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.3.28i
Could it be that somethings broken ? Although the machine is 
idle after booting the load is automatically at 1 - Some process
is getting counted in the loadavg although it shouldnt. This is 2.4cvs
2 days old.

remake:~# vmstat 1 10
   procs                      memory    swap          io     system         cpu
 r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us  sy  id
 0  0  1      0  20092   9476  86636   0   0    37    24   10   206   2   3  94
 0  0  1      0  20092   9476  86636   0   0     0     0    7   205   0   0 100
 0  0  1      0  20092   9476  86636   0   0     0     0    9   206   0   1  99
 0  0  1      0  20092   9476  86636   0   0     0     0   12   205   0   1  99
 0  0  1      0  20084   9484  86636   0   0     0    48   11   202   3   9  88
 0  0  1      0  20084   9484  86636   0   0     0     0    8   206   0   1  99
 0  0  1      0  20084   9484  86636   0   0     0     0    9   206   0   1  99
 0  0  1      0  20084   9484  86636   0   0     0     0   10   205   0   1  99
 0  0  1      0  20084   9484  86636   0   0     0     0   11   205   0   1  99
 0  0  1      0  20076   9492  86636   0   0     0    48    9   202   3   9  88
remake:~# uptime
 18:47:00 up 51 min,  1 user,  load average: 1.10, 1.13, 1.01
remake:~# ps auxw
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.4  1988  600 ?        S    17:55   0:01 init
root         2  0.0  0.0     0    0 ?        SW   17:55   0:00 [keventd]
root         3  0.0  0.0     0    0 ?        RWN  17:55   0:00 [ksoftirqd_CPU0]
root         4  0.0  0.0     0    0 ?        SW   17:55   0:00 [kswapd]
root         5  0.0  0.0     0    0 ?        SW   17:55   0:00 [bdflush]
root         6  0.0  0.0     0    0 ?        SW   17:55   0:00 [kupdated]
root         7  0.0  0.0     0    0 ?        SW   17:55   0:00 [kjournald]
root       134  0.0  0.6  2520  880 ?        S    17:55   0:00 
/sbin/dhclient-2.2.x -q eth0
root      1611  0.0  0.5  2320  696 ?        S    17:55   0:00 /sbin/syslogd
root      1614  0.0  0.7  2372  984 ?        S    17:55   0:00 /sbin/klogd
root      1622  0.0  0.4  2276  628 ?        S    17:55   0:00 /usr/sbin/inetd
root      1626  0.0  0.4  1976  532 ?        S    17:55   0:00 /usr/sbin/smartd
root      1642  0.0  1.1  6356 1492 ?        S    17:55   0:02 /usr/sbin/sshd
daemon    1646  0.0  0.5  2652  716 ?        S    17:55   0:00 /usr/sbin/atd
root      1651  0.0  0.6  3700  836 ?        S    17:55   0:00 /usr/sbin/cron
root      1655  0.0  1.0  4420 1384 ?        S    17:55   0:00 /bin/sh 
/usr/local/sbin/display
root      2598  0.0  0.4  1956  576 ttyS0    S    18:09   0:00 /sbin/getty 
57600 ttyS0 vt100
root      4039  0.1  1.7 12192 2236 ?        S    18:40   0:00 /usr/sbin/sshd
root      4045  0.0  1.2  4472 1656 pts/0    S    18:40   0:00 -bash
root      4711  1.0  0.4  3452  584 ?        S    18:50   0:00 sleep 5
root      4712  0.0  1.0  4656 1372 pts/0    R    18:50   0:00 ps auxw
remake:~# cat /proc/cpuinfo
system type             : MQ Pro
processor               : 0
cpu model               : R5000 V4.0  FPU V1.0
BogoMIPS                : 249.85
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 48
extra interrupt vector  : no
hardware watchpoint     : no
VCED exceptions         : not available
VCEI exceptions         : not available
remake:~# uname -a
Linux remake.rfc822.org 2.4.20-pre6 #1 Fri Nov 15 23:16:01 CET 2002 mips unknown

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
                        Heisenberg may have been here.

Attachment: pgp3JsLt4vAmj.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>