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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...