Per CPU Load on Dell w/ AMD/Opteron

Sturgis, Grant Grant.Sturgis at arraybiopharma.com
Thu Oct 18 19:07:41 CDT 2007



Erik Cummings wrote:
> Wow - I didn't expect the deafening silence.
> 
> Okay - I need to make this a bit more generic...
> 
> I would like to monitor the actual PER CPU loads on the AMD Opteron 
> powered Dells that we have.  I have NO problems doing this on the Intel 
> based (Centos 4.5 on x86) but cannot on the AMD based (Centos 4.5 on 
> x86_64).
> 
> Currently using SNMP to get the stats to graph for Intel, but the per 
> CPU load values are just NOT included in the MIB on the AMD based boxes...
> 
> So, before I write a script to parse the values presented by 'mpstate -P 
> <CPU#>, has anyone else done this?

I use this:

cat /proc/stat' | awk '/cpu0/ {printf("%s\n%s\n",$2,$5); }

to get cputime spent on user and idle, respectively, then send it 
through MRTG to get graphs...

It's not SNMP (clearly), but it does work.


> 
> Erik
> 
> 
>  > -----Original Message-----
>  > From: linux-poweredge-bounces at dell.com [mailto:linux-poweredge-
>  > bounces at dell.com] On Behalf Of Erik Cummings
>  > Sent: Tuesday, October 16, 2007 10:47 PM
>  > To: linux-poweredge at dell.com
>  > Subject: Per CPU Load via SNMP on Dell 2970
>  >
>  > I'm having a difficult time getting per CPU utilization via SNMP on my
>  > Dell 2970's.  I have NO problems getting other SNMP information (so
>  > overall SNMP is working fine) and I can see that I have "4 CPUs", 
> there is
>  > just NO hrProcessorLoad information, and as far as I can tell the UCD 
> side
>  > doesn't even HAVE per-CPU.
>  >
>  > Anyone have any clues?  Be glad to post plenty of detail if anyone thinks
>  > they can help!
>  >
>  > Erik M. Cummings
>  >
>  >
>  > P.S.  If I need to implement a Dell specific SNMP call to get per CPU -
>  > that's fine!
>  >
>  >
>  >
>  > _______________________________________________
>  > Linux-PowerEdge mailing list
>  > Linux-PowerEdge at dell.com
>  > http://lists.us.dell.com/mailman/listinfo/linux-poweredge
>  > Please read the FAQ at http://lists.us.dell.com/faq
> 
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
> 

This electronic message transmission is a PRIVATE communication which
contains information which may be confidential or privileged. The
information is intended to be for the use of the individual or entity
named above. If you are not the intended recipient, please be aware that
any disclosure, copying, distribution or use of the contents of this
information is prohibited. Please notify the sender  of the delivery
error by replying to this message, or notify us by telephone
(877-633-2436, ext. 0), and then delete it from your system.



More information about the Linux-PowerEdge mailing list