「Linux」- 进程管理

该部分保存了与操作系统进程、资源使用、负载情况相关的内容,及相关的一些概念。

但不包含命令使用方法相关的内容。

# How to Manage Processes from the Linux Terminal: 10 Commands You Need to Know
https://www.howtogeek.com/107217/how-to-manage-processes-from-the-linux-terminal-10-commands-you-need-to-know/
top/htop/ps/pstree/kill/pgrep/pkill/killall/renice/xkill

获取进程命令的绝对路径

How can I know the absolute path of a running process?

TODO 获取进程命令的绝对路径

下面的方法不一定好用,毕竟情况复杂:

ps -auxwe | grep 24466
ls -l /proc/24466/exe

pwdx $pid

Windows – 查看进程打开的文件

Which files are opened by a specific application?