Scroll to navigation

cs_show_error_patterns(8) ClusterTools2 cs_show_error_patterns(8)

NAME

cs_show_error_patterns - search log files for known error patterns

SYNOPSIS

cs_show_error_patterns [OPTION]

DESCRIPTION

cs_show_error_patterns searches log files for known error patterns. The total number of matches for each pattern is printed.

OPTIONS

--help
show help.

--version
show version.

--writecfg show some internal variables.

--zip
search compressed logs, too. This could take some time.

EXIT STATUS

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

EXAMPLES

# cs_show_error_patterns | grep -v "= 0$"
search in the current log files, show only patterns that match at least one time.

FILES

/usr/sbin/cs_show_error_patterns
the program itself.
/etc/ClusterTools2/cs_show_error_patterns
the configuration.
/var/log/
the directory with log files.

BUGS

This script depends on LC_MESSAGES respective RC_LANG set to en_US or C. On SLES12, only a fraction of entries might be found.
Feedback is welcome, please mail to feedback@suse.com

SEE ALSO

grep(1), dmesg(1), syslog(8), logrotate(8), mcelog(8), journalctl(8), ClusterTools2(7)

COPYRIGHT

(c) 2011-2019 L.Pinne, Germany.
cs_show_error_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