terminal is not big enough
sshターミナル環境でtopコマンド発行時、terminal is not big enough
が表示され出力されないので調査した時の勉強メモ。
- sshターミナルでtopコマンド発行
- 発生内容:Sorry, terminal is not big enough
- 対応:代替えコマンド発行(mpstat -P ALL)
[root@**** ~]# top top - 12:29:03 up 67 days, 47 min, 1 user, load average: 0.17, 0.15, 0.15 Tasks: 648 total, 1 running, 647 sleeping, 0 stopped, 0 zombie Cpu(s): 1.7%us, 0.4%sy, 0.0%ni, 97.9%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st Mem: 132111780k total, 85066756k used, 47045024k free, 370724k buffers Swap: 524284k total, 250892k used, 273392k free, 75117400k cached Sorry, terminal is not big enough PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3256 root 20 0 15.2g 4.2g 5212 S 50.2 3.3 16477:55 ruby 17742 root 20 0 15424 1564 832 R 3.9 0.0 0:00.02 top 1 root 20 0 19340 1348 1124 S 0.0 0.0 0:01.96 init
↑でSorry, terminal is not big enough
発生。
■代替えコマンド発行
[root@**** ~]# mpstat -P ALL Linux 2.6.32-696.16.1.el6.x86_64 (www.test.co.jp) 12/11/2018 _x86_64_ (32 CPU) 12:24:03 PM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle 12:24:03 PM all 1.65 0.00 0.39 0.00 0.00 0.07 0.00 0.00 97.88 12:24:03 PM 0 1.80 0.00 0.60 0.01 0.00 0.06 0.00 0.00 97.53 12:24:03 PM 1 1.71 0.00 0.31 0.00 0.00 0.00 0.00 0.00 97.97 ...
CPUコア毎に確認出来た。
さまざまなアプローチ方法を知っているかがポイントになる。