MagniComp Home Page Know IT allTM
May 16, 2008 Home Customer Services Pricing Downloads Support Contact Us
SysInfo
Related
Products
SysInfoTM
Total system and storage asset inventory information for Linux, Mac, UNIX, and Windows.
 
StorSys ProTM
Total SAN/NAS Storage System information.TM
 
RDist
Remote software distribution system.
Search
 

SysInfo Solutions Center

System Model in a shell script

If you have a UNIX shell script and wish to obtain the system model or similiar data via SysInfo, you can use the shell double backtic (``) to get this information from SysInfo. The follow sample sh(1) script gets the system model and prints it out:

#!/bin/sh

model=`/opt/sysinfo/bin/sysinfo --show model`
echo "System Model is $model"
exit 0

This same method can easily be used to obtain similiar information such as system memory, CPU Model, CPU Speed, etc. To see a list of arguments valid for use with --show run the command:

/opt/sysinfo/bin/sysinfo --nw --list show


Current: 8
All Releases
Let us know what's on your mind! Send us feedback
May 1, 2008: AIX 6.1 and Windows Server 2008 are now supported with version 8-H10 and later. Download

Feb 4, 2008: SysInfo 8 is a major new release now available featuring support for Software Discovery LanguageTM, enhanced BIOS, and much more. (More...) Download

Oct 30, 2006: SysInfo 7.0.1 release contains multiple bug fixes and is recommend for all version 7 customers. (More...) Download

Aug 8, 2006: SysInfo 7 GA is a major new release now available featuring support for Virtual Machines, System Services, Patches, and much more. (More...) Download
Want to Receive Announcements?
If you wish to receive announcements about new releases of SysInfo, please Register with us.
© Copyright 1992-2008 MagniComp