Linux Unix help !!

"Give respect to Time, One day at right Time, Time will respect You"

Thursday, January 27, 2011

LOGWATCH LINUX

logwatch - system log analyzer and reporter

--detail level  10/5/0              (high, med, low)
--debug level   0/1/..100           
--service service-name/all          (more , seperated )
--print                             (Print output on screen)
--save /usr/mylogwatch_`date +%d-%b-%Y`
--mailto shirish@server.example.com
--range Yesterday/Today/all/Help  
--archives                          (logwatch searches archived too like messages.1 etc..)
--logdir /var/op/logs/              (Locate your log dirs)



Config FILES (Source REDHAT)
       /usr/share/logwatch/
              This directory contains all the perl executables and configuration files  shipped  with
              the logwatch distribution.

       /etc/logwatch
              This  directory contains local configuration files that override the default configura-
              tion.  See MORE INFORMATION below for more information.
EXAMPLES
       logwatch --service ftpd-xferlog --range all --detail high --print --archives
              This will print out all FTP transfers that are stored in all current and archived xfer-
              logs.
       logwatch --service pam_pwdb --range yesterday --detail high --print
              This will print out login information for the previous day...

range
   --range today
   --range yesterday
   --range '4 hours ago for that hour'
   --range '-3 days'
   --range 'since 2 hours ago for those hours'
   --range 'between -10 and -2 days'
   --range 'Apr 15, 2005'
   --range 'first Monday in May'
   --range 'between 4/23/2005 and 4/30/2005'
   --range '2005/05/03 10:24:17 for that second'

# Faced any problem Feedback in above contact me
#============================Scratch===============================#
#                                                     AND Many More .....................Linux is Endless               #
#========================== Hope you Liked IT =========================#
#                                                                              CMND LOGRATATE-- BY Shirish Shukla #
#                                                                                                                 RHC Engineer 2010 #
#                                                                                                           shirish.linux@gmail.com #
#                                                                                                         shirishlinux.blogspot.com #
#                         "Give Respect To Time One Day At Right Time, Time Will Respect You" #
#==================================================================#
#                          TRy Hard theres nothing that are un-achievable by HARDdd-WORKkk  #
#==================================================================#
,
,boot+process+linux, linux+interview+questions+ bOOT PROCESS, how boot process works linux, boot processing of linux in sort, linux boot process shirish, boot process,boot process, linux, in sort how boot process linux works, linux, boot, process, works date configuration linux, linux, commands, Linux commands, kernel Linux, Linux mantra, linux history command, magic, Linux web, yum server configuration Linux, cron, anacron

No comments:

Post a Comment

Write Here .. your comments are always wellcome ..but no spam please !!

Followers

Pls LIKE my Story !!!