> For the complete documentation index, see [llms.txt](https://jimmy-walker.gitbook.io/linux-shell/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jimmy-walker.gitbook.io/linux-shell/linux-brief/linux-system-management.md).

# Linux system management

1. Linux top命令用于实时显示 process 的动态。

   1. 显示进程信息

   ```shell
   top
   ```

   1. 设置信息更新时间

   ```shell
   top -d 3
   //表示更新周期为3秒
   ```
2. 重定向符>>，比如cmd >> file 把 stdout 重定向到 file 文件中(追加)；

   ```shell
   top -d 1 >> record.log
   //此时会不断运行此命令
   ```
