dotfiles/dot_config/tmux/plugins/executable_mem_perc

7 lines
178 B
Plaintext
Raw Normal View History

2021-06-17 17:21:38 -04:00
#!/bin/bash
this_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
source "$this_dir/common"
free | grep Mem | awk '{ printf("%.5f", $3/$2) }' | fmt_percent