LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Tags used in this thread
Popular LQ Tags , , , , , , , , ,

Reply
 
Thread Tools
Old 12-13-2007, 05:15 AM   #1
adastane
LQ Newbie
 
Registered: Dec 2007
Posts: 13
Thanked: 0
Question Need a linux command which will give me Manufacturer and Model of the Linux box


[Log in to get rid of this advertisement]
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 is offline  
Tag This Post , , , , , , , , ,
Reply With Quote
Old 12-13-2007, 05:26 AM   #2
adastane
LQ Newbie
 
Registered: Dec 2007
Posts: 13
Thanked: 0

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

Regards,
Adastane.

Last edited by adastane; 12-13-2007 at 05:51 AM..
adastane is offline     Reply With Quote
Old 12-13-2007, 06:04 AM   #3
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 369
Thanked: 3
I think that only dmidecode will provide you this information. However regular users may not use this command.
brianmcgee is offline     Reply With Quote
Old 12-13-2007, 06:22 AM   #4
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 12,877
Thanked: 232
Try "lshal | grep system\.hardware". The information is spread across several items.
jschiwal is offline     Reply With Quote
Old 12-13-2007, 06:24 AM   #5
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 13/Kubuntu
Posts: 322
Thanked: 10
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
Dinithion is offline     Reply With Quote
Old 12-13-2007, 07:00 AM   #6
adastane
LQ Newbie
 
Registered: Dec 2007
Posts: 13
Thanked: 0

Original Poster
Thumbs up

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.
adastane is offline     Reply With Quote
Old 12-13-2007, 07:26 AM   #7
nick021
Member
 
Registered: Jan 2005
Location: india
Distribution: slackware 10.0 (kernel 2.4.26)
Posts: 104
Thanked: 0
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..
nick021 is offline     Reply With Quote
Old 12-14-2007, 01:20 AM   #8
adastane
LQ Newbie
 
Registered: Dec 2007
Posts: 13
Thanked: 0

Original Poster
Unhappy 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.
adastane is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
need a linux command which will give me Manufacturer and Model of the Linux box. adastane Solaris / OpenSolaris 3 12-13-2007 05:23 AM
memory manufacturer command hcclnoodles Solaris / OpenSolaris 4 10-19-2006 03:52 AM
Hey can any 1 give me a listing of cards that work with linux right out of the box? lucas2676 Linux - Wireless Networking 2 07-11-2004 04:24 AM


All times are GMT -5. The time now is 02:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration