theniceboy/tmux/tmux-powerline/segments/load.sh
2020-05-07 13:42:03 -04:00

6 lines
120 B
Bash
Executable file

# Print the average load.
run_segment() {
uptime | cut -d "," -f 3- | cut -d ":" -f2 | sed -e "s/^[ \t]*//"
exit 0
}