Implementation of Network status page
This commit is contained in:
parent
b3e0757b29
commit
2cdd61458f
7 changed files with 355 additions and 27 deletions
|
|
@ -46,7 +46,7 @@ public class HDDStatus implements WAStatus {
|
|||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "HDD Status";
|
||||
return "Harddrives";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -79,8 +79,7 @@ public class HDDStatus implements WAStatus {
|
|||
node.set("id", idMap.get(device));
|
||||
else{
|
||||
idMap.put(device, nextId);
|
||||
node.set("id", nextId);
|
||||
++nextId;
|
||||
node.set("id", nextId++);
|
||||
}
|
||||
|
||||
FileSystemUsage hdd_use = sigar.getFileSystemUsage(hdd.getDirName());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue