在Linux下執行w 時,顯示70 column window is too narrow

來源:互聯網
上載者:User

在Linux下執行w 時,顯示70 column window is too narrow

今天在Linux下執行 w這個命令時,出現70 column window is too narrow,不知道是什麼問題,後來在網上查了一下,看一個解決方案,在w後面用管道的方式進行輸入,然後在執行 w就不會報錯了

[root@www.bkjia.com ~]# w

70 column window is too narrow

[root@mylab ~]# w|cat

 20:39:38 up  5:28,  5 users,  load average: 0.00, 0.00, 0.00

USER    TTY      FROM              LOGIN@  IDLE  JCPU  PCPU WHAT

root    tty1    -                20:06  33:27  0.14s  0.14s -bash

root    pts/0    192.168.255.1    15:32    4:59  3.71s  0.76s vim ckuser.sh

root    pts/1    192.168.255.1    19:06  26:17  0.37s  0.17s -bash

root    pts/2    192.168.255.1    17:37    0.00s  0.40s  0.02s w

root    pts/3    192.168.255.1    20:16    4:55  0.27s  0.27s -bash

[root@www.bkjia.com ~]# w

 20:41:08 up  5:30,  5 users,  load average: 0.00, 0.00, 0.00

USER    TTY      FROM              LOGIN@  IDLE  JCPU  PCPU WHAT

root    tty1    -                20:06    6.00s  0.17s  0.17s -bash

root    pts/0    192.168.255.1    15:32    6:29  3.71s  0.76s vim ckuser.sh

root    pts/1    192.168.255.1    19:06  27:47  0.37s  0.17s -bash

root    pts/2    192.168.255.1    17:37    0.00s  0.42s  0.02s w

root    pts/3    192.168.255.1    20:16    6:25  0.27s  0.27s -bash

本文永久更新連結地址:

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.