FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


os:linux:pkg:scripts:check_cmd.sh.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
os:linux:pkg:scripts:check_cmd.sh.html [2018/02/04 23:23]
kurihara ↷ Page moved from os:pkg:scripts:check_cmd.sh.html to os:linux:pkg:scripts:check_cmd.sh.html
os:linux:pkg:scripts:check_cmd.sh.html [2018/05/08 02:01] (current)
kurihara
Line 1: Line 1:
-[[os:pkg:index.html]]+[[os:linux:pkg:index.html]]
 ====== check_cmd.sh ====== ====== check_cmd.sh ======
-$FHHOME/scripts/check_cmd.sh+$FHHOME/target/scripts/check_cmd.sh
  
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
Line 10: Line 10:
  
  
-which rsync       >/dev/null 2>&1 || echo "rsync NG" +which rsync       >/dev/null 2>&1 || echo "rsync  NG" 
-which vim         >/dev/null 2>&1 || echo "vim   NG" +which vim         >/dev/null 2>&1 || echo "vim    NG" 
-which tree        >/dev/null 2>&1 || echo "tree  NG" +which tree        >/dev/null 2>&1 || echo "tree   NG" 
-which wget        >/dev/null 2>&1 || echo "wget  NG"+which wget        >/dev/null 2>&1 || echo "wget   NG" 
 +which expect      >/dev/null 2>&1 || echo "expect NG"
  
 #----------------------------------------------------- #-----------------------------------------------------
Line 27: Line 28:
 which tcpdump     >/dev/null 2>&1 || echo "tcpdump  NG" which tcpdump     >/dev/null 2>&1 || echo "tcpdump  NG"
 which snmpget     >/dev/null 2>&1 || echo "snmpget  NG" which snmpget     >/dev/null 2>&1 || echo "snmpget  NG"
-which snmpwalk    >/dev/null 2>&1 || echo "snmpwalk  NG"+which snmpwalk    >/dev/null 2>&1 || echo "snmpwalk NG" 
 +which ftp         >/dev/null 2>&1 || echo "ftp      NG"
  
 #----------------------------------------------------- #-----------------------------------------------------
Line 34: Line 36:
 which dstat       >/dev/null 2>&1 || echo "dstat    NG" which dstat       >/dev/null 2>&1 || echo "dstat    NG"
 which iperf       >/dev/null 2>&1 || echo "iperf    NG" which iperf       >/dev/null 2>&1 || echo "iperf    NG"
 +
 +#-----------------------------------------------------
 +#etc
 +#-----------------------------------------------------
 +which ccze        >/dev/null 2>&1 || echo "ccze    NG   # ccze is log colorizer"
 </sxh> </sxh>
  
Line 40: Line 47:
 \\ \\
 <WRAP box 90%> <WRAP box 90%>
-[[os:pkg:index.html]]+[[os:linux:pkg:index.html]]
 <catlist ..:..: -noAddPageButton -noHead> <catlist ..:..: -noAddPageButton -noHead>
 </WRAP> </WRAP>
  


os/linux/pkg/scripts/check_cmd.sh.html.1517754210.txt.gz · Last modified: 2018/02/04 23:23 by kurihara