add auto fetch ssl certs
This commit is contained in:
@@ -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=1626744134" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1629951055" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1626744134" rel="stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1629951055" 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">
|
||||
|
||||
@@ -81,10 +81,6 @@ if (!doNotTrack) {
|
||||
|
||||
<ul id="menu-secondary-items" class="menu-secondary-items">
|
||||
|
||||
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
|
||||
<a href="/categories/"></a>
|
||||
</li>
|
||||
|
||||
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
|
||||
<a href="/categories/ansible">ansible</a>
|
||||
</li>
|
||||
@@ -314,29 +310,22 @@ if (!doNotTrack) {
|
||||
就可以抓出備份空間成長速度、推估需要多大的磁碟空間
|
||||
找了一些工具,結果發現 durep 這個 ubuntu 內建的工具
|
||||
基本上可以滿足我的需求</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
|
||||
[ /file 259.0G (0 files, 3 dirs) ]
|
||||
259.0G [############################# ] 100.00% Oct 25 2017 team/
|
||||
1.7M [ ] 0.00% Oct 23 14:04 html/
|
||||
741.1K [ ] 0.00% Jul 11 2016 team_commons/
|
||||
2018-10-29 15:50:26 [minion@tps006 ~]$ sudo durep -td 1 -sd /file
|
||||
</code></pre>
|
||||
|
||||
<p>如果指定兩層
|
||||
</code></pre><p>如果指定兩層
|
||||
就顯示包含下一層目錄的磁碟使用量 <em>好像廢話</em></p>
|
||||
|
||||
<pre><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/
|
||||
@@ -360,13 +349,10 @@ if (!doNotTrack) {
|
||||
709.6K [############################ ] 95.75% Oct 23 14:05 tp/
|
||||
31.5K [# ] 4.25% Oct 23 14:05 temporary/
|
||||
2018-10-29 16:14:36 [mini@s006 ~]$
|
||||
</code></pre>
|
||||
|
||||
<p>搭配mail 使用,有點可惜的是在郵件內顯示,格式稍微有點跑掉
|
||||
</code></pre><p>搭配mail 使用,有點可惜的是在郵件內顯示,格式稍微有點跑掉
|
||||
不過至少需要看到的目錄總使用量(左上角),還有各個子目錄的用量都可以清楚的看到
|
||||
如果能夠有縮排就更好了!</p>
|
||||
|
||||
<p><img src="https://i.imgur.com/ySNJJWx.png" alt="https://i.imgur.com/ySNJJWx.png" /></p>
|
||||
<p><img src="https://i.imgur.com/ySNJJWx.png" alt="https://i.imgur.com/ySNJJWx.png"></p>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
@@ -643,7 +629,7 @@ title="pinterest icon"></i>
|
||||
|
||||
</ul> <div class="design-credit">
|
||||
|
||||
<p>© 2018 Göran Svensson</p>
|
||||
<p>© 2018 Göran Svensson</p>
|
||||
|
||||
<p>Nederburg Hugo Theme by <a href="https://appernetic.io">Appernetic</a>.</p>
|
||||
|
||||
@@ -655,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=1626744134"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1629951055"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user