{"id":8730,"date":"2020-09-14T16:58:33","date_gmt":"2020-09-14T08:58:33","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8730"},"modified":"2020-09-22T17:51:18","modified_gmt":"2020-09-22T09:51:18","slug":"auditstat%e5%91%bd%e4%bb%a4-%e6%98%be%e7%a4%ba%e5%86%85%e6%a0%b8%e5%ae%a1%e8%ae%a1%e7%bb%9f%e8%ae%a1","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/auditstat%e5%91%bd%e4%bb%a4-%e6%98%be%e7%a4%ba%e5%86%85%e6%a0%b8%e5%ae%a1%e8%ae%a1%e7%bb%9f%e8%ae%a1","title":{"rendered":"auditstat\u547d\u4ee4 -\u663e\u793a\u5185\u6838\u5ba1\u8ba1\u7edf\u8ba1"},"content":{"rendered":"\n

auditstat \u547d\u4ee4\u7528\u6765\u663e\u793a\u5185\u6838\u5ba1\u8ba1\u7edf\u8ba1\u4fe1\u606f\uff0c\u7edf\u8ba1\u7528\u6237\u7ea7\u5ba1\u8ba1\u6240\u5904\u7406\u7684\u5ba1\u8ba1\u8bb0\u5f55\u6570\u3001\u5df2\u88ab\u5220\u9664\u7684\u5ba1\u8ba1\u8bb0\u5f55\u6570\u3001\u7528\u6237\u8fdb\u7a0b\u751f\u6210\u7684\u5ba1\u8ba1\u8bb0\u5f55\u6570\u3001\u961f\u5217\u963b\u585e\u800c\u7b49\u5f85\u5904\u7406\u5ba1\u8ba1\u6570\u636e\u7684\u603b\u6b21\u6570\u7b49\u3002<\/p>\n\n\n\n

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

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-c<\/td>\u7edf\u8ba1\u603b\u5171\u7684\u4fe1\u606f\u5e76\u663e\u793a<\/td><\/tr>
-n<\/td>\u663e\u793a\u5f53\u524d\u7cfb\u7edf\u914d\u7f6e\u7684\u5185\u6838\u5ba1\u8ba1\u6570<\/td><\/tr>
-i<\/td>\u6bcf\u9694\u4e00\u6bb5\u65f6\u95f4\u663e\u793a\u4e00\u6b21\u7edf\u8ba1\u6570\u636e\uff0c\u5176\u4e2dinterval\u662f\u6bcf\u6b21\u6536\u96c6\u6570\u636e\u4e4b\u95f4\u7684\u7761\u7720\u79d2\u6570<\/td><\/tr>
-Z<\/td>\u663e\u793a\u6240\u6709\u6d3b\u52a8\u533a\u7684\u7edf\u8ba1\u6570\u636e<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u663e\u793a\u5f53\u524d\u7cfb\u7edf\u914d\u7f6e\u7684\u5185\u6838\u5ba1\u8ba1\u6570\uff1a<\/p>\n\n\n\n

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

\u663e\u793a\u6240\u6709\u6d3b\u52a8\u533a\u7684\u7edf\u8ba1\u6570\u636e\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# auditstat -Z<\/pre>\n\n\n\n

\u7edf\u8ba1\u603b\u5171\u7684\u4fe1\u606f\u5e76\u663e\u793a\uff1a<\/p>\n\n\n\n

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

auditstat \u547d\u4ee4\u7528\u6765\u663e\u793a\u5185\u6838\u5ba1\u8ba1\u7edf\u8ba1\u4fe1\u606f\uff0c\u7edf\u8ba1\u7528\u6237\u7ea7\u5ba1\u8ba1\u6240\u5904\u7406\u7684\u5ba1\u8ba1\u8bb0\u5f55\u6570\u3001\u5df2\u88ab\u5220\u9664\u7684\u5ba1\u8ba1\u8bb0 […]<\/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\/8730"}],"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=8730"}],"version-history":[{"count":6,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8730\/revisions"}],"predecessor-version":[{"id":8806,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8730\/revisions\/8806"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}