Hi Bob,

I don't use the ps -ef in my memory calculation.
If I do the sum of /proc/slabinfo, I get 6,6 Mbytes of memory used, that is
far from the 9 Megabytes used reported by 'free'.
Any idea on this difference ?

Thanks for your help.
Stan




> -----Message d'origine-----
> De : [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] De la part de rwarner
> Envoyé : lundi 28 juillet 2008 16:55
> À : uClinux development list
> Objet : Re: [uClinux-dev] uCLinux RAM usage
> 
> Stan Marly wrote:
> >         # ps -ef
> >          PID PORT STAT SIZE SHARED %CPU COMMAND
> >            1      S    141K     0K  0.5 /bin/init
> >            2      S      0K     0K  0.0 keventd
> >            3      R      0K     0K  0.0 ksoftirqd_CPU0
> >            4      S      0K     0K  0.0 kswapd
> >            5      S      0K     0K  0.0 bdflush
> >            6      S      0K     0K  0.0 kupdated
> >            7      S      0K     0K  0.0 wlan_main_servic
> >            8      S      0K     0K  0.0 mtdblockd
> >            9      S      0K     0K  0.0 khubd
> >           18      S      0K     0K  0.0 jffs2_gcd_mtd1
> >           30   S0 S    198K     4K  0.0 /bin/sh
> >           31      S     19K     0K  0.0 /bin/inetd
> >           32      S     70K     4K  0.0 /bin/syslogd -n -s 256 -b 2
> >           33      S     22K     4K  0.4 /bin/telnetd
> >           34   p0 S    200K     4K  0.0 sh
> >           38   p0 S    4638K     0K 34.0 etcl ./package
> >           42      S     26K     0K  0.1 /bin/dhcpcd -t 0 -d eth0
> >           43      S     22K     4K  0.3 /bin/telnetd
> >           44   p0 S    205K     4K  0.1 sh
> >           86   p0 R     20K     0K  0.0 ps -ef
> 
> Hi Stan,
> 
> Yes sorry i missed it, 4638K.  How does this figure into your 
> memory calculation?
> 
> bob
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected] To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to