From: Hadron on
"jeniffer" <zenith.of.perfection(a)gmail.com> writes:

> On Apr 2, 6:31 pm, j...(a)franjam.org.uk (Jim Jackson) wrote:
>> In comp.arch.embedded jeniffer <zenith.of.perfect...(a)gmail.com> wrote:
>>
>> > 2. Is there a tool with low memory footprint to find out the dynamic
>> > memory usage of applications during runtime?Applications like
>> > iptables,ebtables etc that cannot be made to run in background?
>>
>> Why would you run the iptables program in the background? And what
>> difference to memory usage would it make?
>>
>> The iptables program simply loads configuration data into the kernel
>> to control the kernel's netfilter functions.
>
> Thanks a lot.I want to run iptables in the background (even for the
> time it takes to add a rule or display all chains) because I do a cat /
> proc/meminfo before the background application runs and while the
> application is running in the background to find out the RAM
> requirement.
> Iptables might use malloc etc ..Since it makes its own data structures
> before doing a final setsockopt() on the kernel,I think it would make
> difference to memory usage.
>

You do a meminfo check before and after running iptables in order to get
the memory usage of iptables. Fine. But why do you think the memory reqs
are different? Also, how can you be sure that Iptables is "done" when
you have it in the bg when you run the meminfo check the second time?

From: Hans-Bernhard Bröker on
jeniffer wrote:

> I cannot use 2.4 neither ps or top are supported.

With all due respect, that's utter nonsense. I'm sure that Linux has
supported 'ps' since before version 1.0, by a sizable margin. I
probably still have a CD from a time before RedHat was a word, to prove
it. 'top' may have come a bit later, but definitely before version 2.0.

[Please note and respect the F'up2]
From: Anonymous on
In article <1175576663.737616.74890(a)p15g2000hsd.googlegroups.com>,
jeniffer <zenith.of.perfection(a)gmail.com> wrote:

>I cannot use 2.4 neither ps or top are supported.

Really? Just how did you come to that erroneous conclusion?

--
http://www.spinics.net/lists/kernel/
From: jeniffer on
On Apr 4, 2:50 am, e...(a)no.spam () wrote:
> In article <1175576663.737616.74...(a)p15g2000hsd.googlegroups.com>,
>
> jeniffer <zenith.of.perfect...(a)gmail.com> wrote:
> >I cannot use 2.4 neither ps or top are supported.
>
> Really? Just how did you come to that erroneous conclusion?
>
> --http://www.spinics.net/lists/kernel/

ps and top have memory requirements .The busybox that I use doesnt
have ps or top applets compiled into.I know I can compile them into
it.I use the file /proc/meminfo - the very file ps and top use.kill
and top come in the Process utilities sections of busybox that can
very well be compiled to.

From: Grant Edwards on
On 2007-04-04, jeniffer <zenith.of.perfection(a)gmail.com> wrote:
> On Apr 4, 2:50 am, e...(a)no.spam () wrote:
>> In article <1175576663.737616.74...(a)p15g2000hsd.googlegroups.com>,
>>
>> jeniffer <zenith.of.perfect...(a)gmail.com> wrote:
>> >I cannot use 2.4 neither ps or top are supported.
>>
>> Really? Just how did you come to that erroneous conclusion?
>>
>> --http://www.spinics.net/lists/kernel/
>
> ps and top have memory requirements.

And you are implying that's not true for a 2.6 kernel?

> The busybox that I use doesnt have ps or top applets compiled
> into. I know I can compile them into it. I use the file
> /proc/meminfo - the very file ps and top use.kill and top come
> in the Process utilities sections of busybox that can very
> well be compiled to.

None of which answeres the question of how you came to the
conclusion that 2.4 kernels don't support ps and top.

--
Grant Edwards grante Yow! Let's send the
at Russians defective
visi.com lifestyle accessories!