Re: Swap performance statistics in 2.6 -- which /proc file has it?

From: Dominik Kubla
Date: Tue Dec 09 2003 - 15:00:39 EST


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
--
Those who can make you believe absurdities can make you commit
atrocities. (Francois Marie Arouet aka Voltaire, 1694-1778)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/