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