How we can Check Disk space and RAM on servers

Disk Space:
Linux has a strong built in utility called ‘df‘. The ‘df‘ command stand for “disk filesystem“, it is used to get full summary of available and used disk space usage of file system on Linux system as follows:

# df

The df command provides an option to display sizes in Human Readable formats by using ‘-h’ (prints the results in human readable format (e.g., 1K 2M 3G)).

# df -h

RAM:

You can use the following commands to find out actual RAM usage on server

/proc/meminfo

It gives us the detailed usage about memory on the server. This file is used by free and many other commnads to display the amount of free and used memory( physical and SWAP) on the server as well as the shared memory and buffer memory used by the kernal.

# less /proc/meminfo
Or
# cat /proc/meminfo

You can use free command, It provide human readable output to show you the total amount of free and used physical memory and SWAP memory on the server as well as buffers by the kernal,
# free -m
Or
# free -g

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How To Clear Your Cache ?

What is Cache? A Cache is a block of memory used for temporary storage of data (ie: webpages,...

Easily Install cPanel or WHM panel

LicenseIf you are doing not have own license for cPanel & WHM, you would like to get...

How to Install UnrealIRCd on a CentOS 7

UnrealIRC is that the hottest IRC server.Be sure to create and run the IRCd as a daily user and...

How to Check OS version of linux server

You can check the worker OS renditions and other data like dispersion name and bit form by...

What is Proxy Servers?

What is Proxy Servers? Intermediary worker is a PC that sits between a customer PC and the...