From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,15869ab0778eeba7,start X-Google-Attributes: gidf8c9b,public X-Google-Thread: fc89c,15869ab0778eeba7,start X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,15869ab0778eeba7,start X-Google-Attributes: gidfee84,public X-Google-Thread: 1020c6,15869ab0778eeba7,start X-Google-Attributes: gid1020c6,public X-Google-Thread: 115614,15869ab0778eeba7,start X-Google-Attributes: gid115614,public X-Google-Thread: 11035d,15869ab0778eeba7,start X-Google-Attributes: gid11035d,public X-Google-Thread: f678f,15869ab0778eeba7,start X-Google-Attributes: gidf678f,public From: Nick Wagg Subject: Get CPU speed and total memory Date: 1999/03/05 Message-ID: <36DFCAF9.411D@lsl.co.uk>#1/1 X-Deja-AN: 451533583 Distribution: inet Content-Transfer-Encoding: 7bit Followup-To: comp.unix.misc Content-Type: text/plain; charset=us-ascii Organization: Laser-Scan Ltd. Mime-Version: 1.0 Newsgroups: comp.unix.admin,comp.unix.aix,comp.unix.osf.misc,comp.unix.osf.osf1,comp.unix.programmer,comp.unix.questions,comp.unix.solaris 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.