VMware Cloud Community
admin
Immortal
Immortal

CPU stats on Linux/IA64

Hi Doug,

On RHEL3/ia64 I'm missing the cpu-counters:

sigar-test-all.c.98 (unknown):
cpu.user = 0,
cpu.sys = 0,
cpu.nice = 0,
cpu.idle = 0,
cpu.wait = 0,
cpu.total = 0

As you parse proc-stat here the output for it:

$ cat /proc/stat
cpu 1100155157 153907 135923906 732400969 314685092 2240302 4886242
cpu0 468440050 71988 64091917 460350174 145904359 2236505 4127795
cpu1 631715107 81919 71831989 272050795 168780733 3797 758447
page 20964769 628964983
swap 18198 39175
intr 3012553057 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
39910 0 0 129 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 23 160421177 29
540478937 0 29 0 3 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 2311532828 0 0 0 0 0 0 0 0 0 0 0 0 0 0 79989 0
disk_io: (8,0):(140888197,720475,35083247,140167722,575217921)
(8,1):(22115749,155493,6840007,21960256,682712018)
ctxt 1827005229
btime 1153661860
processes 64347497
procs_running 1
procs_blocked 0

Jan

--
Jan Kneschke, MySQL GmbH, Radlkoferstr. 2, D-81373 München
Geschäftsführer: Hans von Bell, Kaj Arnö - HRB München 162140

0 Kudos
3 Replies
dougm_hyperic
VMware Employee
VMware Employee

On Feb 15, 2007, at 11:33 AM, Jan Kneschke wrote:

> Hi Doug,
>
> On RHEL3/ia64 I'm missing the cpu-counters:
>
> sigar-test-all.c.98 (unknown):
> cpu.user = 0,
> cpu.sys = 0,
> cpu.nice = 0,
> cpu.idle = 0,
> cpu.wait = 0,
> cpu.total = 0
>
> As you parse proc-stat here the output for it:

Hi Jan,

The format looks right. I don't currently have access to an ia64 to
reproduce this. I've tried to reproduce by pasting your /proc/stat
into a file and changing linux_sigar.c:PROC_STAT to point to that
file. All the numbers look fine using x86 and x64, can't see what
the issue might be. I'll see if I can find access to such an
environment.


0 Kudos
admin
Immortal
Immortal

Doug and Jan,

What's the status on this bug fix?

Sloan

Jan Kneschke wrote:

>Hi Doug,
>
>On RHEL3/ia64 I'm missing the cpu-counters:
>
>sigar-test-all.c.98 (unknown):
> cpu.user = 0,
> cpu.sys = 0,
> cpu.nice = 0,
> cpu.idle = 0,
> cpu.wait = 0,
> cpu.total = 0
>
>As you parse proc-stat here the output for it:
>
>$ cat /proc/stat
>cpu 1100155157 153907 135923906 732400969 314685092 2240302 4886242
>cpu0 468440050 71988 64091917 460350174 145904359 2236505 4127795
>cpu1 631715107 81919 71831989 272050795 168780733 3797 758447
>page 20964769 628964983
>swap 18198 39175
>intr 3012553057 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>39910 0 0 129 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 23 160421177 29
>540478937 0 29 0 3 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>0 0 0 0 0 0 0 0 2311532828 0 0 0 0 0 0 0 0 0 0 0 0 0 0 79989 0
>disk_io: (8,0):(140888197,720475,35083247,140167722,575217921)
>(8,1):(22115749,155493,6840007,21960256,682712018)
>ctxt 1827005229
>btime 1153661860
>processes 64347497
>procs_running 1
>procs_blocked 0
>
>Jan
>
>
>


--
Sloan Childers, Lead Developer
MySQL Inc, Texas, www.mysql.com
Are you MySQL certified? www.mysql.com/certification


0 Kudos
dougm_hyperic
VMware Employee
VMware Employee


Hi Sloan,

I still don't have access to a Linux ia64 box.  As soon as I do, this should be easy to take care of.

On Mar 7, 2007, at 1:18 PM, Sloan Childers wrote:

Doug and Jan,

What's the status on this bug fix?

Sloan

Jan Kneschke wrote:

>Hi Doug,
>
>On RHEL3/ia64 I'm missing the cpu-counters:
>
>sigar-test-all.c.98 (unknown):
>  cpu.user = 0,
>  cpu.sys = 0,
>  cpu.nice = 0,
>  cpu.idle = 0,
>  cpu.wait = 0,
>  cpu.total = 0
>
>As you parse proc-stat here the output for it:
>
>$ cat /proc/stat
>cpu  1100155157 153907 135923906 732400969 314685092 2240302 4886242
>cpu0 468440050 71988 64091917 460350174 145904359 2236505 4127795
>cpu1 631715107 81919 71831989 272050795 168780733 3797 758447
>page 20964769 628964983
>swap 18198 39175
>intr 3012553057 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>39910 0 0 129 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 23 160421177 29
>540478937 0 29 0 3 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>0 0 0 0 0 0 0 0 2311532828 0 0 0 0 0 0 0 0 0 0 0 0 0 0 79989 0
>disk_io: (8,0):(140888197,720475,35083247,140167722,575217921)
>(8,1):(22115749,155493,6840007,21960256,682712018)
>ctxt 1827005229
>btime 1153661860
>processes 64347497
>procs_running 1
>procs_blocked 0
>
>Jan
>

>


--
Sloan Childers, Lead Developer
MySQL Inc, Texas, www.mysql.com
Are you MySQL certified?  www.mysql.com/certification




0 Kudos