Skip to content
This repository has been archived by the owner on Apr 12, 2019. It is now read-only.

Latest commit

 

History

History
30 lines (20 loc) · 1.31 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.31 KB

spacegrind

Disk usage analyzer which produces output in Cachegrind format. Program scans directory and collects information about file sizes and its count. Produced output is suitable for kcachegrind and qcachegrind analyzers, which can visualize file count and space breakdown for you.

This tool can be useful when:

  • you don`t want to rerun directory scan every time when you want to see allocated space breakdown
  • you want to share scan results with others
  • you have big file hierachy tree but storage server has insufficient amount of RAM to aggregate disk usage breakdown

Usage

Scan directory /data and save profiling output to file cachegrind.out.spacegrind:

./spacegrind /data > cachegrind.out.spacegrind

Do the same thing and compress output on the fly:

./spacegrind /data | gzip -c > cachegrind.out.spacegrind.gz

Compatibility

Program output is known to be compatible with kcachegrind and qcachegrind.

Screenshots

kcachegrind Full size