mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-26 02:31:36 +03:00
OS specific arguments should be documented and reported #1180
This commit is contained in:
parent
25cdc370c5
commit
08e41ce943
1
NEWS
1
NEWS
@ -22,6 +22,7 @@ Bugs corrected:
|
||||
* NameError: name 'mode' is not defined in case of interrupt shortly after starting the server mode #1175
|
||||
* Crash on startup: KeyError: 'hz_actual_raw' on Raspbian 9.1 #1170
|
||||
* Add missing mount-observe and system-observe interfaces #1179
|
||||
* OS specific arguments should be documented and reported #1180
|
||||
|
||||
Backward-incompatible changes:
|
||||
|
||||
|
@ -288,11 +288,11 @@ Command-Line Options
|
||||
|
||||
.. option:: --hide-kernel-threads
|
||||
|
||||
hide kernel threads in process list
|
||||
hide kernel threads in process list (not available on Windows)
|
||||
|
||||
.. option:: --tree
|
||||
|
||||
display processes as a tree
|
||||
display processes as a tree (Linux only)
|
||||
|
||||
.. option:: -b, --byte
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
.\" Man page generated from reStructuredText.
|
||||
.
|
||||
.TH "GLANCES" "1" "Oct 15, 2017" "3.0_DEV" "Glances"
|
||||
.TH "GLANCES" "1" "Nov 03, 2017" "3.0_DEV" "Glances"
|
||||
.SH NAME
|
||||
glances \- An eye on your system
|
||||
.
|
||||
@ -173,6 +173,11 @@ disable Wifi module
|
||||
.UNINDENT
|
||||
.INDENT 0.0
|
||||
.TP
|
||||
.B \-\-light, \-\-enable\-light
|
||||
light mode for Curses UI (disable all but top menu)
|
||||
.UNINDENT
|
||||
.INDENT 0.0
|
||||
.TP
|
||||
.B \-0, \-\-disable\-irix
|
||||
task\(aqs CPU usage will be divided by the total number of CPUs
|
||||
.UNINDENT
|
||||
@ -394,12 +399,12 @@ force short name for processes name
|
||||
.INDENT 0.0
|
||||
.TP
|
||||
.B \-\-hide\-kernel\-threads
|
||||
hide kernel threads in process list
|
||||
hide kernel threads in process list (not available on Windows)
|
||||
.UNINDENT
|
||||
.INDENT 0.0
|
||||
.TP
|
||||
.B \-\-tree
|
||||
display processes as a tree
|
||||
display processes as a tree (Linux only)
|
||||
.UNINDENT
|
||||
.INDENT 0.0
|
||||
.TP
|
||||
|
@ -32,7 +32,6 @@ from glances.logger import logger
|
||||
|
||||
|
||||
class GlancesMain(object):
|
||||
|
||||
"""Main class to manage Glances instance."""
|
||||
|
||||
# Default stats' refresh time is 3 seconds
|
||||
@ -254,10 +253,10 @@ Examples of use:
|
||||
dest='process_short_name', help='force short name for processes name')
|
||||
if not WINDOWS:
|
||||
parser.add_argument('--hide-kernel-threads', action='store_true', default=False,
|
||||
dest='no_kernel_threads', help='hide kernel threads in process list')
|
||||
dest='no_kernel_threads', help='hide kernel threads in process list (not available on Windows)')
|
||||
if LINUX:
|
||||
parser.add_argument('--tree', action='store_true', default=False,
|
||||
dest='process_tree', help='display processes as a tree')
|
||||
dest='process_tree', help='display processes as a tree (Linux only)')
|
||||
parser.add_argument('-b', '--byte', action='store_true', default=False,
|
||||
dest='byte', help='display network rate in byte per second')
|
||||
parser.add_argument('--diskio-show-ramfs', action='store_true', default=False,
|
||||
|
Loading…
Reference in New Issue
Block a user