设定ProftpD的nice level

| | Comments (0) | TrackBacks (0)
我用的是Debian testing,开FTP用的是Proftpd. 现在觉得ftp影响了我的桌面的性能,想把它的nice值设置低。 查看/etc/init.d/proftpd 发现是用start-stop-daemon 启动Proftpd的。$ man start-stop-daemon .找到
       -N|--nicelevel int
              This alters the prority of the process before starting it.
于是修改/etc/init.d/proftpd文件,
start()
{
    if start-stop-daemon -N 18 --start --quiet --pidfile "$PIDFILE" \
        --exec $DAEMON -- $OPTIONS ; then
        echo "$NAME."
    else
        echo "."
    fi
}
, 搞定:)

0 TrackBacks

Listed below are links to blogs that reference this entry: 设定ProftpD的nice level.

TrackBack URL for this entry: http://www.ieasy.org/cgi-bin/MTOS/mt-tb.cgi/71

Leave a comment

About this Entry

This page contains a single entry by 科学家 published on October 20, 2004 5:13 PM.

终于明白为啥我的MoinMoin wiki不被google索引了 was the previous entry in this blog.

MoinMoin中Anchor宏的BUG is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.