info about how much memory ramfs is using

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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?
For example in my case where I set 10MB, I can do

[root@tekkaman ~]# dd if=/dev/zero of=/ramfs/testfile bs=1024k count=30
30+0 records in
30+0 records out
31457280 bytes (31 MB) copied, 0.0393341 s, 800 MB/s

But mount gives the same result
ramfs on /ramfs type ramfs (rw,size=10m)

Is there any other virtual file to show up its usage?

Thanks,
Gianluca
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux