mbolli / nfsen-ng

Responsive NetFlow visualizer built on top of nfdump tools.
Apache License 2.0
231 stars 43 forks source link

Kill running nfdump process from front end #7

Open mbolli opened 7 years ago

mbolli commented 7 years ago

As nfdump processes might take a long time to complete (depending on the parameters and the system), it would make sense to somehow track the running processes and make them killable from the front end.

art0 commented 4 years ago

What about running it with a timeout? exec(timeout 10 nfdump).. that will give a maximum time of 10 seconds ?

mbolli commented 4 years ago

That's probably too low, as statistics calculations even of just 1 week of data can take a few minutes depending on your system and number of sources.