Identify program memory usage from command line
Me again with memory questions.
I have one or many programs that run periodically which have a high demand for memory.
They start up... through a large portion to swap, then finish up and release their memory. Then the 200K-800K or so is filled up with disk cache, and slowly over the day swaps in the 200K-800K.
I want to identify which programs they are. Is there a command line tool, which I can dump the output to log file, that will report the rough memory usage of a program?
top -b -n 1 and a for loop ... for instance to capture
roughly an hour
top-20 memory hogs per run - see head):
|All times are GMT -5. The time now is 03:59 PM.|