Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

How to now memory occupation

hi all,

I know that my "kernel+file system" occupies about 4 Mo of flash,

but I want also to know the RAM occupation of kernel.

"ps" command under linux gives only memory occupation of applications.

did any know how to measure the memory occupation of kernel.

best regards http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    free[/b]

    --- Quote End ---

    should do what you want.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by lwbuss@May 25 2006, 07:24 AM

    <div class='quotetop'>quote

    --- quote end ---

    --- quote start ---

    free

    --- Quote End ---

    should do what you want.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15576)</div>

    [/b]

    --- Quote End ---

    Or cat /proc/meminfo