{"id":2225,"date":"2019-05-26T00:59:51","date_gmt":"2019-05-25T16:59:51","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=2225"},"modified":"2019-05-26T00:59:53","modified_gmt":"2019-05-25T16:59:53","slug":"tmpwatch","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/tmpwatch","title":{"rendered":"tmpwatch\u547d\u4ee4 – \u5220\u9664\u6682\u5b58\u6587\u4ef6"},"content":{"rendered":"\n
\u6267\u884ctmpwatch\u6307\u4ee4\u53ef\u5220\u9664\u4e0d\u5fc5\u8981\u7684\u6682\u5b58\u6587\u4ef6\uff0c\u60a8\u53ef\u4ee5\u8bbe\u7f6e\u6587\u4ef6\u8d85\u671f\u65f6\u95f4\uff0c\u5355\u4f4d\u4ee5\u5c0f\u65f6\u8ba1\u7b97 \u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>tmpwatch [\u53c2\u6570] <\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u4f7f\u7528\u6307\u4ee4”tmpwatch”\u5220\u9664\u76ee\u5f55”\/tmp”\u4e2d\u8d85\u8fc7\u4e00\u5929\u672a\u4f7f\u7528\u7684\u6587\u4ef6\uff0c\u8f93\u5165\u5982\u4e0b\u547d\u4ee4\uff1a <\/p>\n\n\n\n <\/p>\n","protected":false},"excerpt":{"rendered":" \u6267\u884ctmpwatch\u6307\u4ee4\u53ef\u5220\u9664\u4e0d\u5fc5\u8981\u7684\u6682\u5b58\u6587\u4ef6\uff0c\u60a8\u53ef\u4ee5\u8bbe\u7f6e\u6587\u4ef6\u8d85\u671f\u65f6\u95f4\uff0c\u5355\u4f4d\u4ee5\u5c0f\u65f6\u8ba1\u7b97 \u3002 \u8bed\u6cd5\u683c\u5f0f\uff1atmpw […]<\/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\/2225"}],"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=2225"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2225\/revisions"}],"predecessor-version":[{"id":2531,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2225\/revisions\/2531"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=2225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=2225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=2225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-a <\/td> \u5220\u9664\u4efb\u4f55\u7c7b\u578b\u7684\u6587\u4ef6 <\/td><\/tr> -f <\/td> \u5f3a\u5236\u5220\u9664\u6587\u4ef6\u6216\u76ee\u5f55\uff0c\u5176\u6548\u679c\u7c7b\u4f3crm\u6307\u4ee4\u7684”-f”\u53c2\u6570 <\/td><\/tr> -q <\/td> \u4e0d\u663e\u793a\u6307\u4ee4\u6267\u884c\u8fc7\u7a0b <\/td><\/tr> -v <\/td> \u8be6\u7ec6\u663e\u793a\u6307\u4ee4\u6267\u884c\u8fc7\u7a0b <\/td><\/tr> -test\u00a0 <\/td> \u4ec5\u4f5c\u6d4b\u8bd5\uff0c\u5e76\u4e0d\u771f\u7684\u5220\u9664\u6587\u4ef6\u6216\u76ee\u5f55 <\/td><\/tr><\/tbody><\/table>\n\n\n\n [root@linuxcool ~]# tmpwatch 24 \/tmp\/ <\/pre>\n\n\n\n