当前位置:网站首页>grep实际使用 ps/netstat/sort
grep实际使用 ps/netstat/sort
2022-07-22 10:13:00 【suanday_sunny】
使用正则表达式
ps axo pid,thcount,vsz,rss,sz,etimes,%cpu,%mem,comm,cmd|grep java |grep -v grep |grep -i -E "${name_exp}"
netstat -anp|grep LISTEN|grep -v LISTENING |grep tcp6 |grep :::|grep -i -E "12|13|14"|sort -k 4
-v
是排除-i
是不区分大小写-E
表示后面的输入是按照正则表达式处理
边栏推荐
猜你喜欢
记一次GCEasy的垃圾收集分析
JVM-jstat(虚拟机统计信息监视工具)的使用
Domestic stereo audio frequency d/a converter dp4344 replaces compatible cs4344
Use of JVM jmap (memory mapping tool)
jvm的jps简单使用
Atr5179 single pole double throw switch chip replaces as179-92lf
JVM-VisualVM:多合-故障处理工具
Causal of maxscale_ Reads parameter
multiple inheritance
MariaDB audit plug-in
随机推荐
索引为什么选择B+树
Use of JVM Jinfo
从数据标准到数据库设计:解决基础数据标准落地的最后一公里难题(上)
Understanding and analysis of modules and components, modularity and componentization
jvm的jps简单使用
SparkSQL Dataset的创建
Solve couldn't determine repo type for URL
纯函数与高阶函数
Vector
Polymorphism
Spark:图(Graph)
Static member
zabbix怎样自定义mysql监控项并触发告警
spinning
撞库、脱库和洗库
Compared with technology and products, listening and opinions are the top priority of Web3 at present
Spark SQL:MySQL经典50题(SQL版和Spark版)
-Bash: ifconfig: command not found
Why choose b+ tree for index
中国最幸运极客:二十出头身家过亿,三次创业全身而退