Scroll to navigation

cs_show_hana_autofailover_patterns(8) ClusterTools2 cs_show_hana_autofailover_patterns(8)

NAME

cs_show_hana_autofailover_patterns - search log files for known patterns

SYNOPSIS

cs_show_hana_autofailover_patterns [OPTION]
cs_show_hana_autofailover_patterns [OPTION]

DESCRIPTION

cs_show_hana_autofailover_patterns searches log files for known error patterns. Timestamp and shortcut for patterns are printed. Matches are collapsed per second. The script can search in live logfiles as well as in supportconfig logs.

OPTIONS

--help show help

--version show version
TODO

EXIT STATUS

0 Successful program execution.
>0 Usage, syntax or execution errors.

EXAMPLES

* Search for SCSI3 reservation related patterns on 2019-01-19. Use default HBA type and messages log files in current directory.

# cd nts_hana01_190201_1921
# cs_show_hana_autofailover_patterns --scsi 2019-01-19
* Search for all patterns on 2019-01-19 in log files named "messages-*".

# cs_show_hana_autofailover_patterns --all 2019-01-19 messages-\*

FILES

/usr/sbin/cs_show_hana_autofailover_patterns
the program itself
$PWD/messages
the default logfile

BUGS

Filename wildcards need protection from shell.
Feedback is welcome, please mail to feedback@suse.com

SEE ALSO

cs_show_error_patterns(1), cs_show_supportconfig(1), supportconfig(8), grep(1), multipathd(8), sg_persist(8), mount(8), sbd(8), syslog(8)

COPYRIGHT

(c) 2019 L.Pinne, Germany.
cs_show_hana_autofailover_patterns comes with ABSOLUTELY NO WARRANTY.
For details see the GNU General Public License at http://www.gnu.org/licenses/gpl.html

01 Nov 2019