How do I check the trend of disk utilization in linux(centos specifically)

455 views Asked by At

I have a centos server which are running MySQL, kafka, and other services, I have separate LVM disks mounted to each of these services.

How do I get the trend of disk utilization for these services? Is there any specific command in Linux through which I can check?

I want to make sure I will not be out of disk space in the coming days.

Thanks.

1

There are 1 answers

2
Efi Weiss On

The df command will output the info you desire. you may create a periodic script that checks on it.