Michael,

I have a process that I use to determine openfiles on a server that would do 
what you want but is a long way around.

Using the command prompt command tasklist you can get a current list of 
processes and memory usage.  Put this command in a bat file that creates the 
output as a text file.
Run the Bat from RBase, Import the Text file it created and then you can search 
the table for the value you need.  It sounds like a lot but takes less than a 
second to do

Bat File (memory.bat)

Tasklist /fo csv >> c:\temp\Memory.txt

RBase Program:

  SET VAR vcomspec = (ENVVAL('COMSPEC'))
  ZIP &VCOMSPEC /C memory.bat
  LOAD memorytable FROM memory.txt AS CSV





Frank Taylor - Director of Information Technology
F.J. O'Hara & Sons,  Inc - Araho Transfer Inc.
Boston, MA - Rockland, ME - Miami, FL
Direct Dial - 617-790-3093
email: 
[email protected]<http://mail.whitewolftechnologies.com/cgi-bin/compose.exe?id=01ef7f9322f8a76400dacb6a1fe342bb5a7&new=&xsl=compose.xsl&[email protected]>

From: [email protected] [mailto:[email protected]] On Behalf Of Michael J. 
Sinclair
Sent: Monday, July 22, 2013 12:14 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Displaying Memory usage

Hi All,
I recently tried the PROPERTY APPLICATION FLUSHMEM 'TRUE' command
And it worked great!
Is there any way of capturing the amount of memory that Rbase is using and 
having it displayed in real time on a form?
I can see it in real time watching the task manager, but it would be more 
convenient to have the value displayed on a form so I can watch it change as I 
do various things.

Mike

Reply via email to