1830241 Members
7991 Online
109999 Solutions
New Discussion

Re: System Info Commands

 
SOLVED
Go to solution
Kyle D. Harris
Regular Advisor

System Info Commands

I need to find out the following about each of our servers and am not familiar with any commands to list this. If anybody can list some commands and state which each does that'd be greatly appreciated.
I need to find out:

RAM, Processors, disk space

Thanks!
7 REPLIES 7
Alexander Chuzhoy
Honored Contributor

Re: System Info Commands

df -h
will print the free/occupied space in human readable format for all mounted partitions

free
will show you the state of memory + swap
cat /proc/cpuinfo
will show some info regarding CPU/CPUs

Steven E. Protter
Exalted Contributor
Solution

Re: System Info Commands

df gives you the filesystems

du -k or du -sk (summary) will give you more detail.

top or gtop will give you a handle on many perofrmance and other measures. gtop has a graphical display for fileystems thats pretty nice.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jerome Henry
Honored Contributor

Re: System Info Commands

Hi Kyle,

Alexander got it. I would add :
free -m will show your ram and swap in Megaoctets, easier to read.

df -h simplifies the reading, giving you low rounded value. df -H gives you upper rounded value, it may count on low space system.

No comment on cpuinfo, always astonished to see so many informations there !

J
You can lean only on what resists you...
Kyle D. Harris
Regular Advisor

Re: System Info Commands

hey guys, All i have left is to find out the Disk Space on each server.

The "gtop" command was not found. Top was found but was mostly about all the processes running and/or sleeping.

Whats a specific command to see the disk space on a server? Thanks for the help!
Alexander Chuzhoy
Honored Contributor

Re: System Info Commands

df -h shows the space left/occupied on mounted partitions



fdisk /dev/hda
then p to print -it'll show you the entire hard drive's space
if you have IDE , in other cases you'll have to find the drive (example /dev/sda for SCSI)


Vitaly Karasik_1
Honored Contributor

Re: System Info Commands

hwbrowser [RH only]
Martin P.J. Zinser
Honored Contributor

Re: System Info Commands

Hello,

if you are on SuSE hwinfo will give you this and much more information. You might want to write a script in case you need to check that on a regular basis.

Greetings, Martin