Hi,
I am porting a piece of code from Solaris to Linux. Code uses VMSTAT command.
On Solaris machine VMSTAT output is following:
uname -a:
SunOS rgsm01 5.9 Generic_118558-03 sun4u sparc SUNW,Sun-Fire-V440
vmstat:
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr m1 m2 m4 m5 in sy cs us sy id
0 0 0 29021296 3922400 177 335 27 568 380 0 3 0 0 0 0 182 293 221 32 11 57
On Linux machine VMSTAT output is following:
uname -a:
Linux GURKES060 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
1 0 0 299732 802180 24825992 0 0 6 32 2 1 2 0 98 0 0
I want the paging information on linux.How can I get it?