SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

partition_usage.sh

This script will use the df command to show the partition usage in megabytes (-m flag to df). It will get the total partition size, the used space and the free space. If you want to visualize it in a different base unit, say kbytes, alter the df flag in the partition_usage.sh script.
This script requires a parameter to work. You must show what is the partition the script will get information for. Like this:
command=/path/to/partition_usage.sh sda5


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.