I am working on an application that uses allot of memory depending on the input. I am also working on more than one processing algorithm.
The program has a long processing time (hours) so it would be nice to be able to monitor the maximum memory footprint of the application during runs of various data.
It seems like there may be a linux tool that could do that from a script but I don't know of such a thing.
I am running under windows with cygwin so I have most of the linux toolbox, but could do this in open suse as well.
Are there any suggestions?
------ Post updated 08-09-18 at 01:19 PM ------
It looks like
/usr/bin/time -v
gives me the output I need.
Now I need to figure out where all those page faults are coming from. I would appreciate other suggestions if they are out there.
When a page fault occurs then something is paged in or out, usually from or to the swap space.
If you run
you see it listed as si (swap in) or so (swap out).
Here is a suggestion for a bash script that monitors a given PID, and displays the maximum RSS memory (kilobyte of RAM used).
This User Gave Thanks to MadeInGermany For This Post:
Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Hi All,
I have a script which does report the cpu usuage, there are few output parameter/fields displayed from the script. My problem is I have monitor the output and decide
which cpu number (column 2) has maximum value (column 6).
Since the output is displayed/updated every seconds, it's very... (1 Reply)
Hello Everyone,
I'm looking for a efficient script that monitors the memory usage on AIX and send email alerts when it reaches certain point.
Q) need to get alerts, when the memory usage exceed 90% on AIX?
or
Q) Need to get alerts when available free Memory is 1G or 10% etc
Any idea... (3 Replies)
Hi,
I'm looking into doing a few performance tweaks by adjusting my max memory on a few lpars.
I would to create a time stamp script so i could review it for a week and determine how much space i can lower my max memory to so i could reclaim and allocate that memory to where it is needed the... (2 Replies)
Is it possible to restrict physical memory in solaris zone with zone.max-locked-memory just like we can do with rcapd ? I do not want to used rcapd (1 Reply)
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Hi,
Would any one be so kind to explain me :
are ulimits defined for each user seperately ? When ?
Specialy what is the impact of :
max locked memory
and
virtual memory
on performance of applications for a user.
Many thanks.
PS :
this is what I can see in MAN :
ulimit ]
... (5 Replies)