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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...