Linux utilities: `watch` and `df`

I’ve been using these two tools a lot lately:

df – Display the amount of free space on your disks

watch – Run a command repeatedly, refreshing once every 2 seconds by default

My work involves a large amount of logging, so disk space needs to be monitored fairly closely. I use these utilities in conjunction with each other to keep track of how quickly I’m running out of disk space.

I find this script useful, too. However, because it recursively runs on every level below the working directory, it can take a while.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s