长时间没操作窗口,再次操作时发现有点小卡,然后就执行了一下w,就发生了这个警告:

[root@test test]# w
69 column window is too narrow

该警告的意思是当前窗口太小,要显示的内容无法完整显示,需要调大窗口。


解决方法有两种:

1,将当前窗口调大;

2,使用管道

[root@test test]# w|cat
 14:24:50 up 40 days,  1:46,  1 user,  load average: 0.20, 0.13, 0.04
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root    pts/1    192.168.1.200    09:49    0.00s  0.12s  0.00s sshd: root [pr