增加机器swap值
May 21, 2007#dd if=/dev/zero of=/var/swap0 bs=1024k count=1024
#chmod 0600 /var/swap0
#mdconfig -a -t vnode -f /var/swap0 -u 0 && swapon /dev/md0
#echo ’swapfile="/var/swap0"’ >> /etc/rc.conf
#dd if=/dev/zero of=/var/swap0 bs=1024k count=1024
#chmod 0600 /var/swap0
#mdconfig -a -t vnode -f /var/swap0 -u 0 && swapon /dev/md0
#echo ’swapfile="/var/swap0"’ >> /etc/rc.conf
The URI to TrackBack this entry is: http://delta.blogsome.com/2007/05/21/p14/trackback/
No comments yet.
RSS feed for comments on this post.
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>