Using df command where df stands for disk filesystem. Example:
df -h --> Display information in human readable format. Disk space value is displayed in GB and MB
df -m --> display in MB
Using du command where du stands for disk usage. Example:
du -h --> Show the size of the folder
du -h --time --> Display the last modification time
fdisk command is used to monitor the partition of the disk and can do delete, create, move and copy disk partition as well. But required root privilege.
sudo fdisk -l --> Retrieve information on all available partition on operating system
sudo fdisk -l
- For Resources #2
Using free command to get the overview information on the detail used for computer memory and swap.
Example:
Column in the output represent information that is shown in the table below.
free -h
free -m
Pro: Can be easily understood and it provide summation
Con: It is not detailed and it only shows the overview
To get more detailed information, is to view meminfo which can be done by typing the command:
cat /proc/meminfo
Other commands: top, htop
- For Resources #3
top
list of all the processes that are currently running
readout of users, tasks, CPU load, and memory usage
The resources can be classified as:
- For Resources #1
Using df command where df stands for disk filesystem. Example:
Using du command where du stands for disk usage. Example:
fdisk command is used to monitor the partition of the disk and can do delete, create, move and copy disk partition as well. But required root privilege.
- For Resources #2
Using free command to get the overview information on the detail used for computer memory and swap.
Example:
Column in the output represent information that is shown in the table below.
Pro: Can be easily understood and it provide summation Con: It is not detailed and it only shows the overview
To get more detailed information, is to view meminfo which can be done by typing the command:
Other commands: top, htop
- For Resources #3
top
Example output after running top command:
- For Resources #4
To check all process: