From 07fc2644a237187dd4c5680e88f4adadbf533603 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Wed, 12 Aug 2015 12:06:23 -0600 Subject: Initial commit of the working files --- segments/load.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 segments/load.sh (limited to 'segments/load.sh') diff --git a/segments/load.sh b/segments/load.sh new file mode 100755 index 0000000..7480d96 --- /dev/null +++ b/segments/load.sh @@ -0,0 +1,6 @@ +# Print the average load. + +run_segment() { + uptime | cut -d "," -f 3- | cut -d ":" -f2 | sed -e "s/^[ \t]*//" + exit 0 +} -- cgit v1.2.3