Sunday, February 04, 2007

Determine Available Space on a Filesystem

Lately our /var filesystem has been filling up and causing problems. How did we know that particular filesystem was filling up? We executed a UNIX command that provided a snapshot of all the filesystems.

Here's the command:

#df -k
shows the space status of all the filesystems on the system in kilobytes

Or you can be specific about the filesystem
#cd /var
#df -k .

2 comments:

Peter said...

Thanks for your post; I can never remember this command when I need it.

esofthub said...

Peter, that was my biggest intention/motivation for this blog...these posts are basically reminders. Glad you found it helpful. Thanks for commenting.