--- Matt Massie <[EMAIL PROTECTED]> wrote:
> guys-
> 
> painful.  i just went through and read all our machine source code. 
> you
> know.. there was just no other way to do it.  i wanted to write a
> script
> but it was just to messy and complicated.  
>
Hi Matt,

 sorry for your pain. Yes, I have learned the same during my encounters
with hpux.c, solaris.c and irix.c. It is a mess and far from
"intuitive". :-(

 I am on vacation right now, so you may excuse that I did not act on
your previous request for help as quick as possible.
 
> below is the list of all our builtin metrics and which ones are
> supported on which platform.
> 
> i only have HP questions now:
> 
> what the heck is mem_arm, mem_avm, mem_rm and mem_vm?
>

 Don't invoke heck, or you will meet Phil "Prince of insufficient
light" :-)
 
> rm=real memory?  vm=virtual memory?  arm=available real mem?
> avm=available virtual memory?
> 
> i'm just guessing there.. i have no clue.  Mr Knoblauch?
>

 Your guessing is right on the spot. Those metrics appeared when I was
trying to learn a few things about the memory behaviour of HP-UX.

 Question: do you only mark a function if it reports a real/useful
value?

 Another thing is that we may want/need to look at consolidation of
some of the metrics. E.g cpu_wio (Solaris) and cpu_wait (HPUX) are
pretty much the same thing. I also heard that Linux 2.6.X is reporting
wait cycles. But I think this should come after the first release of
the 2.6.0 monitoring core.

Cheers
Martin
> -matt
> 
> 
> Name
> Description
>  Linux
> FreeBSD
> Solaris
>   AIX
> MacOS X
>  IRIX
>  HPUX
>  Tru64
> boottime
> System
> boot
> timestamp
>    X
>    X
>    X
>    X
>    X
>    X
>    X
>    X
> bread_sec
> Buffer
> reads
> per
> second
> 
> 
>    X
> 
> 
> 
> 
> 
> bwrite_sec
> Buffer
> writes
> per
> second
> 
> 
>    X
> 
> 
> 
> 
> 
> bytes_in
> Number
> of
> bytes
> in per
> second
>    X
>    X
>    X
> 
> 
> 
> 
> 
> bytes_out
> Number
> of
> bytes
> out per
> second
>    X
>    X
>    X
> 
> 
> 
> 
> 
> cpu_aidle
> Percent
> of time
> since
> boot
> idle
> CPU
>    X
> 
> 
> 
> 
> 
>    X
> 
> cpu_idle
> Percent
> CPU
> idle
>    X
>    X
>    X
>    X
>    X
>    X
>    X
>    X
> cpu_intr
> Time
> spent
> processing interrupts
> 
> 
> 
> 
> 
> 
>    X
> 
> cpu_nice
> Percent
> CPU
> nice
>    X
>    X
> 
> 
> 
> 
>    X
>    X
> cpu_num
> Number
> of CPUs
>    X
>    X
>    X
>    X
>    X
>    X
>    X
>    X
> cpu_speed
> Speed
> in MHz
> of CPU
>    X
>    X
>    X
>    X
>    X
>    X
>    X
>    X
> cpu_ssys
> Time in
> kernel
> mode
> 
> 
> 
> 
> 
> 
>    X
> 
> cpu_system
> Percent
> CPU
> system
>    X
>    X
>    X
>    X
> 
>    X
>    X
>    X
> cpu_user
> Percent
> CPU
> user
>    X
>    X
>    X
>    X
> 
>    X
>    X
>    X
> cpu_wait
> Time
> spent
> waiting
> 
> 
> 
> 
> 
> 
>    X
> 
> cpu_wio
> Time
> spent
> in i/o
> wait
> 
> 
>    X
> 
> 
> 
> 
> 
> disk_free
> Total
> free
> disk
> space
>    X
>    X
> 
> 
> 
> 
> 
> 
> disk_total
> Total
> available disk space
>    X
>    X
> 
> 
> 
> 
> 
> 
> load_fifteen
> Fifteen
> minute
> load
> average
>    X
>    X
>    X
>    X
>    X
>    X
>    X
>    X
> load_five
> Five
> minute
> load
> average
>    X
>    X
>    X
>    X
>    X
>    X
>    X
>    X
> load_one
> One
> minute
> load
> average
>    X
>    X
>    X
>    X
>    X
>    X
>    X
>    X
> location
> GPS
> coordinates for host
>    X
>    X
>    X
>    X
>    X
>    X
>    X
>    X
> lread_sec
> Linear
> reads
> per
> second
> 
> 
>    X
> 
> 
> 
> 
> 
> lwrite_sec
> Linear
> writes
> per
> second
> 
> 
>    X
> 
> 
> 
> 
> 
> machine_type
> Type of
> machine
> hardward (uname -m)
>    X
>    X
>    X
>    X
>    X
>    X
>    X
>    X
> mem_arm
> 
> 
> 
> 
> 
> 
> 
>    X
> 
> mem_avm
> 
> 
> 
> 
> 
> 
> 
>    X
> 
> mem_buffers
> Amount
> of
> buffered memory
>    X
>    X
> 
> 
> 
>    X
> 
>    X
> mem_cached
> Amount
> of
> cached
> memory
>    X
>    X
> 
> 
> 
>    X
>    X
> 
> mem_free
> Amount
> of
> available memory
>    X
>    X
>    X
>    X
>    X
>    X
>    X
>    X
> mem_rm
> 
> 
> 
> 
> 
> 
> 
>    X
> 
> mem_shared
> Amount
> of
> shared
> memory
>    X
>    X
> 
> 
> 
>    X
>    X
> 
> mem_total
> Total
> memory
>    X
>    X
>    X
>    X
>    X
>    X
>    X
>    X
> mem_vm
> 
> 
> 
> 
> 
> 
> 
>    X
> 
> mtu
> Network
> maximum
> transmission unit
>    X
>    X
>    X
>    X
>    X
>    X
>    X
>    X
> os_name
> Operating system name
>    X
>    X
>    X
>    X
>    X
>    X
>    X
>    X
> os_release
> Operating system release (version)
>    X
>    X
>    X
>    X
>    X
>    X
>    X
>    X
> part_max_used
> Maximum
> percent
> used
> for all
> partitions
>    X
>    X
> 
> 
> 
> 
> 
> 
> phread_sec
> Physical reads per second
> 
> 
>    X
> 
> 
> 
> 
> 
> phwrite_sec
> Physical writes per second
> 
> 
>    X
> 
> 
> 
> 
> 
> pkts_in
> Packets
> in per
> second
>    X
>    X
>    X
> 
> 
> 
> 
> 
> pkts_out
> Packets
> out per
> second
>    X
>    X
>    X
> 
> 
> 
> 
> 
> proc_run
> Total
> number
> of
> running
> processes
>    X
>    X
>    X
> 
> 
>    X
>    X
> 
> proc_total
> Total
> number
> of
> processes
>    X
>    X
>    X
> 
>    X
>    X
>    X
> 
> rcache
> Read
> cache
> hit
> ratio
> 
> 
>    X
> 
> 
> 
> 
> 
> swap_free
> Amount
> of
> available swap memory
>    X
>    X
>    X
>    X
> 
>    X
>    X
>    X
> swap_total
> Total
> amount
> of swap
> memory
>    X
>    X
>    X
>    X
> 
>    X
>    X
>    X
> sys_clock
> Current
> time on
> host
>    X
>    X
>    X
>    X
>    X
>    X
>    X
>    X
> wcache
> Write
> cache
> hit
> ratio
> 
> 
>    X
> 
> 
> 
> 
> 
> 
> 
> -- 
> Mobius strippers never show you their back side
> PGP fingerprint 'A7C2 3C2F 8445 AD3C 135E  F40B 242A 5984 ACBC 91D3'
> 

> ATTACHMENT part 2 application/pgp-signature name=signature.asc



=====
------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de

Reply via email to