Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Process Memory Consumption, How can I record it?
post Nov 24 2003, 04:36 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 24-November 03
Member No.: 1,862


I'm looking for a way to record the amount of RAM consumed by a particular program. I would love to use a utility that could be executed like the TIME command. For example:

mem <program name> > output.txt

The utility would execute the given program and record the amount of memory consumed (heap/stack/text combined or separated). Does anyone know of such a utility?

I cannot use the TIME command as it does not provide an accurate measure for memory consumption. It just details how much memory was allocated by the memory manager in Linux, which is usually a lot more than what is needed. I also cannot use a code profiler either as this will be part of an automated task, and most profilers require someone at the helm.

Thanks a lot!

Go to the top of the page
+Quote Post
post Nov 25 2003, 11:03 PM
Post #2

Its GNU/

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151

This PDF file might be of some help...

Johnny Hughes
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 21st June 2018 - 10:32 PM