내 CPU 사용량이 거의 90% 이상입니다. htop의 출력을 조사한 후 다음 명령을 사용하는 프로세스가 너무 많은 CPU 사용량을 차지하는 것을 확인했습니다.
/usr/lib/xorg/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.eEvrhpxBUl
전체 데이터를 살펴보세요
alamin 1635 1634 31 06:12 tty1 00:35:13 /usr/lib/xorg/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.eEvrhpxBUl
alamin 9081 26703 0 08:04 pts/0 00:00:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn Xorg
lspci 출력
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3)
00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3)
00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3)
00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3)
00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
06:00.0 Network controller: Intel Corporation Wireless 3160 (rev 83)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07)
08:00.0 3D controller: NVIDIA Corporation GK208M [GeForce 920M] (rev a1)
mpstat -P ALL의 출력
Linux 4.10.0-33-generic (laptop) 08/29/2017 _x86_64_ (4 CPU)
08:55:25 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle
08:55:25 AM all 47.07 0.01 18.16 4.53 0.00 0.52 0.00 0.00 0.00 29.70
08:55:25 AM 0 48.75 0.01 17.76 4.44 0.00 0.18 0.00 0.00 0.00 28.87
08:55:25 AM 1 47.76 0.02 17.03 4.06 0.00 1.59 0.00 0.00 0.00 29.55
08:55:25 AM 2 47.95 0.01 18.64 5.16 0.00 0.22 0.00 0.00 0.00 28.02
08:55:25 AM 3 43.81 0.01 19.24 4.47 0.00 0.09 0.00 0.00 0.00 32.38
vmstat 출력
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
2 0 0 5918180 57512 905904 0 0 202 28 1848 2469 48 19 29 4 0
더 많은 데이터가 필요한 경우. 그냥 물어봐....
해결 방법을 제안해 주세요.
답변1
감사해요@decter. 문제는 계속해서 많은 콘텐츠를 표시하려고 시도하는 다른 프로세스인 i3bar에 있습니다. 구성에 대해 조사한 결과 병목 현상이 발생하는 것을 알아냈습니다.