phper-linux-gitbook/netstat-system.md
2018-05-13 16:05:30 +08:00

82 lines
721 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#### uptime 命令
```
uptime #显示信息依次为:当前时间、系统运行时间、目前登录用户、系统在 1 分钟、5 分钟和 15 分钟内的负载。
```
#### free 命令
```
free -m #以 mb 统计系统内存
free -k #以 kb 统计系统内存
```
补充total总内存used已使用内存free空闲的内存shared 当前已经废弃不用buff/cache 缓存内存available 可用内存
#### du 命令
```
```
#### df 命令
```
```
#### top 命令
```
```
#### netstat 命令
```
```
#### ps 命令
```
```
#### lsof 命令
```
```
#### kill 命令
```
```
#### killall 命令
```
```
#### pkill 命令
```
```
#### env 命令
```
```