Skip to content

Shell script for collecting fragmentation stats for mounted XFS filesystems

Notifications You must be signed in to change notification settings

hectoras/ganglia-xfs-frag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

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 needs 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

About

Shell script for collecting fragmentation stats for mounted XFS filesystems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages