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

Linux命令学习

2015-05-05 20:29 211 查看
top 查看内存使用 后kill -9 pid  或者swap

ps -ef |grep tmu 查询tmu的运行休息

pwdx pid  查询运行路径

netstat -anp|grep port (root 权限角色)  查看端口运行状态

kill -9 pid   杀进程

man netstat  查看netstat 详细信息

swapon 

swapoff

chown tmuuser:tmuuser xxx.jar  所属角色设置

chown -R tmuuser:tmuuser dir

chmod 700 xxx.jar 运行权限设置

chmod +x  file.sh 

grep

awk

crontab 

查询线程

su - user

jps

jstack pid

jstack(查看线程)、jmap(查看内存)和jstat(性能分析)命令
http://blog.csdn.net/wxyfighting/article/details/21164829
linux常用命令详解

http://blog.csdn.net/woxiaoheia/article/details/40614579
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: