All Apps and Add-ons

Inconsistencies from cpu.sh in *NIX App

Ricapar
Communicator

We have a pretty diverse Unix/Linux environment - AIX, Solaris, Linux - multiple versions of each.

I was hoping to be able to use the *NIX App to monitor CPU usage across a bunch of them, but I'm starting to notice some oddities here and there.

I had taken some screenshots... but apparently you need > 60 karma to upload them.

Anyways, I do this simple search:

index=os host=myRHEL6host sourcetype=cpu

And I'm getting this back:

CPU    pctUser    pctNice  pctSystem  pctIowait    pctIdle
1.52       0.00       2.28       0.00       0.00      96.20
2.04       0.00       4.08       0.00       0.00      93.88
2.00       0.00       1.00       0.00       0.00      97.00
2.02       0.00       2.02       0.00       0.00      95.96
1.01       0.00       2.02       0.00       0.00      96.97

However, if I run cpu.sh on the actual machine:

[root@myRHEL6host bin]# ./cpu.sh
CPU    pctUser    pctNice  pctSystem  pctIowait    pctIdle
all       1.01       0.00       0.25       0.00      98.74
0         2.08       0.00       0.00       0.00      97.92
1         0.98       0.00       0.98       0.00      98.04
2         0.98       0.00       0.98       0.00      98.04
3         0.00       0.00       0.00       0.00     100.00

That's just one of many weird inconsistencies I'm seeing... A few more come up when I look at AIX and Solaris.

Any idea what's going on?

0 Karma

twollenslegel_s
Splunk Employee
Splunk Employee

This is now listed as a known issue with the Unix TA.

http://docs.splunk.com/Documentation/UnixAddOn/5.2.4/User/Releasenotes

0 Karma

polymorphic
Communicator
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...