sar substitute for Linux?

Kevin Buettner plug-discuss@lists.PLUG.phoenix.az.us
Thu, 19 Apr 2001 15:30:59 -0700


On Apr 19,  2:21pm, Gorman, John wrote:

> sysctl does not really provide the following information
> that psrinfo does:
> 
> 	Status of processor 0 as of: 04/19/01 14:17:58
> 	  Processor has been on-line since 12/28/00 12:38:55.
> 	  The sparc processor operates at 400 MHz,
> 	        and has a sparc floating point processor.
> 	Status of processor 1 as of: 04/19/01 14:17:58
> 	  Processor has been on-line since 12/28/00 12:38:56.
> 	  The sparc processor operates at 400 MHz,
> 	        and has a sparc floating point processor.
> 	Status of processor 2 as of: 04/19/01 14:17:58
> 	  Processor has been on-line since 12/28/00 12:38:56.
> 	  The sparc processor operates at 400 MHz,
>       	  and has a sparc floating point processor.
> 	Status of processor 3 as of: 04/19/01 14:17:58
> 	  Processor has been on-line since 12/28/00 12:38:56.
> 	  The sparc processor operates at 400 MHz,
> 	        and has a sparc floating point processor.
> 
> and /proc does not really provide this info either.

I'm curious about what the original poster (Brian Simper) needed
psrinfo for.  Doing "cat /proc/cpuinfo" provides information on the
number, types, and speeds of the processors, but it does not tell you
how long they've been online.  I don't know of any provisions for
taking them offline though, so it would seem reasonable to use
whatever value uptime reports for all of them.

Kevin