Need a linux command which will give me Manufacturer and Model of the Linux box
Hello Team,
I need a linux command which will give me Manufacturer and Model of the Linux box. The constraint is, it should work for both root and non root user. Thanks is advance for your help. Regards, Adastane. |
Hello,
Need a linux command which will give me Manufacturer and Model of the Linux box. Regards, Adastane. |
I think that only dmidecode will provide you this information. However regular users may not use this command.
|
Try "lshal | grep system\.hardware". The information is spread across several items.
|
lshw (Got to run as root) will give you a lot of information. It doesn't recognize if its a dell or whatever brand (since they only mount computer parts). It will however give you a lot of information like the MB vendor, firmware, CPU, socket, RAM vendor, and lots of nice information.
Not every distro come with lshw, but it's out there - somewhere :) |
I want to Thank all of your for your quick reply :).
So here is my conclusion. 1) dmidecode command will give me system information with root user and not with non root user. 2) lshw is a third party utility which also gives the same information (only root user). 3)"lshal | grep system\.hardware" command didnt given me sufficient info. With Regards, Adastane. |
hello adastane..
here are few cmd that might help 1. /sbin/lspci -> h/w info 2. lspci -> chipset and pci bus info 3. dmesg -> sys info 4. dmesg | tail -> search all devices attached to the sys. 5. /proc/cpuinfo -> cpu info 6. /etc/issue -> version info 7. lsmod -> kernel info 8. uname -r -> kernel info i hope this might help u... want sth more specific let me know.. |
Am still seraching the exact command...
Thanks nick021...
I have verified the commands,but I am still finding the exact command which will work with root and non root user and give me Manufacturer and Model of Linux hardware box. Regards, Adastane. |
All times are GMT -5. The time now is 09:31 PM. |