Sigar sigar = plugin.getSigar();
if (sigar != null) {
try {
String rootFileSystem = File.listRoots()[0].getAbsolutePath();
FileSystemUsage fileSystemUsage = sigar.getFileSystemUsage(rootFileSystem);
<BUG>diskRead = byteToMega(fileSystemUsage.getDiskReadBytes());

diskWrite = byteToMega(fileSystemUsage.getDiskWriteBytes());

NetInterfaceStat usedNetInterfaceStat = findNetworkInterface(sigar);</BUG>
if (usedNetInterfaceStat != null) {

Sigar sigar = plugin.getSigar();
if (sigar != null) {
try {
String rootFileSystem = File.listRoots()[0].getAbsolutePath();
FileSystemUsage fileSystemUsage = sigar.getFileSystemUsage(rootFileSystem);
int diskRead = byteToMega(fileSystemUsage.getDiskReadBytes());
diskReadDiff = diskRead - lastDiskRead;
lastDiskRead = diskRead;
int diskWrite = byteToMega(fileSystemUsage.getDiskWriteBytes());
diskWriteDiff = diskWrite - lastDiskWrite;
lastDiskWrite = diskRead;
NetInterfaceStat usedNetInterfaceStat = findNetworkInterface(sigar);
