Merge branch 'loadavg-uptime-freebsd' into master, closes #293
This commit is contained in:
commit
0cdd643d6d
|
@ -622,7 +622,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim
|
||||||
#
|
#
|
||||||
# _uptime() {
|
# _uptime() {
|
||||||
# case "$_uname_s" in
|
# case "$_uname_s" in
|
||||||
# *Darwin*)
|
# *Darwin*|*FreeBSD*)
|
||||||
# boot=$(sysctl -q -n kern.boottime | awk -F'[ ,:]+' '{ print $4 }')
|
# boot=$(sysctl -q -n kern.boottime | awk -F'[ ,:]+' '{ print $4 }')
|
||||||
# now=$(date +%s)
|
# now=$(date +%s)
|
||||||
# ;;
|
# ;;
|
||||||
|
@ -656,7 +656,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim
|
||||||
#
|
#
|
||||||
# _loadavg() {
|
# _loadavg() {
|
||||||
# case "$_uname_s" in
|
# case "$_uname_s" in
|
||||||
# *Darwin*)
|
# *Darwin*|*FreeBSD*)
|
||||||
# tmux set -g @loadavg "$(sysctl -q -n vm.loadavg | cut -d' ' -f2)"
|
# tmux set -g @loadavg "$(sysctl -q -n vm.loadavg | cut -d' ' -f2)"
|
||||||
# ;;
|
# ;;
|
||||||
# *Linux*|*CYGWIN*)
|
# *Linux*|*CYGWIN*)
|
||||||
|
|
Loading…
Reference in New Issue