2020-05-02 09:25:29 +08:00
|
|
|
configfile="Config file"
|
|
|
|
usage="Usage: {0} [options]\n\nOptions:\n"
|
2020-06-19 08:51:01 +08:00
|
|
|
total="Total"
|
2020-05-02 09:25:29 +08:00
|
|
|
|
|
|
|
|
|
|
|
[help]
|
|
|
|
paths="Loadable colorschemes & layouts, and the config file, are searched for, in order:"
|
|
|
|
log="The log file is in {0}"
|
|
|
|
written="Config written to {0}"
|
2020-06-20 21:33:01 +08:00
|
|
|
help="""
|
|
|
|
Quit: q or <C-c>
|
|
|
|
|
|
|
|
Process navigation:
|
|
|
|
- k and <Up>: up
|
|
|
|
- j and <Down>: down
|
|
|
|
- <C-u>: half page up
|
|
|
|
- <C-d>: half page down
|
|
|
|
- <C-b>: full page up
|
|
|
|
- <C-f>: full page down
|
|
|
|
- gg and <Home>: jump to top
|
|
|
|
- G and <End>: jump to bottom
|
|
|
|
|
|
|
|
Process actions:
|
|
|
|
- <Tab>: toggle process grouping
|
|
|
|
- dd: kill selected process or group of processes with SIGTERM (15)
|
|
|
|
- d3: kill selected process or group of processes with SIGQUIT (3)
|
|
|
|
- d9: kill selected process or group of processes with SIGKILL (9)
|
|
|
|
|
|
|
|
Process sorting:
|
|
|
|
- c: CPU
|
|
|
|
- m: Mem
|
|
|
|
- p: PID
|
|
|
|
|
|
|
|
Process filtering:
|
|
|
|
- /: start editing filter
|
|
|
|
- (while editing):
|
|
|
|
- <Enter>: accept filter
|
|
|
|
- <C-c> and <Escape>: clear filter
|
|
|
|
|
|
|
|
CPU and Mem graph scaling:
|
|
|
|
- h: scale in
|
|
|
|
- l: scale out
|
|
|
|
|
|
|
|
Network:
|
|
|
|
- b: toggle between mbps and scaled bytes per second
|
|
|
|
"""
|
2020-06-21 05:47:48 +08:00
|
|
|
# TRANSLATORS: Please don't translate the layout **names**
|
2020-06-20 21:33:01 +08:00
|
|
|
layouts = """Built-in layouts:
|
|
|
|
default
|
|
|
|
minimal
|
|
|
|
battery
|
|
|
|
kitchensink"""
|
2020-06-21 05:47:48 +08:00
|
|
|
# TRANSLATORS: Please don't translate the colorcheme **names**
|
2020-06-20 21:33:01 +08:00
|
|
|
colorschemes = """Built-in colorschemes:
|
|
|
|
default
|
|
|
|
default-dark (for white background)
|
|
|
|
solarized
|
|
|
|
solarized16-dark
|
|
|
|
solarized16-light
|
|
|
|
monokai
|
2020-11-24 05:14:57 +08:00
|
|
|
vice
|
|
|
|
nord"""
|
2020-06-21 05:47:48 +08:00
|
|
|
# TRANSLATORS: Please don't translate the widget **names**
|
2020-06-20 21:33:01 +08:00
|
|
|
widgets = """Widgets that can be used in layouts:
|
|
|
|
cpu - CPU load graph
|
|
|
|
mem - Physical & swap memory use graph
|
|
|
|
temp - Sensor temperatures
|
|
|
|
disk - Physical disk partition use
|
|
|
|
power - A battery bar
|
|
|
|
net - Network load
|
|
|
|
procs - Interactive process list"""
|
2020-05-02 09:25:29 +08:00
|
|
|
|
|
|
|
|
|
|
|
[args]
|
|
|
|
help="Show this screen."
|
|
|
|
color="Set a colorscheme."
|
|
|
|
scale="Graph scale factor, >0"
|
|
|
|
version="Print version and exit."
|
|
|
|
percpu="Show each CPU in the CPU widget."
|
2022-02-09 06:50:30 +08:00
|
|
|
no-percpu="Show aggregate CPU in the CPU widget."
|
2020-05-02 09:25:29 +08:00
|
|
|
cpuavg="Show average CPU in the CPU widget."
|
2022-02-04 22:46:58 +08:00
|
|
|
no-cpuavg="Disable show average CPU in the CPU widget."
|
2020-11-24 05:14:57 +08:00
|
|
|
temp="Show temperatures in fahrenheit."
|
2022-02-09 06:50:30 +08:00
|
|
|
tempc="Show temperatures in celsius."
|
2020-05-02 09:25:29 +08:00
|
|
|
statusbar="Show a statusbar with the time."
|
2022-02-04 22:46:58 +08:00
|
|
|
no-statusbar="Disable statusbar."
|
2020-05-02 09:25:29 +08:00
|
|
|
rate="Refresh frequency. Most time units accepted. \"1m\" = refresh every minute. \"100ms\" = refresh every 100ms."
|
|
|
|
layout="Name of layout spec file for the UI. Use \"-\" to pipe."
|
|
|
|
net="Select network interface. Several interfaces can be defined using comma separated values. Interfaces can also be ignored using \"!\""
|
|
|
|
export="Enable metrics for export on the specified port."
|
|
|
|
mbps="Show network rate as mbps."
|
2022-02-09 06:50:30 +08:00
|
|
|
bytes="Show network rate as bytes."
|
2020-05-02 09:25:29 +08:00
|
|
|
test="Runs tests and exits with success/failure code."
|
2022-02-04 22:46:58 +08:00
|
|
|
no-test="Disable tests."
|
2022-02-09 06:50:30 +08:00
|
|
|
conffile="Config file to use instead of default (MUST BE FIRST ARGUMENT)."
|
|
|
|
nvidia="Enable NVidia GPU metrics."
|
|
|
|
no-nvidia="Disable NVidia GPU metrics."
|
2021-03-05 06:23:04 +08:00
|
|
|
nvidiarefresh="Refresh frequency. Most time units accepted."
|
2021-01-25 22:38:50 +08:00
|
|
|
# TRANSLATORS: Please don't translate the **labels** ("devices", "layouts") as they don't change in the code.
|
2020-05-02 09:25:29 +08:00
|
|
|
list="""
|
2021-01-27 01:56:01 +08:00
|
|
|
List <devices|layouts|colorschemes|paths|keys|langs>
|
2021-07-18 03:34:56 +08:00
|
|
|
devices: Prints out device names for filterable widgets
|
|
|
|
layouts: Lists built-in layouts
|
|
|
|
colorschemes: Lists built-in colorschemes
|
|
|
|
paths: List out configuration file search paths
|
|
|
|
widgets: Widgets that can be used in a layout
|
|
|
|
keys: Show the keyboard bindings.
|
|
|
|
langs: Show supported language translations."""
|
2020-05-02 09:25:29 +08:00
|
|
|
write="Write out a default config file."
|
|
|
|
|
|
|
|
|
2020-06-21 05:47:48 +08:00
|
|
|
[config.err]
|
|
|
|
configsyntax="0| bad config file syntax; should be KEY=VALUE, was {0}"
|
|
|
|
deprecation="1| line {0}: '{1}' is deprecated. Ignored {1}={2}"
|
|
|
|
line="2| line #{0}: {1}"
|
|
|
|
tempscale="3| invalid TempScale value {0}"
|
|
|
|
|
2020-06-19 08:51:01 +08:00
|
|
|
|
2020-06-21 05:47:48 +08:00
|
|
|
[error]
|
|
|
|
configparse="4| failed to parse config file: {0}"
|
|
|
|
cliparse="5| parsing CLI args: {0}"
|
|
|
|
logsetup="6| failed to setup log file: {0}"
|
|
|
|
unknownopt="7| Unknown option \"{0}\"; try layouts, colorschemes, keys, paths, or devices\n"
|
|
|
|
writefail="8| Failed to write configuration file: {0}"
|
|
|
|
checklog="9| errors encountered; from {0}:"
|
|
|
|
metricsetup="10| error setting up {0} metrics: {1}"
|
|
|
|
nometrics="11| no metrics for {0} {1}"
|
|
|
|
fatalfetch="12| fatal error fetching {0} info: {1}"
|
|
|
|
recovfetch="13| recoverable error fetching {0} info; skipping {0}: {1}"
|
|
|
|
nodevfound="14| no usable {0} found"
|
|
|
|
setuperr="15| error setting up {0}: {1}"
|
|
|
|
colorschemefile="16| failed to find colorscheme file {0} in {1}"
|
|
|
|
colorschemeread="17| failed to read colorscheme file {0}: {1}"
|
|
|
|
colorschemeparse="18| failed to parse colorscheme file: {0}"
|
2021-02-10 23:04:03 +08:00
|
|
|
findlayout="19| failed to find layout file {0}: {1}"
|
2020-06-21 05:47:48 +08:00
|
|
|
logopen="20| failed to open log file {0}: {1}"
|
|
|
|
table="21| table widget TopRow value less than 0. TopRow: {0}"
|
|
|
|
nohostname="22| could not get hostname: {0}"
|
|
|
|
|
|
|
|
[layout.error]
|
|
|
|
widget="23| Invalid widget name {0}. Must be one of {1}"
|
|
|
|
format="24| Layout error on line {0}: format must be {1}. Error parsing {2} as a int. Word was {3}. Using a row height of 1."
|
|
|
|
slashes="25| Layout warning on line {0}: too many '/' in word {1}; ignoring extra junk."
|
2020-06-19 08:51:01 +08:00
|
|
|
|
|
|
|
[widget.label]
|
2020-05-05 21:13:25 +08:00
|
|
|
disk=" Disk Usage "
|
|
|
|
cpu=" CPU Usage "
|
|
|
|
gauge=" Power Level "
|
|
|
|
battery=" Battery Status "
|
2020-06-19 08:51:01 +08:00
|
|
|
batt=" Battery "
|
|
|
|
temp=" Temperatures "
|
|
|
|
net=" Network Usage "
|
|
|
|
netint=" Network Usage: {0} "
|
|
|
|
mem=" Memory Usage "
|
2020-05-05 21:13:25 +08:00
|
|
|
|
|
|
|
|
2020-06-19 08:51:01 +08:00
|
|
|
[widget.net.err]
|
2020-06-21 05:47:48 +08:00
|
|
|
netactivity="26| failed to get network activity from gopsutil: {0}"
|
|
|
|
negvalrecv="27| error: negative value for recently received network data from gopsutil. recentBytesRecv: {0}"
|
|
|
|
negvalsent="28| error: negative value for recently sent network data from gopsutil. recentBytesSent: {0}"
|
2020-06-19 08:51:01 +08:00
|
|
|
|
|
|
|
|
2020-05-05 21:13:25 +08:00
|
|
|
[widget.disk]
|
|
|
|
disk="Disk"
|
|
|
|
mount="Mount"
|
|
|
|
used="Used"
|
|
|
|
free="Free"
|
|
|
|
rs="R/s"
|
|
|
|
ws="W/s"
|
2020-06-19 08:51:01 +08:00
|
|
|
|
|
|
|
|
|
|
|
[widget.proc]
|
|
|
|
filter=" Filter: "
|
|
|
|
label=" Processes "
|
|
|
|
[widget.proc.header]
|
|
|
|
count="Count"
|
|
|
|
command="Command"
|
|
|
|
cpu="CPU%"
|
|
|
|
mem="Mem%"
|
|
|
|
pid="PID"
|
|
|
|
[widget.proc.err]
|
2020-06-21 05:47:48 +08:00
|
|
|
count="29| failed to get CPU count from gopsutil: {0}"
|
|
|
|
retrieve="30| failed to retrieve processes: {0}"
|
|
|
|
ps="31| failed to execute 'ps' command: {0}"
|
|
|
|
gopsutil="32| failed to get processes from gopsutil: {0}"
|
|
|
|
pidconv="33| failed to convert PID to int: {0}. line: {1}"
|
|
|
|
cpuconv="34| failed to convert CPU usage to float: {0}. line: {1}"
|
|
|
|
memconv="35| failed to convert Mem usage to float: {0}. line: {1}"
|
|
|
|
getcmd="36| failed to get process command from gopsutil: {0}. psProc: {1}. i: {2}. pid: {3}"
|
|
|
|
cpupercent="37| failed to get process cpu usage from gopsutil: {0}. psProc: {1}. i: {2}. pid: {3}"
|
2021-07-21 02:06:39 +08:00
|
|
|
mempercent="38| failed to get process memory usage from gopsutil: {0}. psProc: {1}. i: {2}. pid: {3}"
|
2020-06-21 05:47:48 +08:00
|
|
|
parse="39| failed to parse output: {0}"
|