LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Dan" <dung_nguyen@smartstors.com>
To: "Linux PPC Mailing List" <linuxppc-embedded@lists.linuxppc.org>
Subject: processes management
Date: Thu, 3 Aug 2000 21:48:23 +0700	[thread overview]
Message-ID: <000b01bffd59$e0c22600$0301a8c0@w9801> (raw)


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/

                 reply	other threads:[~2000-08-03 14:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000b01bffd59$e0c22600$0301a8c0@w9801' \
    --to=dung_nguyen@smartstors.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox