Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Email Statistics
(view source)
Revision as of 11:56, 29 July 2017
7 bytes removed
,
11:56, 29 July 2017
change logterse pattern from "/logterse plugin/" to "/logterse/" to work w/ SME 9.2
Line 190:
Line 190:
echo -n "Days of logfiles to scan [$DAYS]: "; read NEWDAYS; \
echo -n "Days of logfiles to scan [$DAYS]: "; read NEWDAYS; \
if [ $NEWDAYS ]; then DAYS=$NEWDAYS; fi; \
if [ $NEWDAYS ]; then DAYS=$NEWDAYS; fi; \
−
awk -F"[\t]" ' /logterse
plugin
/ { svc=$6; count[svc]++; count["Total"]++; } END \
+
awk -F"[\t]" ' /logterse/ { svc=$6; count[svc]++; count["Total"]++; } END \
{ for (j in count) print count[j] "\t" j; }' \
{ for (j in count) print count[j] "\t" j; }' \
$(find /var/log/qpsmtpd /var/log/sqpsmtpd -ctime -$DAYS -type f -name "@*" -o -name current) \
$(find /var/log/qpsmtpd /var/log/sqpsmtpd -ctime -$DAYS -type f -name "@*" -o -name current) \
Mmccarn
Administrators
688
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search