Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hectoras committed May 21, 2014
1 parent 890fb5d commit 1b2f57e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ ganglia-xfs-frag
================
Shell script for collecting fragmentation stats for mounted XFS filesystems using Ganglia.

This script is intended to run from the crontab as root so it can periodically collect filesystem fragmentation stats. Root access is required as xfs_db would require read only access to the block devices of the mounted filesystems. For scheduling script execution each 10 minutes run `crontab -e` as root and add this line:
This script is intended to run from the crontab as root so it can periodically collect filesystem fragmentation stats. Root access is required as xfs_db would require read only access to the block devices of the mounted filesystems. For scheduling script execution each 10 minutes run
`crontab -e`
as root and add this line:

*/10 * * * * /path/to/gmetric_xfs.sh
`*/10 * * * * /path/to/gmetric_xfs.sh`

0 comments on commit 1b2f57e

Please sign in to comment.