Computing.Net > Forums > OpenVMS > calculating current memory usage

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

calculating current memory usage

Reply to Message Icon

Name: aliyesami
Date: May 30, 2008 at 10:43:10 Pacific
OS: 7.3-2
CPU/Ram: 8/32Gb
Product: Alpha
Comment:

If i run accounting/type=image and sum up the 'WS size' fields would i get the correct representation of current memory usage on the box ?



Sponsored Link
Ads by Google

Response Number 1
Name: Joseph.Huber
Date: May 30, 2008 at 14:48:29 Pacific
Reply:

No, image accounting gives the resource usage of terminated process/images.
To get the current memory use, easiest is to use SHOW MEMORY: it summarizes everything.

It depends in what You are interested (working sets, virtual size,global pages,...), You have to loop over all current processes and sum up the values using f$getjpi() lexical function.
As a starting point, look into the procedure
http://wwwvms.mppmu.mpg.de/vms$comm...

(Was posted to comp.os.vms some years ago).
It lists all process. Modify it to sum up e.g. all working set sizes.


0
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: calculating current memory usage

Memory usage too high www.computing.net/answers/openvms/memory-usage-too-high/484.html

OpenVMS: threshold for swaping www.computing.net/answers/openvms/openvms-threshold-for-swaping/175.html

question about performance www.computing.net/answers/openvms/question-about-performance/534.html