Swap space issue.

view story

http://www.unix.com – Hi, I am not sure how many scripts / java processes running on my HP-UX server. I need to calculate the total heap of these processes. I then need to recommend increasing the swap memory to be increase and equal to total heap if that is the right concept. Currently we are facing high swap memory usage and are unsure to what amount it needs to ne increased to. Please help me with script or command to achieve the above. (HowTos)