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:56]
kurihara
os:linux:pkg:scripts:check_cmd.sh.html [2018/05/08 02:01] (current)
kurihara
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>
  


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