新增和修改文档
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2025-12-24 21:11:04 +08:00
parent 9bd08c819e
commit cc16f488cb
3 changed files with 206 additions and 124 deletions

View File

@@ -8,6 +8,8 @@
journalctl -xe --no-pager
```
`-f` 持续查看日志
- 显示内核环缓冲区的内容
```bash

17
Docs/Linux查看进程.md Normal file
View File

@@ -0,0 +1,17 @@
> 本位作者:丁辉
# Linux查看进程
- 查看资源占用前 10 的进程
```bash
ps aux --sort=-%mem | awk 'NR==1; NR>1 {print $0 | "head -11"}'
```
或者更简洁的
```bash
ps aux --sort=-%mem | head -11
```