srch (link to sadm_rch_scr_summary.sh)

Updated: 2018/08/24
O/S : Aix, Linux, MacOS

 
NAME

srch (link to sadm_rch_scr_summary.sh)   -   Show the Result Code File (RCH Files) summary from all Servers on terminal.

 
SYNOPSIS

srch (link to sadm_rch_scr_summary.sh)     [ -v -h -p -w -m  ]    [ -s   ServerName  ]    [ -d   0-9  ]   

 
DESCRIPTION
  • By default this will display the status of all your RCH (Return Code History) files, that is collected from all your servers, by the "sadm_fetch_clients.sh" run every 5 minutes.
    This list will first display the running script(s), followed by the script(s) that ended with error and finally the succeeding script sorted by reverse date and time.

  • Example of the RCH Summary Report on the terminal
    # srch


    Example of the RCH Summary Report for a specific server
    # srch -s raspi3


    Example to watch the RCH Summary Report first page in real time (Refresh every 60 seconds)
    # srch -w


    View the RCH Summary Report without stopping at each page.
    # srch -p


    Send a mail of the RCH Summary Report so to email address specify in $SADMIN/cfg/sadmin.cfg.
    # srch -m


    Example of email sent.


 
OPTIONS

-d [0-9]
Specify debug level (0-9).
Value of 0 indicate that no debug information is to be displayed.
-s [ServerName]
Show the RCH Summary Report for the server specified.
-m
Send RCH Summary Report to SysAdmin email (Enhance format coming soon).
-w
Watch the RCH Summary Report in real time (Updated every 60 Sec.).
-p
List the RCH Summary Report without stopping after each page.
-h
Display this help and exit.
-v
Output version information and exit.



REQUIREMENTS
 
EXIT STATUS
[0]    An exit status of zero indicates success
[1]    Failure is indicated by a nonzero value, typically ‘1’.

 
AUTHOR
Jacques Duplessis (jacques.duplessis@sadmin.ca.).
Any suggestions or bug report can be sent at http://www.sadmin.ca/support.php

 
COPYRIGHT
Copyright © 2018 Free Software Foundation, Inc. License GPLv3+:
    - GNU GPL version 3 or later http://gnu.org/licenses/gpl.html.
This is free software, you are free to change and redistribute it.
There is NO WARRANTY to the extent permitted by law.

 
SEE ALSO
sadm_fetch_clients.sh   (Rsync all *.rch *.log *.rpt files from all active SADMIN client to SADMIN Server)
smon (link to sadm_sysmon_cli.sh)   (Run System Monitor and show results)


 
INDEX
NAME
SYNOPSIS
DESCRIPTION
OPTIONS
REQUIREMENTS
EXIT STATUS
AUTHOR
COPYRIGHT
SEE ALSO

Copyright © 2015-2019 - www.sadmin.ca - Suggestions, Questions or Report a problem at support@sadmin.ca