Monthly Archives: April 2009

Handy Hints: Emptying log files

When emptying log files, don’t just rm log_file.log as the disk space won’t be freed until the application that is logging is restarted. It is better to use > log_file.log as that will allow the file system to free the … Continue reading

Posted in How-to, sys-admin | Tagged , | Leave a comment

Handy Hints: What is using up my disk space?

Here are some commands I use to find out what is eating all of my disk space on a remote server: df -h Shows how much disk space is available. The -h means that you get G for gigabytes, M … Continue reading

Posted in How-to, sys-admin | Tagged | Leave a comment