From: Dominik Kubla <dominik@kubla.de>
To: root@chaos.analogic.com
Cc: Stephen Satchell <list@satchell.net>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Swap performance statistics in 2.6 -- which /proc file has it?
Date: Wed, 10 Dec 2003 11:18:19 +0100 [thread overview]
Message-ID: <3FD6F2EB.5090300@kubla.de> (raw)
In-Reply-To: <Pine.LNX.4.53.0312091520120.3865@chaos>
Richard B. Johnson wrote:
>
> Hmm. I was talking about real stuff, not some theory.....
[...]
> Sun Microsystems Inc. SunOS 5.5.1 Generic May 1996
> # vmstat -a
> Usage: vmstat [-cisS] [disk ...] [interval [count]]
> # sar -B
> sar: illegal option -- B
> usage: sar [-ubdycwaqvmpgrkA][-o file] t [n]
> sar [-ubdycwaqvmpgrkA][-s hh:mm][-e hh:mm][-i ss][-f file]
> # sar -r
> sar: can't open /var/adm/sa/sa09
> No such file or directory
> # uname -a
> SunOS hal 5.5.1 Generic sun4m sparc SUNW,SPARCstation-5
[...]
> ... Guess not.
If you try this on a Linux system with the sysstat package installed you
might be surprised... (That's why i said the Linux part in the mentioned
book is outdated: it does not tell you that sar is available and recommends
to parse the proc files)
# dpkg -l sysstat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii sysstat 5.0.0-1 sar, iostat and mpstat - system performance
# vmstat -a
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free inact active si so bi bo in cs us sy id wa
0 0 0 113072 219600 173056 0 0 320 80 1055 203 6 2 78 14
# sar -B 60
Linux 2.6.0-test5-bk4 (duron) 12/10/03
11:13:24 pgpgin/s pgpgout/s fault/s majflt/s
11:14:24 0.00 3.80 13.38 0.00
Average: 0.00 3.80 13.38 0.00
# sar -r 60
Linux 2.6.0-test5-bk4 (duron) 12/10/03
11:14:53 kbmemfree kbmemused %memused kbbuffers kbcached kbswpfree
kbswpused %swpused kbswpcad
11:15:53 112488 532788 82.57 74000 260688 497972
0 0.00 0
Average: 112488 532788 82.57 74000 260688 497972
0 0.00 0
It that is sufficient information for your purposes i can not say, but for
most people that is all they will ever need.
Regards,
Dominik Kubla
--
Those who can make you believe absurdities can make you commit
atrocities. (Francois Marie Arouet aka Voltaire, 1694-1778)
next prev parent reply other threads:[~2003-12-10 10:18 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <BF1FE1855350A0479097B3A0D2A80EE00184D619@hdsmsx402.hd.intel.com>
2003-12-08 19:29 ` balance interrupts Len Brown
2003-12-08 20:00 ` Julien Oster
2003-12-08 20:02 ` Julien Oster
2003-12-08 21:46 ` Len Brown
2003-12-09 3:51 ` Bob
2003-12-09 5:11 ` Stephen Satchell
2003-12-09 13:19 ` Swap performance statistics in 2.6 -- which /proc file has it? Stephen Satchell
2003-12-09 13:56 ` Richard B. Johnson
2003-12-09 14:46 ` Stephen Satchell
2003-12-09 15:25 ` Richard B. Johnson
2003-12-09 19:53 ` Dominik Kubla
2003-12-09 20:24 ` Richard B. Johnson
2003-12-10 10:18 ` Dominik Kubla [this message]
2003-12-10 1:28 ` Stephen Satchell
2003-12-10 10:34 ` Dominik Kubla
2003-12-10 13:06 ` Answer to Swap performance statistics in 2.6 -- which /proc file has it Stephen Satchell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3FD6F2EB.5090300@kubla.de \
--to=dominik@kubla.de \
--cc=linux-kernel@vger.kernel.org \
--cc=list@satchell.net \
--cc=root@chaos.analogic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.