table of contents
        
      
      
    | cs_show_cluster_patterns(8) | ClusterTools2 | cs_show_cluster_patterns(8) | 
NAME¶
cs_show_cluster_patterns - search log files for cluster patterns
SYNOPSIS¶
cs_show_cluster_patterns OPTION
DESCRIPTION¶
cs_show_cluster_patterns searches log files for cluster patterns. Please note that most cluster components do logging to their local node only.
OPTIONS¶
 --help
  
   show help.
 --version
  
   show version.
--writecfg show some internal variables.
 --show
  
   show all patterns.
 --fencing
  
   show fencing patterns.
 --migration
  
   show migration patterns.
 --count
  
   count total for each pattern.
 --zip
  
   count from compressed logs, too. This could take some time.
EXAMPLES¶
- * show migrations
 - 
    
# cs_show_cluster_patterns -m - # cs_show_cluster_patterns -c | grep -v "=.0$"
 - count occurance of patterns, show non-null only
 - # cs_show_cluster_patterns -s | grep "^Jan"
 - show whole lines, but only for January. Useful if logs contain December as well.
 
EXIT STATUS¶
0 Successful program execution.
  
  >0 Usage, syntax or execution errors.
FILES¶
- /usr/sbin/cs_show_cluster_patterns
 - the program itself.
 - /etc/ClusterTools2/cs_show_cluster_patterns
 - the configuration.
 - /etc/corosync/corosync.conf
 - the corosync configuration, maybe defining log file.
 - /var/log/messages
 - the default log file.
 
BUGS¶
This script depends on LC_MESSAGES respective RC_LANG set to en_US
    or C. Furthermore the scripts sort output by month. This results in wrong
    order of lines, if a logfile f.e. contains December and January.
  
  Feedback is welcome, please mail to feedback@suse.com
SEE ALSO¶
cs_show_error_patterns(8), cs_show_cluster_transition(8), grep(1), syslog(8), logrotate(8), corosync.conf(5), ClusterTools2(7)
COPYRIGHT¶
(c) 2011-2019 L.Pinne, Germany.
  
  cs_show_cluster_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 |