linux常用命令总结
linux常用命令总结:
想要查找一个宏定义在哪个文件中,可以使用下面的方法:
find /usr/include/ -name .h | xargs grep ‘ORIG_EAX’
2)去除杂质文件
find . -name ".gcda" | xargs rm -rf
查看进程pid,进程组,父进程pid,进程名
各属性用“,”隔开
ps ax -o pid,pgid,ppid,comm | grep fork
查看运行的进程处于哪个核上
[root@localhost tmp]# ps -eLo
原创
2020-12-28 21:17:32 ·
395 阅读 ·
0 评论