File: nyxrc.sample

package info (click to toggle)
nyx 2.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,732 kB
  • sloc: python: 7,055; makefile: 7; sh: 3
file content (97 lines) | stat: -rw-r--r-- 3,911 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# Nyx can be customized through a configuration file with the following
# options.
#
# Place your configuration at ~/.nyx/config or run with the following to
# apply the settings...
#
#   % nyx --config /path/to/config

data_directory ~/.nyx   # Caching location, can be set to 'disabled'.
password none           # Control port password of tor.
#tor_chroot /path       # Chroot jail tor resides within if there is one.
show_bits false         # Bandwidth rate as bits if true, bytes otherwise.
confirm_quit true       # Confirm before quitting.
color_interface true    # Uses color in our interface.
#color_override none     # Replaces instances of color with this hue. [1]
unicode_support true    # Render text as unicode.
acs_support true        # Uses ACS (alternate character set) for nice borders.

redraw_rate 5           # Seconds to await user input before redrawing.
connection_rate 5       # Seconds between querying connections.
resource_rate 5         # Seconds between querying process resource usage.
port_usage_rate 5       # Seconds between querying processes using ports.

#logged_events NOTICE, WARN, ERR, NYX_NOTICE, NYX_WARNING, NYX_ERROR
                        # Events that are shown by default in the log.
deduplicate_log true    # Hides duplicate log messages.
prepopulate_log true    # Populates with events that occure before we started.
#logging_filter pattern # Regex filter for log messages that are shown.
#write_logs_to /path    # Writes events that occure while running here.
max_log_size 1000       # Maximum number of log entries.

graph_stat bandwidth        # Statistic to be graphed. [2]
graph_interval each second  # Graph sampling interval. [3]
graph_bound local_max       # Bounding for the graph min and max. [4]
graph_height 7              # Height of the graph.
max_graph_width 300         # Maximum number of samplings.

config_order MAN_PAGE_ENTRY, NAME, IS_SET # Order for tor config options. [5]
show_private_options false  # Shows configurations with a '__option' prefix.
show_virtual_options false  # Shows unsettable tor configurations.

connection_order CATEGORY, IP_ADDRESS, UPTIME # Order for connections. [6]
resolve_processes true  # Shows processes for SOCKS and CONTROL connections.
show_addresses true     # Shows addresses of connections.

show_graph true         # Shows the graph.
show_accounting true    # Shows accounting stats if AccountingMax is set.
show_log true           # Shows the event log.
show_connections true   # Shows connection information.
show_config true        # Shows tor's configuration.
show_torrc true         # Shows the torrc.
show_interpreter true   # Shows the control interpreter.
# [1] color_override options include...
#
#       none, red, green, blue, cyan, magenta, yellow, black
#
#   'none" means "use the default color that the developers picked".
#
# [2] graph_stat options include...
#
#       none - hide the graph
#       bandwidth - bandwidth rate downloaded/uploaded
#       connections- number of connections inbound/outbound
#       resources - cpu/memory usage of tor
#
# [3] graph_interval options include...
#
#       each second,   5 seconds,     30 seconds,  minutely,
#       15 minute,     30 minute,     hourly,      daily
#
# [4] graph_bound options include...
#
#       global_max - global maximum (highest value ever seen)
#       local_max - local maximum (highest value currently on the graph)
#       tight - local maximum and minimum
#
# [5] config_order is three comma separated values that can include...
#
#       * NAME
#       * VALUE
#       * VALUE_TYPE
#       * CATEGORY
#       * USAGE
#       * SUMMARY
#       * DESCRIPTION
#       * MAN_PAGE_ENTRY
#       * IS_SET
#
# [6] connection_order is three comma separated values that can include...
#
#       * CATEGORY
#       * UPTIME
#       * IP_ADDRESS
#       * PORT
#       * FINGERPRINT
#       * NICKNAME
#       * COUNTRY