Linux 101 : Monitoring storage usage
To monitor the disk usage for our mounted filesystems, we could use the below command:
- -h : outputs the results in human-readable format - gigabyte or megabyte -.
In an almost full system, we could determine which directories on a filesystem are using up a lot of disk space.
To check the size of a directory in kilobytes, we use the following - for example for the "/usr" directory -:
When this happens, we get a error when trying to create a new file or directory.
To get information about inode - used, available, ... -, we use the below command:
Comments