in reply to My Program Stats
Can I ask what your purpose for this is?
You mention "average stats", but if, for example, your purpose is capacity planning, then averages are a poor measure. If the average usage for a process is say 2GB, you might consider that provisioning servers or VMs with 4GB is sufficient, but that might mask the fact that for some brief period, it required 5GB with the inevitable consequences.
For the Windows platform, there are a whole bunch of performance monitoring counters and 2 or 3 different ways of accessing them that can provide CPU and memory usage statistics on a per process basis. They can provide instantaneous, average and lifetime peak stats. Of course, that doesn't help you on other platforms, but this type of thing will always need platform specific solutions.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: My Program Stats
by gulden (Monk) on Jun 16, 2011 at 17:28 UTC | |
by BrowserUk (Patriarch) on Jun 16, 2011 at 17:53 UTC |