[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    Re: [Linux-ha-dev] heartbeat still terminates under heavy load
From:       Crispin Cowan <crispin () wirex ! com>
Date:       2000-05-17 16:20:11
[Download RAW message or body]

Holger Kiehl wrote:

> Besides,
> does anyone know how to get disk/filesystem statistics in linux, to see how
> busy the disk/filesystem are?

vmstat gives you a bunch of statistics, including block I/O rates and CPU utilizations.  Example:
here's vmstat for my mostly idle workstation ("vmstat 5" means report every 5 seconds).  The
I/O spike in the middle is me doing wc on my inbox.

/home/crispin[17] vmstat 5
 procs                  memory    swap        io    system         cpu
 r b w  swpd  free  buff cache  si  so   bi   bo   in   cs  us  sy  id
 0 0 0 33676  1684  1064 43160   1   1   21    5   14   15  10  15  75
 1 0 0 33676  1716  1064 43128   0   0    0    1  391  574   5  12  83
 3 0 0 33676  1712  1064 43128   0   0    0    1  364  526   4  13  83
 2 0 0 33676   852   592 44392   5   0 1003    1 2378  529  17  26  57
 1 0 0 33676  1332   180 44428   0   0  765    0 1891  497  17  22  61
 1 0 0 33676  1636   156 44156   0   0   12    1  438  633   5  16  79
 1 0 0 33676  1700   156 44092   0   0    0    0  367  540   4  11  85

Crispin
-----
Crispin Cowan, CTO, WireX Communications, Inc.    http://wirex.com
Free Hardened Linux Distribution:                 http://immunix.org
                  JOBS!  http://immunix.org/jobs.html





_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.tummy.com
http://lists.tummy.com/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic