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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...