public class SockStatStyleReader extends Object
Parses sockstat-style text, which appears in /proc/net/sockstat and /proc/net/sockstat6.
e.g.)sockets: used 1534 TCP: inuse 34 orphan 0 tw 34 alloc 54 mem 8 UDP: inuse 11 mem 11 UDPLITE: inuse 0 RAW: inuse 0 FRAG: inuse 0 memory 0
| Constructor and Description |
|---|
SockStatStyleReader() |
public static Map<String,LongCompositeData> readFile(String path)
Copyright © 2020. All rights reserved.