由买买提看人间百态

topics

全部话题 - 话题: mkfile
(共0页)
f****n
发帖数: 4615
1
来自主题: Unix版 - adding more swap space command...
Adding more space to swap space, first mkfile a big file, then "swap -a"
this file to swap file. This mkfile command has two arguments: -n and -v.
"-v" specifies verbose reporting mode. "-n" indicates that the disk space
should be allocated as needed up to the specified size( instead of all
being allocated when the file is created). I don't know the meaning
in parentheses. Can you help me?
t*******g
发帖数: 89
2
来自主题: Unix版 - Ask help about swap space ( Urgent )
I know on Solaris, you can 'mkfile' a big file, then
use swap command to add this file to swap space. But
I am not sure if that works on digital.
c*******u
发帖数: 1269
3
来自主题: Unix版 - Question: How to make room for /?
su
..
mkfile -v 100m swap.dat
swap -a DIR/swap.dat.
I remeber I once did that, but I think repartition is best way to go
c****j
发帖数: 258
4
来自主题: Unix版 - 问两个问题
lsof, netstat
different unix has different command to do this, but they all can make a
file and use it for swap (see mkfile, dd, swap, swapon etc.)
http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/
(共0页)