sS diskSpaceEtcBot_diskSpace() { File f = userDir(); //print("Using dir: " + f); long total = f.getTotalSpace(); long usable = f.getUsableSpace(); //print("Total/usable: " + total + "/" + usable); S a = "Server disk space: " + toM(usable) + " MB free of " + toM(total) + " MB."; if (!isWindows()) pcall { S[] inodes = toLines(backtick("df -hi " + bashQuote(f.getPath()))).get(1).split(" +"); a += " Free inodes: " + inodes[3] + "/" + inodes[1]; } ret a; }