Messages in this thread | | | Date | Tue, 9 Dec 2003 08:56:43 -0500 (EST) | From | "Richard B. Johnson" <> | Subject | Re: Swap performance statistics in 2.6 -- which /proc file has it? |
| |
On Tue, 9 Dec 2003, Stephen Satchell wrote:
> OK, color me stupid. I just grepped the entire Documentation directory > for 2.6.0-test11, and couldn't find anywhere where the number of disk > requests for swap, or the swap transfer volume, is provided. In 2.4 I > had a single place where all swap activity (whether it was to a separate > partition or to a file on a mounted file system) is recorded. > > I also grepped the proc filesystem source (linux/fs/proc) for "swap" and > "Swap" and didn't find anything that had to do with swap request accounting, > only with swap memory allocation (which I do use, but which for me is only > half the story). >
/proc/meminfo may give you the information you need, just not as directly as you propose.
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/
| |