mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-02 17:19:37 +00:00
Somehow my eclipse did not save change related to socket count
This commit is contained in:
1 parent
bc5ea8b84a
commit
b28e8efe32
1 file changed
+1
-1
+1
-1
@@ -84,7 +84,7 @@ public class SystemInformationImpl implements SystemInformation {
|
||||
/* seems that there are no local socket counts, try to use
|
||||
* global ones */
|
||||
try {
|
||||
sockstat = readProc("/proc/" + getPid() + "/net/sockstat");
|
||||
sockstat = readProc("/proc/net/sockstat");
|
||||
} catch (Exception ex) {
|
||||
/* ok ignore */
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user