{"id":639,"date":"2017-09-29T20:01:33","date_gmt":"2017-09-29T16:01:33","guid":{"rendered":"https:\/\/provolotski.wordpress.com\/?p=639"},"modified":"2017-09-29T20:01:33","modified_gmt":"2017-09-29T16:01:33","slug":"%d0%bf%d0%be%d0%bb%d0%b5%d0%b7%d0%bd%d1%8b%d0%b5-%d0%ba%d0%be%d0%bc%d0%b0%d0%bd%d0%b4%d1%8b-linux","status":"publish","type":"post","link":"https:\/\/provolotski.by\/?p=639","title":{"rendered":"\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b Linux"},"content":{"rendered":"<p>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c 30 \u0441\u0430\u043c\u044b\u0445 \u0442\u044f\u0436\u0435\u043b\u044b\u0445 \u043f\u043e\u0434\u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432<\/p>\n<div class=\"wp-geshi-highlight-wrap5\">\n<div class=\"wp-geshi-highlight-wrap4\">\n<div class=\"wp-geshi-highlight-wrap3\">\n<div class=\"wp-geshi-highlight-wrap2\">\n<div class=\"wp-geshi-highlight-wrap\">\n<div class=\"wp-geshi-highlight\">\n<div class=\"bash\">\n<pre class=\"de1\"><span class=\"kw2\">du<\/span> <span class=\"re5\">-ka<\/span> <span class=\"re1\">\/u01\/app\/<\/span> <span class=\"sy0\">|<\/span> <span class=\"kw2\">sort<\/span> <span class=\"re5\">-nr<\/span> <span class=\"sy0\">|<\/span> <span class=\"kw2\">head<\/span> <span class=\"re5\">-n<\/span> <span class=\"nu0\">30<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u043f\u043e\u0434\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0439 \u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0432 \u043a\u0438\u043b\u043e\u0431\u0430\u0439\u0442\u0430\u0445, \u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u043e \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u044e \u0440\u0430\u0437\u043c\u0435\u0440\u0430<\/p>\n<div class=\"wp-geshi-highlight\">\n<div class=\"bash\">\n<pre class=\"de1\"><span class=\"nu0\">\u00a0du -sk * | sort -rn<\/span><\/pre>\n<\/div>\n<\/div>\n<p>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u043f\u0430\u043f\u043a\u0435<\/p>\n<div><\/div>\n<div class=\"bash\">\n<pre class=\"de1\"><span class=\"nu0\">ls -f . | wc -l<\/span><\/pre>\n<\/div>\n<p>\u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0430\u0443\u0434\u0438\u0442\u0430 \u0441\u0442\u0430\u0440\u0448\u0435 7 \u0434\u043d\u0435\u0439<\/p>\n<pre>for f in \/u01\/app\/12.1.0.2\/grid\/rdbms\/audit\/*.aud\n  do\n     find $f -mtime +7 -exec rm {} \\;\n  done\n\n<\/pre>\n<p>\u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0434\u043b\u044f \u043f\u0430\u043f\u043e\u043a<\/p>\n<p>\/u01\/app\/oracle\/product\/12.1.0.2\/dbhome_1\/rdbms\/audit\/*.aud<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c 30 \u0441\u0430\u043c\u044b\u0445 \u0442\u044f\u0436\u0435\u043b\u044b\u0445 \u043f\u043e\u0434\u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432 du -ka \/u01\/app\/ | sort -nr | head -n 30 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u043f\u043e\u0434\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0439 \u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0432 \u043a\u0438\u043b\u043e\u0431\u0430\u0439\u0442\u0430\u0445, \u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u043e \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u044e \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u00a0du -sk * | sort -rn \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u043f\u0430\u043f\u043a\u0435 ls -f . | wc -l \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0430\u0443\u0434\u0438\u0442\u0430 \u0441\u0442\u0430\u0440\u0448\u0435 7 \u0434\u043d\u0435\u0439 for f in &hellip; <a href=\"https:\/\/provolotski.by\/?p=639\" class=\"more-link\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435<span class=\"screen-reader-text\"> \u00ab\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b Linux\u00bb<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-639","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/provolotski.by\/index.php?rest_route=\/wp\/v2\/posts\/639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/provolotski.by\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/provolotski.by\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/provolotski.by\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/provolotski.by\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=639"}],"version-history":[{"count":0,"href":"https:\/\/provolotski.by\/index.php?rest_route=\/wp\/v2\/posts\/639\/revisions"}],"wp:attachment":[{"href":"https:\/\/provolotski.by\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/provolotski.by\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/provolotski.by\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}