This is an old revision of the document!
How to check the class-divided bandwidth allocation
In the /etc/dpi/fastdpi.conf configuration file set the option:
dbg_log_mask=0x4
Reload the service:
service fastdpi reload
In the /var/log/dpi/fastdpi_stat.log file the output will be displayed according to the classes like following:
[STAT ][2017/12/07-13:12:32:334249] HTB : Statistics dscp=2, if 'dna2' :
DSCP_actual stats Rcvd: [0 bytes][0.00 Mbit/sec]
[0 pkts ][0.00 pkt/sec]
Drop: [0 bytes][0.00 %]
[0 pkts ][0.00 %]
Send: [0 bytes][0.00 Mbit/sec]
[0 pkts ][0.00 pkt/sec]
Esnd: [0 err_pkts][0.00 %]
[STAT ][2017/12/07-13:12:32:334266] HTB : Statistics dscp=3, if 'dna2' :
DSCP_actual stats Rcvd: [0 bytes][0.00 Mbit/sec]
[0 pkts ][0.00 pkt/sec]
Drop: [0 bytes][0.00 %]
After the test being completed please disable dbg_log_mask=0x4 option.
Was this information helpful?