info about how much memory ramfs is using

Andras Simon szajmi at gmail.com
Mon Mar 1 12:30:07 UTC 2010


On 3/1/10, Gianluca Cecchi <gianluca.cecchi at gmail.com> wrote:
> Hello,
> If I set a ramfs file system like this on a Fedora 12 system (but I think it
> is the same in general):
>
> mkdir /ramfs
> mount -t ramfs -o size=10m ramfs /ramfs
>
> I can see it via mount but not via df command.
> [root at tekkaman ~]# mount
> ramfs on /ramfs type ramfs (rw,size=10m)
>
> As ramfs is dynamic and can go beyond initial set, how can I see how much
> memory is using?

How about du -s /ramfs ?

Andras


More information about the users mailing list