linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Richard B. Johnson" <root@chaos.analogic.com>
To: Dominik Kubla <dominik@kubla.de>
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: Tue, 9 Dec 2003 15:24:06 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.53.0312091520120.3865@chaos> (raw)
In-Reply-To: <3FD62845.8090301@kubla.de>

On Tue, 9 Dec 2003, Dominik Kubla wrote:

> Richard B. Johnson wrote:
> > If you need statistics v.s. time, you need to write an application
> > that samples things at some fixed interval. In a previous life,
> > I requested that "nr_free_pages()" be accessible from user-space,
> > probably via /proc. That's all you need. Maybe that could be
> > added now?  In any event, samping free pages at some fixed-time
> > interval should give you all the information you need.
>
> vmstat -a
> sar -B
> sar -r
>
> O'Reilly's "System Performance Tuning" might make for an interesting read,
> especially pages 110ff (also its Linux informations are a bit out of date).
>
> Regards,
>    Dominik Kubla

Hmm. I was talking about real stuff, not some theory.....

Script started on Tue Dec  9 15:19:25 2003
# vmstat -a
usage: vmstat [-V] [-n] [delay [count]]
              -V prints version.
              -n causes the headers not to be reprinted regularly.
              delay is the delay between updates in seconds.
              count is the number of updates.
# sar -B
bash: sar: command not found
# sar -r
bash: sar: command not found
# exit
exit
Script done on Tue Dec  9 15:20:03 2003

Maybe it was a different system???

Script started on Tue Dec  9 15:21:24 2003
# rlogin hal
Password:
Last login: Tue Oct 28 12:00:38 on console
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
# exit
rlogin: connection closed.
# exit
exit
Script done on Tue Dec  9 15:22:32 2003

... Guess not.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.22 on an i686 machine (797.90 BogoMips).
            Note 96.31% of all statistics are fiction.



  reply	other threads:[~2003-12-09 20:26 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 [this message]
2003-12-10 10:18                 ` Dominik Kubla
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=Pine.LNX.4.53.0312091520120.3865@chaos \
    --to=root@chaos.analogic.com \
    --cc=dominik@kubla.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=list@satchell.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).