
Linux命令
常用linux命名集
shuxiaohua
这个作者很懒,什么都没留下…
展开
-
linux常用命令-进程相关操作
linux常用命令,进程控制原创 2023-03-15 16:36:13 · 117 阅读 · 0 评论 -
各种工具配置忽略证书
前言目前很多系统或工具在运行的时候,都需要进行SSL通信。但是很多网站都是使用的自签名的证书,导致访问失败。有时候我们仅仅只需要屏蔽一下,下面是各种工具或者系统的设置方法。curl 忽略证书命令行配置:curl -k全局配置:echo insecure > ~/.curlrc因为curl可选参数很多,为了防止命令过长,curl会默认去~/.curlrc下面读取curl的全局参数设置......原创 2020-08-10 15:49:50 · 3899 阅读 · 0 评论 -
java命令报:Unable to open socket file
背景现网问题有时候,需要使用jstack、jmap等命令去查看进程当前状态。有时候会报[xxxx@xxxx ~]# jstack xxxxxxxx: Unable to open socket file: target process not responding or HotSpot VM not loadedThe -F option can be used when the target process is not respondingjava进程启动的时候,默认会在/tmp/hsperf原创 2021-12-30 16:28:05 · 5163 阅读 · 0 评论 -
linux常用命令-网络命令
查询进程打开的网络连接lsof -i pid该命令最后一列Name显示了连接信息。有时候端口显示的不是数字,而是一个名字,比如:localhost:fmtp->localhost:62309 (ESTABLISHED)这个是因为linux内置了常见的端口及服务名,我们可以查询这个映射表,知道该名字代表那个端口该映射表为 cat /etc/services...原创 2021-12-18 11:25:20 · 675 阅读 · 0 评论 -
Linux常用命令-查询进程工作目录
1.通过命令查询pwdx pid2.通过进程信息查询ll /proc/{pid}/cwd原创 2021-12-17 12:00:34 · 1060 阅读 · 0 评论