Class NetDevReader
java.lang.Object
io.nosqlbench.engine.core.clientload.LinuxSystemFileReader
io.nosqlbench.engine.core.clientload.NetDevReader
-
Field Summary
Fields inherited from class io.nosqlbench.engine.core.clientload.LinuxSystemFileReader
filePath, logger -
Constructor Summary
ConstructorsConstructorDescriptionNote that all fields are cumulative in /proc/net/dev Reference: - https://www.linuxquestions.org/questions/linux-networking-3/need-explanation-of-proc-net-dev-bytes-counters-4175458860/ Example line: wlp59s0: 2941956695 4935327 0 0 0 0 0 0 1213470966 3450551 0 0 0 0 0 0 -
Method Summary
Modifier and TypeMethodDescriptiongetBytesReceived(String interfaceName) getBytesTransmitted(String interfaceName) getPacketsReceived(String interfaceName) getPacketsTransmitted(String interfaceName) Methods inherited from class io.nosqlbench.engine.core.clientload.LinuxSystemFileReader
extract, fileExists, findAllLinesMatching, findFirstMatch
-
Constructor Details
-
NetDevReader
public NetDevReader()Note that all fields are cumulative in /proc/net/dev Reference: - https://www.linuxquestions.org/questions/linux-networking-3/need-explanation-of-proc-net-dev-bytes-counters-4175458860/ Example line: wlp59s0: 2941956695 4935327 0 0 0 0 0 0 1213470966 3450551 0 0 0 0 0 0
-
-
Method Details
-
getBytesReceived
-
getPacketsReceived
-
getBytesTransmitted
-
getPacketsTransmitted
-
getInterfaces
-