You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
conf | 2 years ago | |
man | 2 years ago | |
src | 2 years ago | |
.gitignore | 8 years ago | |
LICENSE | 8 years ago | |
README | 2 years ago | |
setup.py | 2 years ago |
README
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/>.