您现在的位置是: 首页 > 运维 Linux 常用命令 持续更新中...
Linux 常用命令 持续更新中...
2020-05-20 【运维】 1603人已围观 2946次浏览
简介Linux 常用命令 持续更新中...
查看端口占用
lsof -i tcp:80
列出所有TCP端口
netstat -ntlp
如果是UDP端口,则
netstat -nulp
查看进程启动位置
ls -al /proc/4170
重启tomcat
./shutdown.sh
./startup.sh
查看当前软件的所有进程
ps -ef|grep mysql
干掉指定pid的进程
kill -9 pid
查看端口监听
netstat -antp|grep LISTEN
查看路径
whereis nginx
查看指定进程的top使用情况
top -p pid
查看指定进程的status
cat /proc/pid/status
Linux 清屏命令
ctrl + l
很赞哦! (0)
相关文章
- CentOS 安装 Docker
- docker mysql 导入 SQL 脚本
- sentinel directive while not in sentinel mode 问题解决
- Debian apt 使用国内镜像
- 使用 OpenSSL 将 pfx 格式证书转为 pem 格式
- 【Docker】unauthorized: incorrect username or password
- Zookeeper 找不到或无法加载主类 org.apache.zookeeper.server.quorum.QuorumPeerMain
- 常见端口号
- Oracle ORA-12541:TNS:no listener错误解决方法
- Linux 查看磁盘、磁盘分区、挂载磁盘、卸载磁盘操作
点击排行
- Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR DISABLE You can't write or read against a disable instance
- Debian apt 使用国内镜像
- RocketMQ 出现 sendDefaultImpl call timeout 问题
- 类 BASE64Decoder 程序包 sun.misc 找不到符号
- SpringBoot @NotBlank 不生效问题
- 记一次 Mybatis-Plus 自动填充无效问题解决
- nuxt 项目完整部署方案
- SpringBoot 2.x 文件上传出现 The field file exceeds its maximum permitted size of 1048576 bytes
站长推荐
猜你喜欢
- CentOS 安装JDK
- SpringBoot 启动提示 Requested bean is currently in creation: Is there an unresolvable circular reference?
- Zookeeper 找不到或无法加载主类 org.apache.zookeeper.server.quorum.QuorumPeerMain
- Vue 路由跳转后不在顶部
- Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR DISABLE You can't write or read against a disable instance
- SqlServer字符串处理
- Linux 查看磁盘、磁盘分区、挂载磁盘、卸载磁盘操作
- SpringBoot 2.x 文件上传出现 The field file exceeds its maximum permitted size of 1048576 bytes
- 删除Git仓库所有历史提交记录,成为一个干净的仓库
- 使用 OpenSSL 将 pfx 格式证书转为 pem 格式