Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- docker
- bash
- K8S
- centos 7.5
- 빅데이터
- yum
- 크롬
- C
- 디렉토리
- 파이썬
- GNOME
- Audit Log
- GPU
- Python
- Linux
- Kubernetes
- syslog
- CentOS
- rsyslog
- Shell
- audit
- JSON
- 서울시민카드
- RHEL
- Elasticsearch
- Chrome
- zabbix
- PostgreSQL
- log
- Elk
Archives
- Today
- Total
Sysops Notepad
[LINUX] disk io 상태 확인하기 본문
728x90
iostat명령어는 CPU 사용률과 디스크 장치 및 파티션에 대한 IO 통계 정보를 출력합니다.
[root@s~]# iostat
Linux 3.10.0-1160.11.1.el7.x86_64 11/09/2021 _x86_64_ (6 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
8.24 1.20 19.63 0.02 0.00 70.91
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sda 7.58 127.67 134.32 2374313503 2497805296
sdb 3.10 10.98 193.42 204229564 3596904712
iotop명령어는 모든 프로세스의 IO 통계를 출력합니다.
[root@ ~]# iotop
Total DISK READ : 0.00 B/s | Total DISK WRITE : 0.00 B/s
Actual DISK READ: 0.00 B/s | Actual DISK WRITE: 0.00 B/s
TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND
18432 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % containerd-shim-runc-v2 -address /run/containerd/containerd.sock
1 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % systemd --switched-root --system --deserialize 22
2 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kthreadd]
4 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/0:0H]
6 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [ksoftirqd/0]
7 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [migration/0]
8 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [rcu_bh]
9 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [rcu_sched]
10 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [lru-add-drain]
11 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [watchdog/0]
12 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [watchdog/1]
13 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [migration/1]
14 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [ksoftirqd/1]
16 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/1:0H]
17 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [watchdog/2]
18 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [migration/2]
19 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [ksoftirqd/2]
6164 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [monitor.sh]
21 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/2:0H]
22 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [watchdog/3]
23 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [migration/3]
24 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [ksoftirqd/3]
26 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/3:0H]
27 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [watchdog/4]
28 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [migration/4]
29 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [ksoftirqd/4]
31 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/4:0H]
32 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [watchdog/5]
33 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [migration/5]
34 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [ksoftirqd/5]
36 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kworker/5:0H]
38 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kdevtmpfs]
39 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [netns]
40 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [khungtaskd]
41 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [writeback]
42 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kintegrityd]
43 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [bioset]
44 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [bioset]
45 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [bioset]
46 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kblockd]
47 be/0 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [md]
iotop "--only"옵션으로 현재 io중인 프로세스만 확인 가능합니다.
[root@ ~]# iotop --only
Total DISK READ : 0.00 B/s | Total DISK WRITE : 23.17 K/s
Actual DISK READ: 0.00 B/s | Actual DISK WRITE: 42.47 K/s
TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND
18504 be/4 gitlab-r 0.00 B/s 0.00 B/s 0.00 % 0.00 % sh /usr/bin/VBoxManage --version
728x90
'업무 > sys' 카테고리의 다른 글
[Linux] MongoDB 4.x 설치 (0) | 2021.11.15 |
---|---|
[Linux] CentOS SELinux 비활성화 (0) | 2021.11.15 |
[LINUX] ifconfig 항목 설명 (0) | 2021.11.09 |
Alma linux 8.x 설치 (1) | 2021.08.23 |
[Linux] dd 명령어 사용법 (0) | 2021.04.11 |
Comments