All Projects → thewtex → Tmux Mem Cpu Load

thewtex / Tmux Mem Cpu Load

Licence: apache-2.0
CPU, RAM, and load monitor for use with tmux

Projects that are alternatives of or similar to Tmux Mem Cpu Load

Sri
Build truly native cross platform (web,ios,android) apps using scalajs and react, react-native ,This project moved to new organization : https://github.com/scalajs-react-interface/sri#sri, new chat room : https://gitter.im/scalajs-react-interface/sri
Stars: ✭ 640 (-14.21%)
Mutual labels:  cross-platform
Cutelyst
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
Stars: ✭ 671 (-10.05%)
Mutual labels:  cross-platform
Expo Crossy Road
🐥🚙 Crossy Road game clone made in Expo (iOS, Android, web), THREE.js, Tween, React Native. 🐔
Stars: ✭ 701 (-6.03%)
Mutual labels:  cross-platform
Bareos
Main repository with the code for the libraries and daemons
Stars: ✭ 651 (-12.73%)
Mutual labels:  cross-platform
Hippy
Hippy is designed for Web developer to easily build cross-platform and high-performance awesome apps. 👏
Stars: ✭ 6,234 (+735.66%)
Mutual labels:  cross-platform
Carla
Open-source simulator for autonomous driving research.
Stars: ✭ 7,012 (+839.95%)
Mutual labels:  cross-platform
Copperspice
Cross platform C++ libraries
Stars: ✭ 630 (-15.55%)
Mutual labels:  cross-platform
Cf Tool
📊 Codeforces CLI (Submit, Parse, Test, etc.). Support Contests, Gym, Groups, acmsguru, Windows, macOS, Linux, 7 MB
Stars: ✭ 723 (-3.08%)
Mutual labels:  cross-platform
Sharppcap
Official repository - Fully managed, cross platform (Windows, Mac, Linux) .NET library for capturing packets
Stars: ✭ 665 (-10.86%)
Mutual labels:  cross-platform
Dotfiles
A repository that gathered files starting with dot
Stars: ✭ 701 (-6.03%)
Mutual labels:  tmux
Dotfiles
i3 + Plasma: using the i3 window manager on the top of KDE Plasma and other dotfiles, configurations, scripts, workarounds and practises from my Debian Sid machines.
Stars: ✭ 651 (-12.73%)
Mutual labels:  tmux
Wallet Core
Cross-platform, cross-blockchain wallet library.
Stars: ✭ 657 (-11.93%)
Mutual labels:  cross-platform
Argparse
Argument Parser for Modern C++
Stars: ✭ 680 (-8.85%)
Mutual labels:  cross-platform
Guitar
A Cross-Platform String and Regular Expression Library written in Swift.
Stars: ✭ 641 (-14.08%)
Mutual labels:  cross-platform
Flutter thrio
flutter_thrio makes it easy and fast to add flutter to existing mobile applications, and provide a simple and consistent navigator APIs.
Stars: ✭ 717 (-3.89%)
Mutual labels:  cross-platform
Vim Workshop
An accompanying vim configuration and tmux.conf for my vim + tmux video
Stars: ✭ 631 (-15.42%)
Mutual labels:  tmux
Brynet
A Header-Only cross-platform C++ TCP network library . Can use vcpkg(https://github.com/Microsoft/vcpkg/tree/master/ports/brynet) install
Stars: ✭ 674 (-9.65%)
Mutual labels:  cross-platform
Gopsutil
psutil for golang
Stars: ✭ 7,117 (+854.02%)
Mutual labels:  system-information
Qimgv
Qt5 image viewer with optional video support
Stars: ✭ 714 (-4.29%)
Mutual labels:  cross-platform
Conference App In A Box
Full stack & cross platform app customizable & themeable for any event or conference.
Stars: ✭ 693 (-7.1%)
Mutual labels:  cross-platform

============================================= tmux-mem-cpu-load


CPU, RAM, and load monitor for use with tmux_

.. image:: https://travis-ci.org/thewtex/tmux-mem-cpu-load.svg :target: https://travis-ci.org/thewtex/tmux-mem-cpu-load

.. image:: https://circleci.com/gh/thewtex/tmux-mem-cpu-load.svg?style=svg :target: https://circleci.com/gh/thewtex/tmux-mem-cpu-load

Description

A simple, lightweight program provided for system monitoring in the status line of tmux.

The memory monitor displays the used and available memory.

The CPU usage monitor outputs a percent CPU usage over all processors. It also displays a textual bar graph of the current percent usage.

The system load average is also displayed.

Example output::

2885/7987MB [||||| ] 51.2% 2.11 2.35 2.44

^ ^ ^ ^ ^ ^ ^ | | | | | | | 1 2 3 4 5 6 7

  1. Currently used memory.
  2. Available memory.
  3. CPU usage bar graph.
  4. CPU usage percentage.
  5. Load average for the past minute.
  6. Load average for the past 5 minutes.
  7. Load average for the past 15 minutes.

For terminals with 256 color support_, graded colors can be displayed by passing the --colors flag.

Installation

Dependencies

Currently, Linux, Mac OSX, FreeBSD, OpenBSD, and NetBSD are supported.

Building


* >= CMake_ -2.6
* C++ compiler with C++11 support (e.g. gcc/g++ >= 4.6)

Download
--------

There are links to the source code at the `project homepage`_.

Build
-----

::

  cd <source dir>
  cmake .
  make

Install
-------

::

  su -
  make install
  logout

Build and Install Using tpm_
-----------------------------

Include the plugin in your ``.tmux.conf``, the same file you'll set the
configuration in, below.

::

  set -g @plugin 'thewtex/tmux-mem-cpu-load'

Install with Package Managers
-----------------------------

* Gentoo: ``emerge tmux-mem-cpu-load``
* Homebrew: ``brew install tmux-mem-cpu-load``

Build and Install Using Antigen_
--------------------------------

Include the bundle in your ``.zshrc``

::

  antigen bundle thewtex/tmux-mem-cpu-load

Configuring tmux_
=================

Edit ``$HOME/.tmux.conf`` to display the program's output in *status-left* or
*status-right*.  For example::

  set -g status-interval 2
  set -g status-left "#S #[fg=green,bg=black]#(tmux-mem-cpu-load --colors --interval 2)#[default]"
  set -g status-left-length 60

If you installed using tpm, you must specify the full path to the
``tmux-mem-cpu-load`` script, like below::

  set -g status-right "#[fg=green]#($TMUX_PLUGIN_MANAGER_PATH/tmux-mem-cpu-load/tmux-mem-cpu-load --colors --powerline-right --interval 2)#[default]"

Note that the *interval* argument to `tmux-mem-cpu-load` should be the same number
of seconds that *status-interval* is set at.

Another optional argument is the number of bars in the bar graph, which
defaults to 10.  This can, for instance, be set to the number of cores in a
multi-core system.

The *colors* option will add graded colors for each of the measures.

The full usage::

  Usage: tmux-mem-cpu-load [OPTIONS]

  Available options:
  -h, --help
           Prints this help message
  -c, --colors
          Use tmux colors in output
  -p, --powerline-left
	  Use powerline left symbols throughout the output, enables --colors
  -q, --powerline-right
	  Use powerline right symbols throughout the output, enables --colors
  -i <value>, --interval <value>
          Set tmux status refresh interval in seconds. Default: 1 second
  -g <value>, --graph-lines <value>
          Set how many lines should be drawn in a graph. Default: 10
  -m <value>, --mem-mode <value>
        Set memory display mode. 0: Default, 1: Free memory, 2: Usage percent.
  -t <value>, --cpu-mode <value>
        Set cpu % display mode. 0: Default max 100%, 1: Max 100% * number of threads.
  -a <value>, --averages-count <value>
        Set how many load-averages should be drawn. Default: 3



Authors
=======

Matt McCormick (thewtex) <[email protected]>

Contributions from:

* cousine <[email protected]>
* Jasper Lievisse Adriaanse <[email protected]>
* Justin Crawford <[email protected]>
* krieiter <[email protected]>
* Mark Palmeri <[email protected]>
* `Pawel 'l0ner' Soltys`_ <[email protected]>
* Travil Heller <[email protected]>
* Tony Narlock <[email protected]>
* Compilenix <[email protected]>
* jodavies <[email protected]>
* `@nhdaly`_ (Nathan Daly) <[email protected]>


.. _tmux: http://tmux.sourceforge.net/
.. _CMake: http://www.cmake.org
.. _`project homepage`: http://github.com/thewtex/tmux-mem-cpu-load
.. _`tpm`: http://github.com/tmux-plugins/tpm
.. _`Antigen`: https://github.com/zsh-users/antigen
.. _`terminals with 256 color support`: http://misc.flogisoft.com/bash/tip_colors_and_formatting#terminals_compatibility
.. _`Pawel 'l0ner' Soltys` : http://l0ner.github.io/
.. _`@nhdaly` : http://github.com/nhdaly
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].