update some content
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
"articleSection" : "post",
|
||||
"name" : "Nice Du Report Tool Durep",
|
||||
"headline" : "Nice Du Report Tool Durep",
|
||||
"description" : "\x3cp\x3e最近在重新規劃前人留下的backup爛攤子\n各個伺服器統一備份到一台backup storage\n想說如果每天能夠看到backup storage的磁碟用量的話\n就可以抓出備份空間成長速度、推估需要多大的磁碟空間\n找了一些工具,結果發現 durep 這個 ubuntu 內建的工具\n基本上可以滿足我的需求\x3c\/p\x3e",
|
||||
"description" : "\u003cp\u003e最近在重新規劃前人留下的backup爛攤子\n各個伺服器統一備份到一台backup storage\n想說如果每天能夠看到backup storage的磁碟用量的話\n就可以抓出備份空間成長速度、推估需要多大的磁碟空間\n找了一些工具,結果發現 durep 這個 ubuntu 內建的工具\n基本上可以滿足我的需求\u003c\/p\u003e",
|
||||
"inLanguage" : "en",
|
||||
"author" : "Eric Chang",
|
||||
"creator" : "Eric Chang",
|
||||
@@ -21,8 +21,8 @@
|
||||
"accountablePerson" : "Eric Chang",
|
||||
"copyrightHolder" : "Eric Chang",
|
||||
"copyrightYear" : "2018",
|
||||
"datePublished": "2018-11-06 15:24:29 \x2b0800 CST",
|
||||
"dateModified" : "2018-11-06 15:24:29 \x2b0800 CST",
|
||||
"datePublished": "2018-11-06 15:24:29 \u002b0800 CST",
|
||||
"dateModified" : "2018-11-06 15:24:29 \u002b0800 CST",
|
||||
"url" : "https:\/\/h.cowbay.org\/post\/nice-du-report-tool-durep\/",
|
||||
"wordCount" : "260",
|
||||
"image" : "https://h.cowbay.orghttps://h.cowbay.org/images/post-default-9.jpg"",
|
||||
@@ -45,9 +45,9 @@
|
||||
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
|
||||
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1632901489" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1634607506" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1632901489" rel="stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1634607506" rel="stylesheet" type='text/css' media='all'>
|
||||
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
@@ -312,13 +312,13 @@ if (!doNotTrack) {
|
||||
基本上可以滿足我的需求</p>
|
||||
<p>我的需求其實很簡單</p>
|
||||
<ol>
|
||||
<li>可以指定目錄"深度”</li>
|
||||
<li>可以指定目錄"深度"</li>
|
||||
<li>可以用圖表的方式顯示目前用量</li>
|
||||
<li>每天寄出報表</li>
|
||||
</ol>
|
||||
<p>來看一下 durep 執行的狀況
|
||||
<strong>如果只指定一層,那就是顯示該目錄底下的使用狀況</strong></p>
|
||||
<pre><code>2018-10-29 15:50:21 [minion@tps006 ~]$ sudo durep -td 1 -sd /file
|
||||
<pre tabindex="0"><code>2018-10-29 15:50:21 [minion@tps006 ~]$ sudo durep -td 1 -sd /file
|
||||
[ /file 259.0G (0 files, 3 dirs) ]
|
||||
259.0G [############################# ] 100.00% Oct 25 2017 team/
|
||||
1.7M [ ] 0.00% Oct 23 14:04 html/
|
||||
@@ -326,7 +326,7 @@ if (!doNotTrack) {
|
||||
2018-10-29 15:50:26 [minion@tps006 ~]$ sudo durep -td 1 -sd /file
|
||||
</code></pre><p>如果指定兩層
|
||||
就顯示包含下一層目錄的磁碟使用量 <em>好像廢話</em></p>
|
||||
<pre><code>2018-10-29 16:14:23 [mini@s006 ~]$ sudo durep -td 2 -sd /file
|
||||
<pre tabindex="0"><code>2018-10-29 16:14:23 [mini@s006 ~]$ sudo durep -td 2 -sd /file
|
||||
[ /file 259.0G (0 files, 3 dirs) ]
|
||||
259.0G [############################# ] 100.00% Oct 25 2017 team/
|
||||
259.0G [##############################] 100.00% Oct 3 15:08 tp/
|
||||
@@ -641,7 +641,7 @@ title="pinterest icon"></i>
|
||||
</div>
|
||||
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
|
||||
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1632901489"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1634607506"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user