FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

LinkBack Thread Tools
Old 03-01-2010, 10:17 AM
Gianluca Cecchi
Default info about how much memory ramfs is using

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 /ramfsmount -t ramfs -o size=10m ramfs /ramfs

I can see it via mount but not via df command.[root@tekkaman ~]# mountramfs 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=3030+0 records in30+0 records out31457280 bytes (31 MB) copied, 0.0393341 s, 800 MB/s

But mount gives the same resultramfs on /ramfs type ramfs (rw,size=10m)
Is there any other virtual file to show up its usage?
users mailing list
To unsubscribe or change subscription options:
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Thread Tools

All times are GMT. The time now is 06:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org