LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-02-2006, 08:17 AM   #1
andrew.deackes
LQ Newbie
 
Registered: Oct 2006
Posts: 1

Rep: Reputation: 0
Question command to find hardware platform?


Hi,

I have ssh access to a server and would like to know what hardware it is running on. Is there a command which will show this? Something like prtdiag in solaris which would show the hardware platform, processor speed, memory etc? The server is running 2.4.18-10smp.

I'm sure this is a simple question so I apologise for my ignorance.

Andy
 
Old 10-02-2006, 11:14 AM   #2
terracotta
Member
 
Registered: Nov 2005
Location: UK
Distribution: Ubuntu
Posts: 48

Rep: Reputation: 15
I should think 'lshw' would give you the information you need. A word of warning though. From my limited experience lshw may not be default installed on all distros. I got a 'command not found' in Fedora Core 5, although to be honest that may have been down to me - I may have done a 'su' rather than a 'su -'. I can't remember. It does work in Ubuntu and I've just checked in PCLinuxOS. Fine there too - as long as you 'su -' and not 'su',

Last edited by terracotta; 10-02-2006 at 11:16 AM.
 
Old 10-02-2006, 11:35 AM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
how about one of the following

cat /proc/cpuinfo

Code:
@itg-debian:~/zcode$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 10
cpu MHz         : 930.391
cache size      : 256 KB
cpuid level     : 2
.
.
.
If you can't tell the architecture from that command something is wrong

cat /proc/meminfo

take a look at the other entries in /proc that you can query.

lspci quick list of hardware on the system bus..




That lshw is pretty slick once it's installed..
I just installed it to take a look.
thanks for the heads up on that one.
 
Old 10-02-2006, 11:49 AM   #4
terracotta
Member
 
Registered: Nov 2005
Location: UK
Distribution: Ubuntu
Posts: 48

Rep: Reputation: 15
About 'lshw' - got me thinking. I'm in Fedora now. Yes, it's installed in Fedora all right. You have to 'su -' of course. Silly me.
 
Old 10-02-2006, 03:26 PM   #5
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
Doesn't come with FC5. Found it in Dries repo though. I use Livna with yum and Dries conflicts, so had to download from http://apt.sw.be/dries/packages/lshw/ and install with rpm -Uvh lshw*
 
Old 10-02-2006, 05:30 PM   #6
terracotta
Member
 
Registered: Nov 2005
Location: UK
Distribution: Ubuntu
Posts: 48

Rep: Reputation: 15
Quote:
Originally Posted by Crito
Doesn't come with FC5. Found it in Dries repo though. I use Livna with yum and Dries conflicts, so had to download from http://apt.sw.be/dries/packages/lshw/ and install with rpm -Uvh lshw*
You're quite right. I was using my desktop for my last post and I must have installed lshw on it some time ago and completely forgotten that I had. Just checked my laptop and - sure enough - 'command not found'.

But by using yumex I found something else, also in Dries - lshw-gui, a Gtk+ front-end for lshw (as it proclaims itself). I've installed them both on my laptop now and lshw-gui is... OK-ish. I can't find a menu entry so I had to run 'lshw-gui' from a terminal. It's a pretty app window but... well, see for yourself.

I only enable Livna for the nvidia driver updates to avoid those repository conflicts.
 
  


Reply



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
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 07:19 PM
how to run programmes made for windows platform in linux platform... compugeek2006 Linux - Software 1 06-26-2006 09:34 PM
Hardware RAID monitoring on Intel Server Platform SR1425BK1-E istvank Linux - Hardware 0 02-25-2006 06:52 AM
how to know a src.rpm package what support hardware platform jiawj Red Hat 1 11-21-2004 02:47 AM
hardware name/platform/CPU type? chinmay nautiya Linux - Software 2 08-19-2003 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:39 AM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration