Read index.php?option=com_kunena&Itemid=30&id=717&catid=6&func=fb_pdf text version

CPU test no data for Linux System

Posted by smcrazy - 2009/01/29 08:11 _____________________________________

Hi I am running sitescope on Linux system. I have 5 Sun servers & 3 Linux system in my network. When I am trying to add Solaris box to sitescope through Remote Unix it works fine without error. But For Linux I am getting no data message for CPU test. This is the problem with all Linux system including sitescope system. Please help Thanks in advance.

============================================================================

Re:CPU test no data for Linux System

Posted by systemz - 2009/01/29 17:04 _____________________________________

I'm assuming you chose the Linux OS template? These templates are scripts that execute commands. You'll get a no data if the CPU command is invalid for that version of linux. You can modify those templates to fix it.

============================================================================

Re:CPU test no data for Linux System

Posted by smcrazy - 2009/02/03 09:51 _____________________________________

I already tried this with mpstat , sar , iostat command but hard luck.

============================================================================

Re:CPU test no data for Linux System

Posted by roddergreg - 2009/02/10 14:19 _____________________________________

Try installing the sysstat package. This installed sar and other useful monitoring applications. sysstat.i386 8.0.4-5.fc10 installed

This is what i use for non enterprise versions of Linux

============================================================================

Re:CPU test no data for Linux System

Posted by sstepina - 2009/07/29 12:23 _____________________________________

I'm having the same issue, and installing mpstat utility isn't a possibility for me. I'm running SS10 for this question, and I posed it to the HP tech. He miss understood the question and told me to remove TOP command and add mpstat. So I tried to reverse his email to me and it didn't work, but I think he's on to something. Anyone help me work this to return CPU results on Linux? I tried placing these in place of the MPSTAT CPu checking line: # id=cpu

Sitescopeadmins.com - Sitescope Administrator Forums Kunena Forum Component version: NEW VERSION GOES HERE Generated: 25 August, 2012, 01:55

command=/usr/bin/top n 3 d 2 b -p 1 idle=2 startMatch=/^CPU/ endMatch=/processes/ reverseLines=true reverseColumns=idle cpu=1 # I think this is workable, anyone care to help with it?

============================================================================

Re:CPU test no data for Linux System

Posted by sstepina - 2009/08/06 13:11 _____________________________________

Well I can't vouch for how accurate this is, but it will give a good general idea for CPU usage on Linux machines. # id=cpu command=/usr/bin/vmstat headerLine=2 endMatch=/^r/ idleColumnName=%idle waitColumnName=%wait wait=16 idle=15 cpu=1 reverseLines=true cpuNamePrefix=cpu #

============================================================================

Re:CPU test no data for Linux System

Posted by bwiebe - 2010/07/02 12:51 _____________________________________

I have had to rebuild linux OS templates many times for each OS version that gets deployed. I wish they all would just standardize to one build, but oh well.. smcrazy, run = '/usr/bin/vmstat 3 2' directly on the linux box and let us know the output. We can then parse the columns to determine the correct columns for the counters.

============================================================================

Re:CPU test no data for Linux System

Posted by harrisc - 2010/07/05 20:53 _____________________________________

You also have the option to run remote scripts. hec",)

============================================================================

Re:CPU test no data for Linux System

Posted by SSVinny - 2010/07/09 17:44 _____________________________________

We encountered similar issue with redhat linux. ended up testing the individual lines in the attached config file on our redhat machine to ensure it would run, found

Sitescopeadmins.com - Sitescope Administrator Forums Kunena Forum Component version: NEW VERSION GOES HERE Generated: 25 August, 2012, 01:55

several that were incorrect, after updating the .config file they worked \SiteScope\templates.os\RedHatEnterpriseLinux.config ie id=tail command=/usr/bin/tail -c +

============================================================================

Re:CPU test no data for Linux System

Posted by evantanski - 2012/01/12 04:52 _____________________________________

Whether you have multiple processors or not doesn't affect your choice between worker and prefork. They both will make full use of all your processors.

============================================================================

Sitescopeadmins.com - Sitescope Administrator Forums

Kunena Forum Component version: NEW VERSION GOES HERE

Generated: 25 August, 2012, 01:55

Information

3 pages

Report File (DMCA)

Our content is added by our users. We aim to remove reported files within 1 working day. Please use this link to notify us:

Report this file as copyright or inappropriate

282428


You might also be interested in

BETA