SUMMARY: Tru64 v5.1a Memory Grabber

From: Parkin Frank - fparki (fparki@acxiom.co.uk)
Date: Thu Aug 28 2003 - 04:55:40 EDT


Thanks go to Jesper Frank Nemholt, Jan Mark Holzer, redhatcat, Alan Rollow,
Dr. Thomas Blinn and Chris Ford.

I received two pieces of C code and suggestions on the use of memx.

However, I have achieved the desired result by creating MFS mounts and
filling them with data. The system did not like a 1x 10Gb mount but I did
manage to get 10x 1Gb mounts.

ps vax
   PID TTY S TIME SL PAGEIN VSZ RSS %CPU %MEM
COMMAND
621604 ?? I 0:03.34 3676 0 1.00G 977M 0.0 8.0 mfs -F
0x4000 -s2000000 /memfile8
621572 ?? I 0:03.38 3927 0 1.00G 977M 0.0 8.0 mfs -F
0x4000 -s2000000 /memfile7
620966 ?? I 0:00.86 5459 0 1.00G 977M 0.0 8.0 mfs -F
0x4000 -s2000000 /memfile6
620962 ?? I 0:01.16 5614 0 1.00G 977M 0.0 8.0 mfs -F
0x4000 -s2000000 /memfile5
620863 ?? I 0:01.78 6187 0 1.00G 977M 0.0 8.0 mfs -F
0x4000 -s2000000 /memfile4
620795 ?? I 0:01.66 6640 0 1.00G 977M 0.0 8.0 mfs -F
0x4000 -s2000000 /memfile3
531474 ?? I 0:01.63 72308 0 1.00G 977M 0.0 8.0 mfs -F
0x4000 -s2000000 /memfile2
621614 ?? I 0:03.37 2844 0 1.00G 977M 0.0 8.0 mfs -F
0x4000 -s2000000 /memfile10
531421 ?? I 0:01.70 72983 0 1.00G 977M 0.0 8.0 mfs -F
0x4000 -s2000000 /memfile
621612 ?? I 0:03.36 3226 0 1.00G 977M 0.0 8.0 mfs -F
0x4000 -s2000000 /memfile9

Thanks
Frank

                 -----Original Message-----
                From: Parkin Frank - fparki
                Sent: 27 August 2003 17:25
                To: 'tru64-unix-managers@ornl.gov'
                Subject: Tru64 v5.1a Memory Grabber

                Hello Managers,

                For testing purposes I need a tool that will grab x amount
of memory for y amount of time e.g. 10Gb for 60 minutes.

                I imagine that this could be performed by a C mallac.
Unfortunately, my C is very rusty.

                Has anyone get some code that will do this?

                Many thanks
                Frank
                

**********************************************************************
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:34 EDT