Hardware configuration
Hello,
I'm working on a script that tries to find out all the information regarding the parameters of the system. I'm working from a red hat enterprise edition linux but would like the script to work in most linux distros. Please help me with any command you can find in this regard. I have already used /proc/cpuinfo , meminfo , dmidecode , top , hdparm , fdisk, smartctl , systool Thanks for the time Nithin |
lspci and lsusb
|
sorry didn't mention
used that as well |
If you have already tried all those things, then tell us what additional functionality you need.
|
Hi,
What have you attempted to date? Do you have a sample so we can assist? What about 'lshw'? The 'lshw' package is not always available but can be installed. |
I need to find out about lvm parameters,filesytem,kernel and tape drives. ALso plug and play devices, printer ,monitor,camera etc.
Commands I have used dmidecode lspci cat /proc/cpuinfo cat /proc/meminfo cat /proc/interrupts cat /proc/IOports cat /proc/bus/ usb,input lsusb systool hdparm fdisk smartctl lvm pvs df -aTh mount -l cat /etc/fstab sysctl -a top Are there more? I'm doin this so as to get familiar with hardware devices in various machines So I don't want to spend time installing lshw in all of them Thanks again..... |
lshw does an awesome job of getting the majority of hardware info. it's my tool of choice for that task as well. Takes less time to install lshw than to run all those separate commands imho.
lshal, hwinfo, report-hw are a couple other tools you missed. |
All times are GMT -5. The time now is 10:02 PM. |