Jean-Philippe Bempel
Jean-Philippe Bempel
> Hi @jpbempel! This is still a draft PR. Is there something that you'd like to do before marking it ready for review? yes I need to take into account...
> Hi @jpbempel! Is this something you would like to get into JMC 9? Yes! Sorry I am ashamed I let this PR in that while there was really almost...
/label add hacktoberfest-accepted
Can't also, this PR is too old :)
FYI, Oshi can provide those information already through NetworkIF: https://github.com/oshi/oshi/blob/master/oshi-core/src/main/java/oshi/hardware/NetworkIF.java#L207 so you can add them in: https://github.com/criteo/garmadon/blob/master/jvm-statistics/core/src/main/java/com/criteo/jvm/statistics/NetworkStatistics.java
@ashangit `/proc//net/dev` provides interface level stats, NOT per process! So it doesn't change anything.
AFAICT packets & errors are at interface levels so you cannot get per process. you can get bytes recv/sent in different ways like for example at Hadoop Level but not...