Changeset 14 for cyrus-imapd
- Timestamp:
- 07/05/11 00:00:16 (13 years ago)
- Files:
-
- cyrus-imapd (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cyrus-imapd
r13 r14 48 48 49 49 #%# family=contrib 50 #%# capabilities=autoconf suggest50 #%# capabilities=autoconf 51 51 52 52 =head1 VERSION … … 76 76 echo yes 77 77 else 78 echo no78 echo "no (no cyrus-imapd procdir found)" 79 79 fi 80 80 exit 0 … … 89 89 # graphs should look. 90 90 91 if [ "$1" = "config" ]; then91 if [ "$1" == "config" ]; then 92 92 echo 'graph_title Cyrus IMAPd Load' 93 93 echo 'graph_args --base 1000 -l 0' … … 109 109 fi 110 110 111 # If run with the "config"-parameter, give out information on how the112 # graphs should look.113 114 if [ "$1" = "suggest" ]; then115 if [ -d ${PROCDIR} ]; then116 echo "yes"117 else118 echo "no (no cyrus-imapd procdir found)"119 exit 0120 fi121 122 111 cons=$(ls ${PROCDIR} | wc -l) 123 112 124 if [ $cons - lt 0 ]; then113 if [ $cons -gt 0 ]; then 125 114 # Print the number of connections to the imap server 126 115 echo "connections.value $cons"