pidstat command
by joemon83 from LinuxQuestions.org on (#573AE)
Hi,
Can someone explain, why kB_rd/s and kB_wr/s different between these 2 pidstat command:
pidstat -dl | egrep 'mfs|Command'
08:01:00 AM UID PID kB_rd/s kB_wr/s kB_ccwr/s Command
08:01:00 AM 4937 34314 506.30 170.19 0.00 /opt/mapr/server/mfs -b -p 5660 -r 40 -T 40 -a 100 -m 61656 -O /opt/mapr/conf/mapr-clusters.conf -6 /opt/cores
pidstat -dl 1 1 | egrep 'mfs|Command'
08:01:18 AM UID PID kB_rd/s kB_wr/s kB_ccwr/s Command
08:01:19 AM 4937 34314 117444.44 9888.89 0.00 /opt/mapr/server/mfs -b -p 5660 -r 40 -T 40 -a 100 -m 61656 -O /opt/mapr/conf/mapr-clusters.conf -6 /opt/cores


Can someone explain, why kB_rd/s and kB_wr/s different between these 2 pidstat command:
pidstat -dl | egrep 'mfs|Command'
08:01:00 AM UID PID kB_rd/s kB_wr/s kB_ccwr/s Command
08:01:00 AM 4937 34314 506.30 170.19 0.00 /opt/mapr/server/mfs -b -p 5660 -r 40 -T 40 -a 100 -m 61656 -O /opt/mapr/conf/mapr-clusters.conf -6 /opt/cores
pidstat -dl 1 1 | egrep 'mfs|Command'
08:01:18 AM UID PID kB_rd/s kB_wr/s kB_ccwr/s Command
08:01:19 AM 4937 34314 117444.44 9888.89 0.00 /opt/mapr/server/mfs -b -p 5660 -r 40 -T 40 -a 100 -m 61656 -O /opt/mapr/conf/mapr-clusters.conf -6 /opt/cores