pcp
[Top] [All Lists]

Re: Expanding hinv

To: Troy Dawson <dawson@xxxxxxxx>
Subject: Re: Expanding hinv
From: Mark Goodwin <markgw@xxxxxxx>
Date: Thu, 11 May 2000 10:13:10 +1000 (EST)
Cc: PCP Mailing List <pcp@xxxxxxxxxxx>
In-reply-to: <39196A69.84EED32E@fnal.gov>
Sender: owner-pcp@xxxxxxxxxxx
On Wed, 10 May 2000, Troy Dawson wrote:

> Howdy,
> We've found that PCP is very helpful in monitoring our farms.  But we've
> also found there are a few things in the PCP for Irix that arn't in the
> PCP for Linux, such as cpu speed, cpu type, and a few other things.

yes most of these are missing at the moment. I recently added
a new metric "hinv.map.scsi" that provides the mapping of disks
to scsi controllers, but things like CPU type, memory config, 
disk controller names, etc are all missing. Below is the
current set of hinv metrics for IRIX - obviously not all of
these are meaningful on Linux (not yet anyway ;-)).

> We have written a pmda that get's these things for us.  We were
> wondering if you would want some of these things to put into the main
> Linux pmda.  We plan on putting them into ours in the hinv section.
> The reason we want them in the hinv section, is so that it is more in
> line with the IRIX pcp.  It helps us so that when we're checking across
> our whole farm, we don't have to look in one spot for the Linux boxes,
> and another spot for the SGI's.
> Troy
> 

That's excellent! Please integrate your changes with the linux PMDA
and send me the patches - I'll add it in. Or, send me your source
and I'll integrate it. If your changes are huge, it may make more
sense to leave them in a seperate PMDA, what do you think?

thanks

-- Mark Goodwin
SGI Engineering

---
Here's the hinv metric tree on IRIX ("snort" is an Origin 2000 server)

william 2% pminfo -h snort -t hinv
hinv.ncpu [Number of CPUs]
hinv.cpuclock [CPU clock speed]
hinv.mincpuclock [Slowest CPU clock speed]
hinv.maxcpuclock [Fastest CPU clock speed]
hinv.cputype [CPU type]
hinv.dcache [D-cache size]
hinv.icache [I-cache size]
hinv.secondarycache [Secondary cache size]
hinv.machine [CPU board type name]
hinv.physmem [Physical memory size]
hinv.pmeminterleave [Physical memory interleave]
hinv.ndisk [Number of disks]
hinv.disk_sn [Disk serial numbers (no longer supported)]
hinv.nnode [Number of Origin series nodes]
hinv.nrouter [number of CrayLink routers in the system]
hinv.nrouterport [number of connected CrayLink router ports in the system]
hinv.interconnect [interconnection endpoint in hardware graph filesystem for 
each CrayLink router port]
hinv.nxbow [Number of xbows]
hinv.ncell [Number of Origin cells]
hinv.pagesize [Memory page size]
hinv.nxlv_volumes [Number of configured XLV subvolumes]
hinv.nfilesys [Number of mounted EFS and XFS filesystems]
hinv.nctl [number of active disk controllers]
hinv.map.cpu [Paths to CPUs in hardware graph]
hinv.map.disk [path to a disk in the hardware graph]
hinv.map.node [paths to Origin series nodes in the hardware graph]
hinv.map.router [path to a CrayLink router in the hardware graph]
hinv.map.routerport [path to a CrayLink router port in hardware graph ]
hinv.map.xbow [Paths to xbows in hardware graph]
hinv.ctl.ndisk [number of disk spindles on each disk controller]



<Prev in Thread] Current Thread [Next in Thread>