Example #1
0
 /// <summary> Updates memory information </summary>
 public static void RefreshMemInfo()
 {
     Mem.available = Decimal.Parse(FileReader.ReadFileAndFindGroup("/proc/meminfo", availableexpr, 1));
     Mem.used      = Mem.total - Mem.available;
 }