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

  • 1 Utenti hanno trovato utile questa risposta
Hai trovato utile questa risposta?

Articoli Correlati

Dedicated Servers

Dedicated server is a type of remote server that is entirely dedicated to an individual,...

Update rDNS

You can update the Reverse DNS for server IP by using your client area, We have developed a User...

RAID levels

RAID (Redudnat Array of Independent Disks) is a way of storing the same data in different places...

How to assign multiple IP addresses to one network interface on CentOS

The practice of configuring multiple IP addresses on a particular network interface is called IP...

Features of Dedicated servers

ScopeHosts dedicated servers provides you ulitmate power, security and control, you will get full...