PDA

View Full Version : [ubuntu] whats the command line to see the all the specs?



shiningkenmonster
June 2nd, 2009, 05:01 AM
i was just curious what are the specs of this server that i am connected to via shh.

what is the command to tell what kind of specs the server is running?
you know like harddrive space, what hardware it is using.

cak3
June 2nd, 2009, 05:19 AM
Well, I know there is a package called hwinfo that can do that, but It would either have to be installed on the server or else you would need permission to install software...

in any case, you can simply install it via apt-get if you have permission:

sudo apt-get install hwinfo

I also know that he command df reports free HDD space
use
df -h to output it in a human readable format (hence the -h flag).


cat /proc/cpuinfo should give you the cpu info, assuming you have read permissions for /proc, or at least that file.


I don't know of a single, built-in command to see the specs though.

y@w
June 2nd, 2009, 05:30 AM
Adding to that:

cat /proc/meminfo

will show the memory information.

Toshubu
June 2nd, 2009, 06:11 AM
i was just curious what are the specs of this server that i am connected to via shh.

what is the command to tell what kind of specs the server is running?
you know like harddrive space, what hardware it is using.

Try lspci and lsusb.

nhasian
June 2nd, 2009, 09:15 AM
what? no one suggested lshw?


sudo lshw

lisati
June 2nd, 2009, 09:17 AM
There are many ways of learning what's "under the hood". To the other suggestions I add:
sudo dmidecode

s.fox
June 2nd, 2009, 09:20 AM
Hi,

I found this (http://ubuntuforums.org/showthread.php?t=884431) thread in the archive.

Hope it helps you.

-Ash R