[PATCH] Add a 'mem' method to the ProcessModule to calculate per-program memory usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Attached is my second revision of a ProcessModule.mem() patch.  It now
returns an NxN array that consists of:

    [[Private, Shared, Total RAM used, Program], ...]

Which looks like: 

    [['140.0 KiB', '416.0 KiB', '556.0 KiB', 'dbus-launch'], ['112.0 KiB',
      '648.0 KiB', '760.0 KiB', 'mapping-daemon'], ['192.0 KiB', '892.0 KiB',
      '1.1 MiB', 'gam_server'], ['364.0 KiB', '972.0 KiB', '1.3 MiB',
      'dbus-daemon']]

I also removed the vm_accuracy warnings.  If anyone really cares about
those, we could try and stuff them in the results somehow.

luke
_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux