1
0
Fork
You've already forked ncmon
0
A simple, programmable ncurses based system resources monitor.
  • Python 100%
Find a file
2024年12月26日 21:59:02 +01:00
conf commit 2020年05月08日 13:36:58 +02:00
man updated author's email 2024年12月26日 21:59:02 +01:00
src updated author's email 2024年12月26日 21:59:02 +01:00
.gitignore excluded .pyc .pyo 2015年01月04日 23:20:46 +01:00
LICENSE First commit 2014年06月20日 15:43:18 +02:00
README commit 2020年05月08日 13:36:58 +02:00
setup.py commit 2020年05月08日 13:36:58 +02:00

Installation notes:
 - As root, do 'python setup.py install'
Features:
ncmon will simply display some bars (max 10 bars) which will contain some entries (max 20 entries per bar).
Entries are a sort of (text, output) elements: 'text' is the fixed string, the 'label', and 'output'
is the output produced by a command provided by the user. 
Each bar has its own colors (background and foreground); by default, each entry inherits 
the colors and the font type (normal|bold) of the bar to which it belongs, 
but there is the possibility to override these attributes. 
Depending on the output value (for each entry), it is possible to compare 
this value with another one provided by the user to trigger an 'alert' (max 5 alerts per entry). 
By default, alerts invert the colors of entries every second, but customizing the alert colors is also possible; 
in addition, every alert supports custom actions to be performed once it triggers (or just when it "stops"). 
ncmon can also read from a named pipe in order to update an entry instantly (this is useful, for example,
to instantly display volume variations). 
Some actions are performed by pressing specific keys: 
 'c' randomly change colors (entries have the same colors of bars)
 'C' randomly change colors (each entry has its own random color)
 'r' reload the program (reparsing the configuration file)
 'q' quit
See the ncmonrc.sample file for all the details.
# ncmon : a customizable ncurses system monitor
# Written by Francesco Palumbo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.