senthil vel wrote:
Dear List,

           While checking the usage of the qmlog, i got the following.

qmlog v0.3 -  show current log of service 'service'
usage: qmlog service [option] ...
services: authlib clamd imap4 imap4-ssl pop3 pop3-ssl send smtp spamd submission
options:
  -h[elp]      this help
  -l[ist]      list saved logs of service
  -f           follow as it grows, using 'tail -f'
  -t N         show (tail) last N lines
  -nl          show without using less
  -nt          show with no trimming
  -d mmdd[:hhmm][-mmdd[:hhmm]]
               show logs that contain the date 'mmdd' [thru -'mmdd']
  -lc regex    show logs that contain a string that matches 'regex'
  -ln pattern  show logs with file name containing 'pattern'
  -s command   pipe output through sed 'command'
  -g regex     show only lines that match the string 'regex'

Can we use the qmlog to check the log of last year? (I am having log
files of year 2008 and i need to analyze it.  Is it possible?

Thanks and Regards,
S.Senthilvel,


Hmmm. I didn't think anyone would have more than one years worth of logs. I think if you do
# qmlog -d 0528-1231 smtp
you'd get logs for the end of '08.

--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to