String diskPath = null;
if (path != null) {
String[] token = path.split("/");
if (token.length > 3) {
diskPath = token[3];
VmDiskStatsEntry stat = new VmDiskStatsEntry(vmName, diskPath, blockStats.wr_req, blockStats.rd_req, blockStats.wr_bytes, blockStats.rd_bytes);
stats.add(stat);
}
}
}