| | |
Required Hardware information in Linux & solaris.
Please support our Shell Scripting advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Apr 2006
Posts: 148
Reputation:
Solved Threads: 40
if you are really developing an intranet application, then ask the administrator to assign you the proper rights to those commands necessary for your work. don't try anything that is not allowed by your company policy.
•
•
Join Date: Oct 2007
Posts: 399
Reputation:
Solved Threads: 47
Try hwinfo, kudzu, lspci, lsusb, dmidecode, etc. You can also find this information in the /proc filesystem in plain-text format (for instance /proc/meminfo).
Hope that helps
, Mike
Hope that helps

, Mike
Linux and Unix Tips, Tricks and Individual Advice - The Linux and Unix Menagerie!
------------------------------------------------------------------------
The greatest viral marketing idea of all time, get your copy of this Free Report now!
------------------------------------------------------------------------
The greatest viral marketing idea of all time, get your copy of this Free Report now!
•
•
Join Date: Jan 2008
Posts: 17
Reputation:
Solved Threads: 0
Hi eggi, i tried these commands on linux (havent yet checked for solaris) but they are not working. Information was available in /proc/meminfo but it couldn't give me the type of RAM (like RDRAM, SDRAM etc.) and it couldn't give the number of memory modules.
•
•
Join Date: Oct 2007
Posts: 399
Reputation:
Solved Threads: 47
Hey There,
What version/flavor of Linux are you running? Can you post the output of the following commands:
uname -a
cat /etc/release
cat /etc/issue
id
echo $PATH
Just want to be able to help you out if you have a different version than I've ever used, or perhaps an older one with similar but differently named commands.
Thanks
, Mike
What version/flavor of Linux are you running? Can you post the output of the following commands:
uname -a
cat /etc/release
cat /etc/issue
id
echo $PATH
Just want to be able to help you out if you have a different version than I've ever used, or perhaps an older one with similar but differently named commands.
Thanks

, Mike
Linux and Unix Tips, Tricks and Individual Advice - The Linux and Unix Menagerie!
------------------------------------------------------------------------
The greatest viral marketing idea of all time, get your copy of this Free Report now!
------------------------------------------------------------------------
The greatest viral marketing idea of all time, get your copy of this Free Report now!
•
•
Join Date: Oct 2007
Posts: 399
Reputation:
Solved Threads: 47
Actually,
Now that you mention you're using Solaris, also. Here's a link to a page with commands for lots of different OS's and versions
http://www.pafumi.net/Unix_Command_Translator.html
Also, for Linux, check out this project (It's packed in rpm format for ease of installation) called "lshw" - it's very easy to use and has been a help to me in the past when I needed to get some info and couldn't seem to find it:
http://ezix.org/project/wiki/HardwareLiSter
Best wishes,
Mike
Now that you mention you're using Solaris, also. Here's a link to a page with commands for lots of different OS's and versions
http://www.pafumi.net/Unix_Command_Translator.html
Also, for Linux, check out this project (It's packed in rpm format for ease of installation) called "lshw" - it's very easy to use and has been a help to me in the past when I needed to get some info and couldn't seem to find it:
http://ezix.org/project/wiki/HardwareLiSter
Best wishes,
Mike
Linux and Unix Tips, Tricks and Individual Advice - The Linux and Unix Menagerie!
------------------------------------------------------------------------
The greatest viral marketing idea of all time, get your copy of this Free Report now!
------------------------------------------------------------------------
The greatest viral marketing idea of all time, get your copy of this Free Report now!
![]() |
Other Threads in the Shell Scripting Forum
- Previous Thread: Comparing two variables
- Next Thread: Unixx shel script - combing information from 2 files into one useing looping structur
| Thread Tools | Search this Thread |





