× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I thought OP meant Main Memory (RAM) when he said 'current memory' and I
don't think Temp Stg and Main Memory are equivalent.
Are they?

Elvis

-----Original Message-----
 Subject: Re: System Memory Usage

Jon this one is close.  Out at IBM's testcase FTP site:
ftp://testcase.boulder.ibm.com/as400/fromibm/ApiSamples/qtempstg.savf

<snip>
PURPOSE:  THIS PROGRAM PROVIDES AN EASY WAY TO GET A
LIST OF ALL ACTIVE INTERACTIVE OR BATCH JOBS THAT
HAVE OVER A SPECIFIED AMOUNT OF TEMP STORAGE IN MEG
THE PROGRAM IS EXECUTED VIA THE FOLLOWING CALL
    CALL LIB/QTSTGPGM PARM(STG, TYPE)
    WHERE LIB IS THE NAME OF THE LIBRARY CONTAINING
    THE COMPILED PROGRAM, STG IS A STORAGE THRESHOLD
    (DECIMAL NUMBER) AND TYPE IS EITHER AN I FOR
    INTERACTIVE OR B FOR BATCH.
    TYPICAL CALL: CALL LIBA/QTSTGPGM PARM(50 I)

   FOR EACH JOB FOUND TO HAVE TEMP STORAGE GREATER
   THAN THE THRESHOLD A MESSAGE IS SENT TO QSYSOPR
   IDENTIFYING THE JOB, THE SUBSYSTEM THE JOB IS
   RUNNING IN AND THE AMOUNT OF TEMP STORAGE USED.

   THE PROGRAM WILL CREATE A USER SPACE OBJECT IN
   THE QTEMP LIBRARY WHICH IT WILL DUMP AT THE END
   OF THE PROGRAM PRIOR TO DELETING THE OBJECT.
   THE USER SPACE WILL HAVE A LIST OF THE JOBS WHICH
   WERE FOUND - WILL SHOW THEIR JOBNAME/USER/NUMBER
   AND TEMP STORAGE USED IN MEG. THE JOBS WHICH
   WERE OVER THE THRESHOLD HAVE ## FOLLOWING THE
   TEMP STORAGE VALUE TO FLAG THEM.

</snip>

----------------------------
Bryan Dietz
Aktion Associates



midrange-l-bounces@xxxxxxxxxxxx wrote on 08/25/2005 12:15:16 PM:

> Anybody written any tools (or know of any) that will trot through the
system
> and determine what the current memory usage of all (or selected) jobs is?
>
> Jon Paris
> Partner400

>



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.