All Apps and Add-ons

cpu.sh is not working in new unix app

Dimitri_McKay
Splunk Employee
Splunk Employee

CPU.sh is required to populate some of the dashboards in the unix app. Unfortunately, when I run cpu.sh manually nothing happens. How do I get this running. I'm using a vanilla install of centOS.

1 Solution

Dimitri_McKay
Splunk Employee
Splunk Employee

Well, Dimitri, it sounds like quite the problem. 🙂

You may want to make sure that the sysstat package, which includes sar, is installed. Cpu.sh has a dependency on that and unfortunately, until that's installed, you're stuck.

yum -y install sysstat

Once that's installed, restart Splunk and you'll be in good shape.

View solution in original post

Dimitri_McKay
Splunk Employee
Splunk Employee

Well, Dimitri, it sounds like quite the problem. 🙂

You may want to make sure that the sysstat package, which includes sar, is installed. Cpu.sh has a dependency on that and unfortunately, until that's installed, you're stuck.

yum -y install sysstat

Once that's installed, restart Splunk and you'll be in good shape.

chimbudp
Contributor

Thanks......

0 Karma

thapeli
New Member

Thank you

0 Karma

araitz
Splunk Employee
Splunk Employee

systat is only required for linux operating systems. For Solaris, the scripted inputs (top.sh, vmstat.sh, etc) should work with the solaris tools such as prstat, etc.

0 Karma

abhicool20
New Member

How will this work on SPARC/Solaris11 as there is no sysstat package on Solaris 11?

0 Karma

christantoy
Path Finder

Your the man!!! you made my day dude!!!

0 Karma

bwooden
Splunk Employee
Splunk Employee

Thanks Dimitri. And Dimitri.

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...