max nesting limit according to include/uapi/linux/pkt_sched.h: #define TC_HTB_MAXDEPTH 8
[svn/Prometheus-QoS/.git] / help.c
... / ...
CommitLineData
1/* Modified by: xChaos, 20131029 */
2
3#include "cll1-0.6.2.h"
4
5/* ======= Help screen is hopefuly self-documenting part of code :-) ======= */
6
7void help(void)
8{
9 puts("Command line switches:\n\
10\n\
11-d Dry run (preview tc and iptables commands on stdout)\n\
12-r Run (reset all statistics and start shaping - daily usage)\n\
13-p just generate Preview of data transfer statistics and exit (after -r)\n\
14-s Start shaping FUP limits (keeps data transfer stat like -p) (after -r)\n\
15-q Quit shaping FUP limits (keeps data transfer stat like -p) (after -r)\n\
16-2 Reduce HTB ceil (min+(max-min)/2 + keep stats like -p) (after -r)\n\
17-4 Reduce HTB ceil (min+(max-min)/4 + keep stats like -p) (after -r)\n\
18-n run Now (like -r delay - overrides qos-free-delay keyword, after boot)\n\
19-f just Flush iptables and tc classes and exit (stop shaping, no QiS)\n\
20-9 emergency iptables flush (like -f, but dumps data transfer statistics)\n\
21\n\
22-c filename force alternative /etc/prometheus/prometheus.conf filename\n\
23-h filename force alternative /etc/hosts filename (overrides hosts keyword)\n\
24-l Mmm YYYY generate HTML summary of Logged traffic (Mmm=Jan-Dec) (and exit)\n\
25-m generate HTML summary of traffic for yesterday's Month (and exit)\n\
26-y generate HTML summary of traffic for yesterday's Year (and exit)\n\
27-a analyse network topology (agregation statistics, using traceroute)\n\
28-? --help show this help scree (and exit)\n\
29-v --version show Version number of this utility (and exit)\n");
30}
This page took 0.124162 seconds and 4 git commands to generate.