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 socket 初步
- linux lsof详解
- linux 文件权限
- Linux 执行数学运算
- 10 篇对初学者和专家都有用的 Linux 命令教程
- Linux 与 Windows 对UNICODE 的处理方式
- Ubuntu12.04下QQ完美走起啊!走起啊!有木有啊!
- 解決Linux下Android开发真机调试设备不被识别问题
- 运维入门
- 运维提升
- Linux 自检和 SystemTap
- Ubuntu Linux使用体验
- c语言实现hashmap(转载)
- Linux 信号signal处理机制
- linux下mysql添加用户
- Scientific Linux 5.5 图形安装教程
- 基于 Linux 集群环境上 GPFS 的问题诊断
- 谁是桌面王者?Win PK Linux三大镇山之宝
- vivi下重新调整分区