473,398 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Memory stats in a POSIX enviornment

Someone posted a nifty trick a while ago for estimating the amount of
memory currently in use in a running application. Can someone either
repost that or let me know their own thoughts on the subject?

Thanks.

-Richard
Jun 27 '08 #1
2 1344
On 22 May 2008 at 4:51, Richard Cranium wrote:
Someone posted a nifty trick a while ago for estimating the amount of
memory currently in use in a running application. Can someone either
repost that or let me know their own thoughts on the subject?
Are you thinking of mallinfo(), provided in malloc.h by System V and
descendents?

Jun 27 '08 #2
On Wed, 21 May 2008 21:51:23 -0700, Richard Cranium
<ci********@gmail.comwrote in comp.lang.c:
Someone posted a nifty trick a while ago for estimating the amount of
memory currently in use in a running application. Can someone either
repost that or let me know their own thoughts on the subject?
My thoughts... You're asking in the wrong place. Neither memory
stats or POSIX are part of the C language, so they're off-topic here.

Try comp.unix.programmer, or a group for your specific *X flavor, such
as comp.os.linux.development.apps, if that's your preference.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Greg | last post by:
Hello... Our system uses JBoss 3.2 with MySQL. Part of the system is a stats collection process that fires as a TimerListener every 15 sec or so. It grabs some info and stuffs it into a...
2
by: shyamal | last post by:
I want to display memory content using C++ on LINUX. For example, the user may ask to display 256 bytes from 0x1000ff00. The problem is , if any location is invalid, the program will coredump...
1
by: Todd | last post by:
I have a .Net windows app running over a Citrix enviornment that normally shows 30 to 50MB of usage according to the server's Task Manager. Our Citrix admin is concerned that this app will...
8
by: Tarek Ziadé | last post by:
Hi list, I am trying to find a general memory profiler that can measure the memory usage in Python program and gather some stats about object usages, and things like that. I am trying to find...
50
by: Joerg Schwerdtfeger | last post by:
Hi folks, how can I determine the total main-memory size and the size of free memory available in bytes? I tried to use mallinfo() from malloc.h - resulting some strange values in Windows...
29
by: keredil | last post by:
Hi, Will the memory allocated by malloc get released when program exits? I guess it will since when the program exits, the OS will free all the memory (global, stack, heap) used by this...
9
by: CptDondo | last post by:
I am working on an embedded platform which has a block of battery-backed RAM. I need to store various types of data in this block of memory - for example, bitmapped data for control registers,...
4
by: Hermann Maier | last post by:
hi, i need to find out the memory usage of a specific function that i use in my program. this function does some recursive calculations and i want my program to display the amount of memory the...
21
by: llothar | last post by:
Hello, i need to manage a heap in shared memory. Does anybody know about a portable (win32+mac+posix) c implementation for this.
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.