aboutsummaryrefslogtreecommitdiff
path: root/bin/pph
blob: 7987382fe6157bbf4f73fee9eb8e771c0926e7c9 (plain) (blame)
1
2
3
4
5
#!/bin/sh
# Run pp(1df) on args, prefix with machine hostname
hn=$(hostname -s) || exit
pp "$@" |
awk -v hn="$hn" '{ print hn ":" $0 }'