aboutsummaryrefslogtreecommitdiff
path: root/bin/pph
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pph')
-rwxr-xr-xbin/pph5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/pph b/bin/pph
new file mode 100755
index 00000000..684aaafd
--- /dev/null
+++ b/bin/pph
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Run pp(1df) on args, prefix with machine hostname
+hostname=$(hostname -s) || exit
+pp "$@" |
+sed 's_^_'"$hostname":'_'