We have a Domino web application with a Java agent that uses classes of third party software to generate PDF’s. We’re considering modifying the application’s design so that the agent instead either runs a shell script or employs a web service.
The decision to make a design change will be based in part upon the memory consumption, CPU utilization, and run times of each design. I’m therefore trying to determine the best means of obtaining these measurements - particularly memory consumption and CPU utilization. Here is a list of some of the commands that can provide these measurements:
1.) Memory consumption
A. vmstat
B. svmon
C. ipcs
2.) CPU utilization
A. iostat
B. vmstat
For the memory consumption, I’m inclined to use ‘svmon’ or ‘ipcs’ since either both are process oriented and can be applied against the process that calls the Java agent (probably ‘http’).
For the CPU utilization, it seems that neither ‘iostat’ or ‘vmstat’ are process oriented and I’m therefore wondering whether there might be a better alternative to these.
I’d appreciate any recommendations on which commands to use.
Thanks.