Hacker News new | ask | show | jobs
by wejick 1600 days ago
my gut feeling tell it will be both memory and cpu utilization. cant be sure, until I can find good way to measure it.
2 comments

ps RSS measurement is pretty good for a start (although note in a forked process, shared copy-on-write pages are both reported as RSS for both the parent and child process).

top reports this as RES.

IIRC, debugging information is in a separate part of the process, so it's not loaded until it's used. Does that make it free? Probably not quite, but the kernel can ignore it until the process (presumably via its debugger) looks at it.

If only there was a monitoring system you could install to measure such a thing.