{"id":4192,"date":"2019-07-26T23:23:57","date_gmt":"2019-07-26T15:23:57","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=4192"},"modified":"2019-07-27T02:02:22","modified_gmt":"2019-07-26T18:02:22","slug":"statserial","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/statserial","title":{"rendered":"statserial\u547d\u4ee4 – \u663e\u793a\u4e32\u53e3\u72b6\u6001"},"content":{"rendered":"\n

statserial(status ofserial port)\u53ef\u663e\u793a\u5404\u4e2a\u63a5\u811a\u7684\u72b6\u6001\uff0c\u5e38\u7528\u6765\u5224\u65ad\u4e32\u53e3\u662f\u5426\u6b63\u5e38\u3002<\/p>\n\n\n\n

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

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-d  <\/td>\u4ee510\u8fdb\u5236\u6570\u5b57\u6765\u8868\u793a\u4e32\u53e3\u7684\u72b6\u6001 <\/td><\/tr>
-n <\/td>\u4ec5\u663e\u793a\u4e00\u6b21\u4e32\u53e3\u7684\u72b6\u6001\u540e\u5373\u7ed3\u675f\u7a0b\u5e8f <\/td><\/tr>
-x  <\/td>\u4e0e-n\u53c2\u6570\u7c7b\u4f3c\uff0c\u4f46\u662f\u4ee516\u8fdb\u5236\u6765\u8868\u793a <\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

\u663e\u793a\u4e32\u53e3\u72b6\u6001\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# statserial \/dev\/tty1 <\/pre>\n\n\n\n

\u53ea\u663e\u793a\u4e00\u6b21\u4e32\u53e3\u72b6\u6001\uff1a<\/p>\n\n\n\n

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

statserial(status ofserial port)\u53ef\u663e\u793a\u5404\u4e2a\u63a5\u811a\u7684\u72b6\u6001\uff0c\u5e38\u7528\u6765\u5224\u65ad\u4e32\u53e3\u662f\u5426\u6b63\u5e38\u3002 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4192"}],"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=4192"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4192\/revisions"}],"predecessor-version":[{"id":4374,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4192\/revisions\/4374"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=4192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=4192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=4192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}