Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: knowing memory usage
- To: tlug@example.com
- Subject: Re: knowing memory usage
- From: Viktor Pavlenko <vp@example.com>
- Date: Mon, 22 Jan 2001 18:47:13 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <20010122181135.7234.AKAMINE@example.com>
- References: <20010122181135.7234.AKAMINE@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <uI_MIB.A.Fi.DBAb6@example.com>
- Resent-Sender: tlug-request@example.com
Just to see the size of a running process from shell use ps or top. If you want to do it from a program, Proc::ProcessTable is very nice (Perl). If you want to write it in C (it's OS-dependent), see the source code of the mentioned Perl module. Hope this helps. Viktor >>>>> On Mon, 22 Jan 2001 18:15:47 +0900, Hector Akamine <akamine@example.com> said: HA> Hi, I have a C program in linux, and I want to know how much HA> memory it is using. Is there any system call or function HA> which I can call to know this? HA> Thanks in advance HA> ----------------------------------------------------------------------- HA> Next Nomikai Meeting: Fri, February 16 19:30- Tengu Tokyo Eki HA> Mae Next Technical Meeting: March (date TBA) HA> ----------------------------------------------------------------------- HA> more info: http://www.tlug.gr.jp Sponsor: Global Online Japan
- References:
- knowing memory usage
- From: Hector Akamine <akamine@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: knowing memory usage
- Next by Date: Roundup bug tracking system
- Prev by thread: Re: knowing memory usage
- Next by thread: Roundup bug tracking system
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links