problem with sar/sadf version 11.2.0

"Ken McDonell" <[email protected]> Tue, 17 Jan 2017 14:06:30 +1100
Newsgroups gmane.comp.sysutils.pcp
Message-ID <[email protected]>
Anyone else seeing this?

The User CPU time is different between sar -u and sadf -A.

Good case User CPU times match:

kenj@bozo:~/src/pcp/qa/sadist$ sadf -x sa-sysstat-11.1.5 5 3 -- -A | grep 'cpu number="all"'
					<cpu number="all" usr="0.30" nice="0.03" sys="0.08" iowait="0.05" steal="0.00" irq="0.00" soft="0.00" guest="0.00" gnice="0.00" idle="99.55"/>
					<cpu number="all" usr="0.38" nice="0.03" sys="0.13" iowait="0.05" steal="0.00" irq="0.00" soft="0.00" guest="0.00" gnice="0.00" idle="99.42"/>
					<cpu number="all" usr="0.38" nice="0.03" sys="0.10" iowait="0.03" steal="0.00" irq="0.00" soft="0.00" guest="0.00" gnice="0.00" idle="99.47"/>
kenj@bozo:~/src/pcp/qa/sadist$ sar -u -f sa-sysstat-11.1.5 5 3Linux 4.2.8-300.fc23.x86_64 (slack) 	13/01/16 	_x86_64_	(8 CPU)

08:31:25        CPU     %user     %nice   %system   %iowait    %steal     %idle
08:31:30        all      0.30      0.03      0.08      0.05      0.00     99.55
08:31:35        all      0.38      0.03      0.13      0.05      0.00     99.42
08:31:40        all      0.38      0.03      0.10      0.03      0.00     99.47
Average:        all      0.35      0.03      0.10      0.04      0.00     99.48

Bad case _one_ of these has to be wrong!

kenj@bozo:~/src/pcp/qa/sadist$ sadf -x sa-sysstat-11.2.0 5 3 -- -A | grep 'cpu number="all"'
					<cpu number="all" usr="0.79" nice="0.00" sys="0.30" iowait="0.03" steal="0.00" irq="0.00" soft="0.02" guest="2.78" gnice="0.00" idle="96.08"/>
					<cpu number="all" usr="0.54" nice="0.00" sys="0.27" iowait="0.05" steal="0.00" irq="0.00" soft="0.00" guest="2.24" gnice="0.00" idle="96.90"/>
					<cpu number="all" usr="1.37" nice="0.00" sys="0.49" iowait="0.52" steal="0.00" irq="0.00" soft="0.00" guest="4.42" gnice="0.00" idle="93.21"/>
kenj@bozo:~/src/pcp/qa/sadist$ sar -u -f sa-sysstat-11.2.0 5 3Linux 4.4.0-57-generic (bozo) 	05/01/17 	_x86_64_	(12 CPU)

07:17:19        CPU     %user     %nice   %system   %iowait    %steal     %idle
07:17:24        all      3.57      0.00      0.32      0.03      0.00     96.08
07:17:29        all      2.78      0.00      0.27      0.05      0.00     96.90
07:17:34        all      5.79      0.00      0.49      0.52      0.00     93.21
Average:        all      4.05      0.00      0.36      0.20      0.00     95.39

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#14982): https://groups.io/g/pcp/message/14982
View All Messages In Topic (1): https://groups.io/g/pcp/topic/4200663
Mute This Topic: https://groups.io/mt/4200663?uid=174580
New Topic: https://groups.io/g/pcp/post
-=-=-
pcp mailing list
[email protected]
https://groups.io/g/pcp/messages
-=-=-
Change Your Subscription: https://groups.io/g/pcp/editsub?uid=174580
Group Home: https://groups.io/g/pcp
Contact Group Owner: [email protected]
Terms of Service: https://groups.io/static/tos
Unsubscribe: https://groups.io/g/pcp/leave/354243/563757577/xyzzy
-=-=-=-=-=-=-=-=-=-=-=-