• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hardware Config of a Unix box  RSS feed

 
Mahesh Mamani
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Is there any way we can get the H/W config of a Unix system.
We have uname -a to get the basic info of the system, is there any command for h/w config???
Just curious...

Mahesh
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what you mean, exactly. What sort of informatiopn about the hardware config are you interested in? Do you need it in a machine-readable format or just for a human to look at?
Also, which sort(s) of Unix systesms are you interested in.
For a human-readable list of most of the hardware details, try "dmesg" or (if your system supports them) try looking in any of the non-numeric directories in the the /proc filesystem.
Has this helped, or were you looking for something else ?
 
Mahesh Mamani
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Frank,
The config was in terms of the CPU speed, memory availability, number of CPUs etc.
Yeah the command(dmesg) is worthwhile.
Thanks for the info.

Mahesh
 
Tim Holloway
Saloon Keeper
Posts: 18797
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also find out a lot from /proc. Additionally there are various utilities such as lspci, the USB utilities, and driver info available from lsmod. The /proc filesystem is especially useful - many of the other programs are simply gathering and displaying info from /proc.
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unfortunately, in a lot of Unix variants /proc (if present at all) just contains numeric ids for the current processes. Linux puts so much other useful stuff in there that I really miss it on the SOlaris and DEC Unix systems I use from time to time. Does anyone know what /proc support there is in the various bsd implementations ?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!