add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -1,7 +1,7 @@
# ps
> 提供正在运行进程的信息。
> 更多信息:<https://manned.org/ps>.
> 运行进程的信息。
> 更多信息:<https://manned.org/ps>
- 列出所有正在运行的进程:
@@ -11,22 +11,22 @@
`ps auxww`
- 查找与字符串匹配的进程:
- 搜索匹配特定字符串的进程(方括号将防止 `grep` 匹配自身)
`ps aux | grep {{字符串}}`
`ps aux | grep {{[s]tring}}`
- extra full 格式列出当前用户的所有进程:
-额外完整格式列出当前用户的所有进程:
`ps --user $(id -u) -F`
- 以树形方式列出当前用户的所有进程:
- 以树形结构列出当前用户的所有进程:
`ps --user $(id -u) f`
- 获取一个进程的父进程 ID
- 获取进程的父进程PID
`ps -o ppid= -p {{进程 ID}}`
`ps -o ppid= -p {{pid}}`
- 按内存使用量对进程进行排序:
- 按内存消耗对进程进行排序:
`ps --sort size`
`ps --sort size`