Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: Nick Wagg <nickw@lsl.co.uk>
Subject: Get CPU speed and total memory
Date: 1999/03/05	[thread overview]
Message-ID: <36DFCAF9.411D@lsl.co.uk> (raw)

I am trying to write a script which will interrogate the machine on
which it is running for such useful information about:
        CPU speed
        Total memory (RAM)
        Swap space

The idea is that it will be run by someone testing our software and
(s)he will copy the information on to the front of a test script.
This means that it should not require access to privileged commands
or data so, on OSF 1, uerf is out because the system log is protected.
The commands should run from an ordinary shell script which will run
on any machine without having to be installed with special privs either.

Given the nature of the problem, the commands will probably not be
portable but we can cope with that. The platforms I am primarily
interested in are:
        Sun/Solaris
        IBM/AIX
        Alpha/Digital Unix/OSF 1
        HP/HPUX

Suggestions of individual commands, or of widely available and portable
shareware would be most welcome.

TIA
-- 
Nick Wagg <>< (mailto:nickw@lsl.co.uk)    Laser-Scan Ltd, 
Software Project Manager                  Science Park, Milton Rd,
Tel: +44(0)1223 420414 (ext 213)          Cambridge, CB4 0FY, UK.
Fax: +44(0)1223 420044                    http://www.laser-scan.com/
Opinions expressed are attributable to me, not my employer.



             reply	other threads:[~1999-03-05  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-05  5:00 Nick Wagg [this message]
1999-03-05  5:00 ` Get CPU speed and total memory Davin Milun
1999-03-05  5:00   ` Cameron Laird
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox