aboutsummaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2019-10-16 14:07:46 +0200
committerPatrick Spek <p.spek@tyil.nl>2019-10-16 14:07:46 +0200
commitf462ed64b5b0e7705fe4eba499bcb1cefe0db047 (patch)
treecfefa8cd44ea2b3ddcd669ee00efaee2088c8ed1 /.local
parent702f60eb68723cd984a6a4dd7a5c70e5bc3e3cb0 (diff)
Add load script
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/load8
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/bin/load b/.local/bin/load
new file mode 100755
index 0000000..e751bcf
--- /dev/null
+++ b/.local/bin/load
@@ -0,0 +1,8 @@
+#!/usr/bin/env sh
+
+main()
+{
+ awk '{print $1, $2, $3}' /proc/loadavg
+}
+
+main "$@"