您的位置:首页 > 运维架构 > Linux

Linux

2016-06-20 19:00 471 查看
1.  杀掉同名程序:ps –efww|grepxxx|grep –v grep|cut –c 9-15|xargs kill -9

2.    查找某程序运行数量:ps –elf|grep xxx|wc

3.    查看某端口的运行程序: lsof –i:xxxx

4.    查看ssd和其他的大小:yum install lsscsi*;lsscsi –l;fdisk –l;df –h

5.    storm启动:主控:./stormnimbus > /dev/null 2>&1 &;工作:./storm supervisor> /dev/null 2?&1 &;界面:ui

6.    查找某一文件: find / -name ‘XXX’

7.    定时任务:crontab –e  * * * * *每分时天月周 》追加 &连接
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: