Exemplo n.º 1
0
 protected override void Collect()
 {
     Process[] processes = OSCollectorHelper.GetRunningProcesses();
     foreach (var p in processes)
     {
         AddStringsToDataCells(new String[3]
         {
             p.ProcessName
             , (p.WorkingSet64 / 1024).ToString() + " Kb"
             , p.Id.ToString()
         });
     }
 }