netproc icon indicating copy to clipboard operation
netproc copied to clipboard

save average result

Open NeilZhy opened this issue 2 years ago • 1 comments

Can the -f option save the average results per second?

NeilZhy avatar Jul 29 '22 07:07 NeilZhy

Hi,

note that the averege returned by net_stat.avg_Bps_rx|tx is a averege from last five seconds.

I think that this information make more sense to user see in "real-time", instead writing in log file, that go be overwriting by last averege.

other ideia is getting a general averege from process, tot_Bps_rx|tx / process_running_time and put this in log, but to programs that make intense use of network and stop this use for a long time, the general averege tends to 0. The time of running of processes alsa could be put in log.

I'm open to ideas.

Thanks.

berghetti avatar Jul 29 '22 18:07 berghetti