Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 397 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 397 Bytes

ProcNetDev

Read then parse /proc/net/dev in Java

使用Java解析/proc/net/dev

Usage

ProcNetDev d = new ProcNetDev();
d.read("wlan0", "lo"); // Read interface wlan0, lo
String tx = d.get("wlan0").get("Receive_bytes"); // Get Receive bytes on interface wlan0

ProcNetDev_example