1
群晖中没有lsof , fuser等命令 以下安装ipkg实现安装lsof等命令

如下方法安装lsof:

进入Root模式:

1
sudo -i

安装ipkg:

1
2
3
wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh
chmod +x syno-i686-bootstrap_1.2-7_i686.xsh
sh syno-i686-bootstrap_1.2-7_i686.xshxxxxxxxxxx 安装ipkg:wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xshchmod +x syno-i686-bootstrap_1.2-7_i686.xshsh syno-i686-bootstrap_1.2-7_i686.xsh

更新ipkg:

1
ipkg update

安装lsof:

1
2
ipkg install lsof

完成后就可以使用lsof 了。