Hello Ganglia team,

The system/idle cpu metrics gets crazy on some of my ppc64 boxes.
I was wondering if any of you have seen this already or have any idea of what could be going on?

On a normal machine:
# netcat normalmachine 9041 | grep cpu_idle
<METRIC NAME="cpu_idle" VAL="99.9" TYPE="float" UNITS="%" TN="68" TMAX="90" DMAX="0" SLOPE="both">
# netcat normalmachine 9041 | grep cpu_system
<METRIC NAME="cpu_system" VAL="0.0" TYPE="float" UNITS="%" TN="68" TMAX="90" DMAX="0" SLOPE="both">

On a crazy one: (**observation**: I'm currently logged in the machine and I see, from top, there's no cpu usage)
# netcat crazymachine 9003 | grep cpu_system
<METRIC NAME="cpu_system" VAL="98.2" TYPE="float" UNITS="%" TN="0" TMAX="90" DMAX="0" SLOPE="both">
# netcat crazymachine 9003 | grep cpu_idle
<METRIC NAME="cpu_idle" VAL="29190.8" TYPE="float" UNITS="%" TN="0" TMAX="90" DMAX="0" SLOPE="both">

I'm guessing it has anything to do with parsing /proc/stat, since ganglia retrieve cpu info from it. I'm attaching a snapshot of /proc/stat from the crazymachine in case it helps.

Any ideas?
Thanks,

--

Rafael Xavier de Souza
Linux Technology Center Software Engineer
IBM Systems & Technology Group
[email protected]
MM17 Hortolândia-SP, Brazil
# cat /proc/stat 
cpu  19570 46991 98648 6617688082 78415 18213730 3584539 1026
cpu0 111 0 1612 111728069 330 340591 109902 6
cpu1 112 0 1650 103213112 318 326237 70406 6
cpu2 446 910 1971 103288110 364 267025 53143 22
cpu3 1400 19422 9694 103237182 569 287470 55946 161
cpu4 33 2 1150 103276997 79 281381 52342 4
cpu5 147 1098 2036 103263407 153 290239 54746 16
cpu6 12 2 977 103289108 51 269083 52750 3
cpu7 19 1 826 103294382 61 262215 54336 3
cpu8 14 0 1204 103252430 35 297431 60869 4
cpu9 252 0 938 103252122 39 287451 71037 3
cpu10 8 0 950 103286677 43 271190 53114 3
cpu11 15 0 828 103267276 41 288784 54896 2
cpu12 24 0 1192 103244579 44 313537 52605 3
cpu13 21 0 849 103268417 44 287608 54901 2
cpu14 708 0 1614 103275436 40 281373 52783 31
cpu15 851 0 1486 103291840 39 263286 54312 29
cpu16 4 0 1349 103222770 28 336025 51805 3
cpu17 7 0 816 103228248 55 328556 54159 2
cpu18 464 0 1065 103240464 56 293754 76173 7
cpu19 8113 1602 3294 103284987 703 256653 56420 69
cpu20 37 0 1203 103275990 40 282936 51772 3
cpu21 717 186 1346 103248302 728 306250 54302 9
cpu22 108 0 947 103284716 53 274399 51754 3
cpu23 52 1 817 103312334 51 244738 53846 2
cpu24 15 0 1198 103256548 54 302330 51830 3
cpu25 12 0 815 103292667 47 264231 54067 2
cpu26 8 0 951 103309630 47 249444 51894 3
cpu27 5 0 826 103262131 33 292800 56044 2
cpu28 98 0 1191 103256847 39 301982 51816 4
cpu29 3 0 1227 103288147 53 267889 54518 4
cpu30 3 0 980 103293862 42 265078 52007 3
cpu31 4 0 833 103302496 54 253892 54562 2
cpu32 11 0 1346 103214578 39 343372 52627 3
cpu33 12 0 839 103243524 38 312654 54771 2
cpu34 123 1 1046 103257804 672 299537 52784 7
cpu35 1585 96 2796 103261872 795 289828 54843 27
cpu36 118 0 1262 103249701 52 308381 52454 5
cpu37 148 1 943 103266436 83 289403 54822 5
cpu38 9 0 945 103286746 41 271447 52782 3
cpu39 7 0 812 103277291 45 279245 54440 2
cpu40 16 0 1181 103253520 44 304548 52659 3
cpu41 24 0 854 103273777 59 282448 54677 3
cpu42 5 0 960 103300901 39 257127 52935 3
cpu43 11 0 842 103284290 44 271828 54823 3
cpu44 7 0 1186 103249036 41 309319 52378 3
cpu45 2 0 834 103251002 45 305051 54905 2
cpu46 915 0 6177 103231513 44 284233 89056 29
cpu47 79 0 943 103293204 30 263300 54283 3
cpu48 16 489 1822 103208508 331 348546 52243 11
cpu49 22 562 1570 103257528 1555 297023 53571 10
cpu50 70 333 1482 103316732 344 240397 52597 11
cpu51 578 546 2630 103324564 1588 227995 53920 21
cpu52 9 434 1667 103260050 115 297281 52399 10
cpu53 60 380 1379 103294248 433 261670 53663 9
cpu54 11 157 1191 103280416 350 275884 53950 5
cpu55 10 0 845 103281321 827 275382 53454 2
cpu56 6 0 1171 103286273 35 272357 52119 3
cpu57 11 181 988 103290742 65 266176 53674 4
cpu58 4 26 994 103334230 92 224571 52040 3
cpu59 5 0 858 103296938 53 260088 53897 2
cpu60 136 75 1669 103258777 342 298424 52509 29
cpu61 117 495 1761 103241161 3872 310511 53887 37
cpu62 861 1505 3434 103223525 51691 278006 52827 110
cpu63 731 18471 4358 103248557 10247 271811 57463 204
intr 6999057
ctxt 226787250
btime 1271441389
processes 216884
procs_running 1
procs_blocked 0

------------------------------------------------------------------------------
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to