We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d086613 commit 8691e87Copy full SHA for 8691e87
uptime.awk
@@ -0,0 +1,7 @@
1
+#
2
+# Example:
3
4
+# get the total load average mean
5
+
6
+BEGIN{FS="(:|,) +"}
7
+{printf "Load average mean: %0.2f\n", ($(NF-2)+$(NF-1)+$(NF))/3 }
0 commit comments