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 |
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', :)
|
how about one of the following
cat /proc/cpuinfo Code:
@itg-debian:~/zcode$ cat /proc/cpuinfo 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. |
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. :rolleyes:
|
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*
|
Quote:
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. |
All times are GMT -5. The time now is 04:26 PM. |