{"id":887,"date":"2019-04-18T17:05:44","date_gmt":"2019-04-18T09:05:44","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=887"},"modified":"2019-06-25T23:10:41","modified_gmt":"2019-06-25T15:10:41","slug":"w","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/w","title":{"rendered":"w\u547d\u4ee4 – \u663e\u793a\u5df2\u767b\u5f55\u7528\u6237"},"content":{"rendered":"\n

w\u547d\u4ee4\u7528\u4e8e\u663e\u793a\u5df2\u7ecf\u767b\u9646\u7cfb\u7edf\u7684\u7528\u6237\u5217\u8868\uff0c\u5e76\u663e\u793a\u7528\u6237\u6b63\u5728\u6267\u884c\u7684\u6307\u4ee4\u3002\u6267\u884c\u8fd9\u4e2a\u547d\u4ee4\u53ef\u5f97\u77e5\u76ee\u524d\u767b\u5165\u7cfb\u7edf\u7684\u7528\u6237\u6709\u90a3\u4e9b\u4eba\uff0c\u4ee5\u53ca\u4ed6\u4eec\u6b63\u5728\u6267\u884c\u7684\u7a0b\u5e8f\u3002\u5355\u72ec\u6267\u884cw\u547d\u4ee4\u4f1a\u663e\u793a\u6240\u6709\u7684\u7528\u6237\uff0c\u60a8\u4e5f\u53ef\u6307\u5b9a\u7528\u6237\u540d\u79f0\uff0c\u4ec5\u663e\u793a\u67d0\u4f4d\u7528\u6237\u7684\u76f8\u5173\u4fe1\u606f\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>w [\u53c2\u6570] <\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a\ufeff<\/strong><\/p>\n\n\n\n
-h\/--no-header<\/td>\u4e0d\u6253\u5370\u5934\u4fe1\u606f<\/td><\/tr>
-u\/--no-current<\/td>\u5f53\u663e\u793a\u5f53\u524d\u8fdb\u7a0b\u548ccpu\u65f6\u95f4\u65f6\u5ffd\u7565\u7528\u6237\u540d<\/td><\/tr>
-s\/--short<\/td>\u4f7f\u7528\u77ed\u8f93\u51fa\u683c\u5f0f<\/td><\/tr>
-f\/--from <\/td>\u663e\u793a\u7528\u6237\u4ece\u54ea\u767b\u5f55 <\/td><\/tr>
-o\/--old-style<\/td>\u8001\u5f0f\u8f93\u51fa<\/td><\/tr>
-i\/--ip-addr<\/td>\u663e\u793aIP\u5730\u5740\u800c\u4e0d\u662f\u4e3b\u673a\u540d\uff08\u5982\u679c\u53ef\u80fd\uff09<\/td><\/tr>
--help<\/td>\u663e\u793a\u6b64\u5e2e\u52a9\u5e76\u9000\u51fa<\/td><\/tr>
-V\/--version<\/td>\u663e\u793a\u7248\u672c\u4fe1\u606f<\/td><\/tr><\/tbody><\/table>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u663e\u793a\u76ee\u524d\u767b\u5165\u7cfb\u7edf\u7684\u7528\u6237\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# w<\/pre>\n\n\n\n

\u4e0d\u6253\u5370\u5934\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# w -h<\/pre>\n\n\n\n

\u663e\u793a\u7528\u6237\u4ece\u54ea\u767b\u5f55\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# w -f<\/pre>\n\n\n\n

\u4f7f\u7528\u77ed\u8f93\u51fa\u683c\u5f0f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# w -s\n  <\/pre>\n","protected":false},"excerpt":{"rendered":"

w\u547d\u4ee4\u7528\u4e8e\u663e\u793a\u5df2\u7ecf\u767b\u9646\u7cfb\u7edf\u7684\u7528\u6237\u5217\u8868\uff0c\u5e76\u663e\u793a\u7528\u6237\u6b63\u5728\u6267\u884c\u7684\u6307\u4ee4\u3002\u6267\u884c\u8fd9\u4e2a\u547d\u4ee4\u53ef\u5f97\u77e5\u76ee\u524d\u767b\u5165\u7cfb\u7edf\u7684\u7528\u6237\u6709\u90a3\u4e9b\u4eba\uff0c […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/887"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=887"}],"version-history":[{"count":10,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/887\/revisions"}],"predecessor-version":[{"id":3579,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/887\/revisions\/3579"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=887"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=887"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}