|
|
1.1 root 1: #!/bin/sh -p
2: pl -ag \
3: | awk '/^Name:/ { name = $2; }
4: /^Shares:/ { shares = $2 }
5: /^Allocated share:/ { ashare = $3 }
6: /^Effective share:/ { eshare = $3 }
7: /^Normalised usage:/ { printf("%-10sShares:%4s Share:%8s E-Share:%9s Usage:%13s\n", name, shares, ashare, eshare, $3); }' \
8: | sort -t: +4nr -5 +3n
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.