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.
John
-----Original Message-----
From: Kevin Buettner [
mailto:kev@illusions.com]
Sent: Thursday, April 19, 2001 11:38 AM
To:
plug-discuss@lists.PLUG.phoenix.az.us
Subject: Re: sar substitute for Linux?
On Apr 19, 9:30am, Simper, Brian D wrote:
> I am trying to configure Tivoli to function on some Linux servers at work.
> I am trying to get certain bits of information from the system that do not
> seem readily available. First, there is no native sar command, which, as
> you probably know, is commonly used on other UNIX flavors to obtain File
> Table Space.
>
> Also, is there a command to obtain Processor Status information? Short of
> upgrading the kernel and installing packages external to RedHat 6.2, do
you
> know of any work-arounds?
>
> File Table Space:
> HPUX: sar -v 1 1 | tail -1 | awk '{print $8}'
>
> Processor Status:
> BSDi: /usr/local/bin/cpustat
> Solaris: /usr/sbin/psrinfo | grep -c "off-line"
sar does exist on my Red Hat 7.0 box.
sysctl exists in both Red Hat 6.2 and 7.X
If all else fails, you can just query /proc.
Kevin
________________________________________________
See
http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post
to the list quickly and you use Netscape to write mail.
PLUG-discuss mailing list -
PLUG-discuss@lists.PLUG.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss