您的位置:首页 > 理论基础 > 计算机网络

Linux 笔记 检查状态/监控网络流量

2015-10-15 11:19 519 查看
wget http://gael.roualland.free.fr/ifstat/ifstat-1.1.tar.gz tar zxvf ifstat-1.1.tar.gz
cd ifstat-1.1
./configure
make && make install && echo 'ok'


#执行命令
ifstat


#统计当前目录下的子文件大小
du -sh ./*

#查看磁盘状态
df -lh


#查linux木马
find ./ -type f |xargs grep '[^a-z]eval($_POST'
find ./ -type f |xargs grep '[^a-z]eval[^a-z]'
find ./ -type f |xargs grep 'file_put_contents'


#PHPCMS升级的时候用
chmod -R 777 api phpcms statics phpsso_server/api phpsso_server/phpcms

chmod -R 755 api phpcms statics phpsso_server/api phpsso_server/phpcms

find ./api -type f -exec chmod 644 {} \;
find ./phpcms -type f -exec chmod 644 {} \;
find ./statics -type f -exec chmod 644 {} \;
find ./phpsso_server/api -type f -exec chmod 644 {} \;
find ./phpsso_server/phpcms -type f -exec chmod 644 {} \;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  网络流 linux