1
0
Fork 0
mirror of synced 2024-12-21 06:21:06 -05:00

Merge branch 'loadavg-uptime-freebsd' into master, closes #293

This commit is contained in:
Gregory Pakosz 2020-09-13 14:19:10 +02:00
commit 0cdd643d6d

View file

@ -622,7 +622,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim
#
# _uptime() {
# case "$_uname_s" in
# *Darwin*)
# *Darwin*|*FreeBSD*)
# boot=$(sysctl -q -n kern.boottime | awk -F'[ ,:]+' '{ print $4 }')
# now=$(date +%s)
# ;;
@ -656,7 +656,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim
#
# _loadavg() {
# case "$_uname_s" in
# *Darwin*)
# *Darwin*|*FreeBSD*)
# tmux set -g @loadavg "$(sysctl -q -n vm.loadavg | cut -d' ' -f2)"
# ;;
# *Linux*|*CYGWIN*)