LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need a linux command which will give me Manufacturer and Model of the Linux box (https://www.linuxquestions.org/questions/linux-newbie-8/need-a-linux-command-which-will-give-me-manufacturer-and-model-of-the-linux-box-606480/)

adastane 12-13-2007 04:15 AM

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.

adastane 12-13-2007 04:26 AM

Hello,
Need a linux command which will give me Manufacturer and Model of the Linux box.

Regards,
Adastane.

brianmcgee 12-13-2007 05:04 AM

I think that only dmidecode will provide you this information. However regular users may not use this command.

jschiwal 12-13-2007 05:22 AM

Try "lshal | grep system\.hardware". The information is spread across several items.

Dinithion 12-13-2007 05:24 AM

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 :)

adastane 12-13-2007 06:00 AM

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.

nick021 12-13-2007 06:26 AM

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..

adastane 12-14-2007 12:20 AM

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.