On 21/04/2007 09:15, r.stricklin wrote:
On Apr 20, 2007, at 10:10 PM, Scott Quinn wrote:
Sun has (on the Ultras) prtdiag from Solaris,
can't recall what IBM
has under AIX but it isn't as instructive. Linux has stuff in /proc
that lists everything.
You might think AIX is "less instructive" if you only know lsdev. Try
'lscfg -vp' and then tell me what you think. (@;
There's also lsattr and lsconf. It just depends on what you want to know.
I find Linux's interface (text files in /proc and /sys) to be horrific.
hinv on SGI reports more or less detail depending on your platform. For
example, it returns a whole lot less data on an Indy than it does on
your Onyx2, even taking into consideration that there is a whole lot
less hardware in an Indy.
HP-UX is the worst, though. At least there's graphinfo.
There's one tool that is fairly comprehensive and available for all the
above: sysinfo. One of its merits is that it saves having to learn a
bunch of different commands on different systems. It used to be free,
and you could download the sourcecode and compile it yourself. For
current versions, alas, there's a license fee, unless you are an
educational establishment (free license if your domain name ends in
.edu, .ac.uk, and several others), though some customers can still get
the source code. I have the source for an old version (3.4 final),
which says:
"Sysinfo is a program which shows various pieces of information about
the hardware and operating system software configuration of the host
it's run on. The original version was written to simply determine the
model name of a system for use in /etc/motd. It also supported a few
other pieces of information that were simple to obtain, but the method
used to obtain the information on various different OS's varied. The
current version shows many different "general" bits of system
information as well as fairly detailed information about system
hardware devices (disk drives, frame buffers, tape drives, etc.),
kernel variables, and system configuration information. A lot of the
information Sysinfo displays is difficult, if not impossible, to
determine by normal OS commands and/or files after boot time on many
OS's.
[...]
Supported platforms
Sun SPARC / (various versions of SunOS)
x86 / SunOS
IBM RS6000 / AIX
SGI IRIX
HP9000 / HP-UX
Convex SPP / SPP-UX"
It's from a company called MagniComp Systems if you want to look it up
on the Internet. Or contact me off-list if you want a copy of the tar
file for version 3.4-final -- the copyright file says it's freely
distributable.
--
Pete Peter Turnbull
Network Manager
University of York