Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: q7x on October 24, 2009, 06:45:33 PM
-
tinycore load in ram. after copy file ( for example 100 MB) into hard disk (/mnt/hda1) memory used = x + 100 MB
is there any method for copy file into hard disk and not use ram capacity.
-
tinycore load in ram. after copy file ( for example 100 MB) into hard disk (/mnt/hda1) memory used = x + 100 MB
is there any method for copy file into hard disk and not use ram capacity.
How do you measure RAM usage?
-
size of backup.tar : 602 MB
before copy backup
free
total used free shared buffers
Mem: 1026916 35972 990944 0 80
Swap: 0 0 0
Total: 1026916 35972 990944
cd /mnt/hda1/
cp backup.tar backup2.tar
free
total used free shared buffers
Mem: 1026916 1011176 15740 0 1380
Swap: 0 0 0
Total: 1026916 1011176 15740
-
after delete backup2.tar
rm -rf backup2.tar
free
total used free shared buffers
Mem: 1026916 521748 505168 0 1400
Swap: 0 0 0
Total: 1026916 521748 505168
-
This is normal, in a LINUX system usually you see low free memory size with command 'free'. After some use you can see increased number of buffer; it is not a lost memory, just allocated and will be reused when needed.
Better to use 'df -h' command and look for tmpfs available space mounted on / before and after.
-
thanks bmarkus for this help and other replies.
Good luck to you and all Hungarian