docker容器无法使用top命令
解决方法:export TERM=dumb具体如下:[root@fa560f7c089a bin]# topTERM environment variable not set.[root@fa560f7c089a bin]# echo $TERMdumb[root@fa560f7c089a bin]# export TERM=dumb[root@fa560f7c089a bin]...
·
解决方法:export TERM=dumb 具体如下: [root@fa560f7c089a bin]# top TERM environment variable not set. [root@fa560f7c089a bin]# echo $TERM dumb [root@fa560f7c089a bin]# export TERM=dumb [root@fa560f7c089a bin]# top top - 11:25:02 up 244 days, 12:52, 0 users, load average: 3.04, 3.16, 3.09 Tasks: 6 total, 1 running, 5 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.5 us, 0.3 sy, 0.0 ni, 99.0 id, 0.1 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 13180149+total, 1309892 free, 42048880 used, 88442720 buff/cache KiB Swap: 4194300 total, 4194300 free, 0 used. 79813936 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 22983 root 20 0 25.868g 1.105g 17656 S 193.8 0.9 133:29.64 java 1 root 20 0 13248 2992 2804 S 0.0 0.0 0:00.08 sh 15 root 20 0 24228 2688 2068 S 0.0 0.0 0:20.96 crond 24 root 20 0 105980 7384 6388 S 0.0 0.0 0:00.08 sshd
更多推荐
已为社区贡献4条内容
所有评论(0)