# chkconfig: - 15 80 # description: Start/Stop the OpenVPN daemon # Source function library. . /etc/rc.d/init.d/functions OPENVPN=/usr/local...
# chkconfig: - 15 80 # description: Start/Stop the OpenVPN daemon # Source function library. . /etc/rc.d/init.d/functions OPENVPN=/usr/local...
sourcetype="來源型態" | rex "(?i) .*? User (?P<pop3_failed_id>[^*.*]+) login failed." | search pop3_failed_id="*...
除了可以到 "管理員=>授權" 去查看外 還可以搜尋 "index=_internal licensemanager" 根據搜尋的結果看 Audit:[quotaExceededCount=1 的數量 所以便可以擷取欄位 將 (?i)...
編輯 httpd.conf 在 # End of proxy directives. 後加入下面幾句 (應該是加在哪裡都ok) RewriteEngine on RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^/?(.*)$ http...
之前忘記root密碼時都是修改GRUB進單人模式修改 開機 -> e -> 選擇kernel -> e -> 最後加入"single"或是"-s" 不過這次遇到一個囧境 因為修改系統時間導致fsck error......
刪除第一行 sed '1d' 文件 刪除第一個字元 sed 's/^.//' 文件 刪除最後一個字元 sed 's/.$//' 文件 假設要寫在一起,用";"連結 sed '1d;s/^.//;s/.$/...
因為 Splunk CLI 一樣需樣登入 所以可以先在 Script 檔案中預先輸入帳號、密碼 export SPLUNK_USERNAME=帳號 export SPLUNK_PASSWORD=密碼 然後在下 Splunk 的登入、查詢等指令 /opt/s...
Sub Picture25_visible() With ActivePresentation.Slides(SlideShowWindows(1).View.Slide.SlideIndex) If .Shapes.Title.TextFrame.Tex...
Sub OnSlideShowPageChange() MsgBox ActivePresentation.Slides(ActiveWindow.Selection.SlideRange.SlideNumber).Shapes.Title.TextFrame.TextR...
主要有兩種 1. ActiveWindow.Selection.SlideRange.SlideNumber 此處主要是在一般狀態下 (非簡報播放) 適合用來Debug 2. SlideShowWindows(1).View.Slide.SlideIndex 此處主要是當簡報播放...
假設是要取得目前使用量 index=_internal source=*metrics.log group=per_index_thruput NOT (series=_* OR series=*summary) starttime=02/07/2013:00:00:00 | t...
其實寫程式或是架Smokeping就好了,不過就是懶... 以下是網路上搜尋到的寫法 ( 來源 ) Dim args, flag, unsuccOut args="" otherout="" flag=0 If WScript.Argume...