From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Parkin Frank - fparki Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Tru64 v5.1a Memory Grabber Date: Thu, 28 Aug 2003 09:55:40 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: sea.gmane.org 1062060842 14178 80.91.224.253 (28 Aug 2003 08:54:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2003 08:54:02 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Aug 28 10:54:00 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19sIXX-0005CQ-00 for ; Thu, 28 Aug 2003 10:54:00 +0200 Original-Received: (qmail 2375 invoked by uid 5); 28 Aug 2003 08:53:36 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 2366 invoked by uid 49493); 28 Aug 2003 08:53:35 -0000 Original-Received: from fparki@acxiom.co.uk by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-4.7/5.0):. Processed in 18.74083 secs); 28 Aug 2003 08:53:35 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 28 Aug 2003 08:53:16 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HKB00AVBNCR3M@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 28 Aug 2003 04:53:16 -0400 (EDT) Original-Received: from aerynsun.acxiom.com (aerynsun.acxiom.com [198.160.100.121]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HKB00DI0NC8OL@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 28 Aug 2003 04:52:58 -0400 (EDT) Original-Received: from relay2.conway.acxiom.com (unverified) by aerynsun.acxiom.com (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Thu, 28 Aug 2003 03:52:42 -0500 Original-Received: from srvlon20.uk.acxiom.com (unverified [10.150.100.51]) by relay2.conway.acxiom.com (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Thu, 28 Aug 2003 03:52:42 -0500 Original-Received: by srvlon20.uk.acxiom.com with Internet Mail Service (5.5.2653.19) id ; Thu, 28 Aug 2003 09:45:09 +0100 Content-return: allowed Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:5215 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5215 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.