/proc/vmstat file in linux 2.6 kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

In Linux 3.0 (kernel 2.4) there were two fields page and swap in /proc/stat file which gives value of page in, page out and swap in, swap out.

But in Linux4.0 (kernel 2.6) these two fields are not there. Instead there is a new file vmstat in /proc directory.

This /proc/vmstat file contains fields pgpgin, pgpgout, pswpin, pswpout.

Also in procinfo command values of these fields are zero as it uses /proc/stat file as its data source.

 

Can anybody tell me are these fields in /proc/vmstat in 2.6 kernel are same as fields in /proc/stat in kernel 2.4?

Is it documented anywhere?

 

Thanks and Regards,

Dipti

 


http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at netadmin@xxxxxxxxx and delete this mail.
_____________________________________________________________________

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux