https://github.com/dastergon/tmux-load-avg
tmux plugin that displays the system load average in the last 1, 5 and 15 minutes.
https://github.com/dastergon/tmux-load-avg
tmux tmux-plugins
Last synced: 9 months ago
JSON representation
tmux plugin that displays the system load average in the last 1, 5 and 15 minutes.
- Host: GitHub
- URL: https://github.com/dastergon/tmux-load-avg
- Owner: dastergon
- License: mit
- Created: 2017-03-20T13:33:40.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-20T19:08:26.000Z (over 8 years ago)
- Last Synced: 2025-04-03T00:04:08.714Z (about 1 year ago)
- Topics: tmux, tmux-plugins
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tmux-load-avg
This is a `tmux` plugin that displays the system load average in the last 1, 5 and 15 minutes.
### Usage
Add `#{load_average}` format string to existing `status-right` tmux option.
Here's an example in `.tmux.conf`:
set -g status-right "Load:#{load_average} | %a %h-%d %H:%M "
### Installation with [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm) (recommended)
Add plugin to the list of TPM plugins in `.tmux.conf`:
set -g @plugin 'dastergon/tmux-load-avg'
Hit `prefix + I` to fetch the plugin and source it.
If format strings are added to `status-right`, they should now be visible.
### Manual Installation
Clone the repo:
$ git clone https://github.com/dastergon/tmux-load-avg ~/clone/path
Add this line to the bottom of `.tmux.conf`:
run-shell ~/clone/path/load_average.tmux
Reload TMUX environment:
# type this in terminal
$ tmux source-file ~/.tmux.conf
If format strings are added to `status-right`, they should now be visible.
## Special Credit
This plugin is based on the various plugins in [tmux-plugins](https://github.com/tmux-plugins) Github page.