LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* processes management
@ 2000-08-03 14:48 Dan
  0 siblings, 0 replies; only message in thread
From: Dan @ 2000-08-03 14:48 UTC (permalink / raw)
  To: Linux PPC Mailing List


Hi Friends,

I am Dan Nguyen, I just work with Linux PCC.
Could you help me (if I am wrong, please show me
the right address mailling list, thanks!

 - How to check memory safe when running application?
- I want find the program look like check_mem, that I can
check usaged memory before and after running an application.
I feel /proc/infomem can not say me my application has leak
mem. I used mpr, but I want to know other tools.
- When does dynamic loaded library was removed from memory?
- Can we remove dynamic library on demand?
- How to check a specified dynamic lib stay on memory or not?
- I make a big program with many functions, it not fit on small
memory (my Embedded Linux only have 4 MB RAM and no swap),
I intend design it as follows:
 + main program will manage all function: main_app
 + Write each function as shared library (ex: f1.so, f2.so, ... fn.so)
 + If main program need that function, then it will loaded into memory.

 Now I don't know which way to best:
 1. link main_app and f1.so, f2.so, ... fn.so
 OR
 2. call explicit function in main_app.c, only using -ldl

 Thanks for your concerning.

Dan Nguyen


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-03 14:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-03 14:48 processes management Dan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox