Messages in this thread | ![/](/images/icornerl.gif) | | Date | Tue, 9 Dec 2003 15:24:06 -0500 (EST) | From | "Richard B. Johnson" <> | Subject | Re: Swap performance statistics in 2.6 -- which /proc file has it? |
| |
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.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |