Quickly determine running processes

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
12313jimbo
Advanced member
Advanced member
Posts: 114
Joined: Fri Sep 12, 2014 10:01 pm

Quickly determine running processes

Post by 12313jimbo »

Hi all,
Anyone have a good method of quickly determine if zimbra mta is up and running? I'd like to put a quick check in a fetchmail script to make sure everything is copacetic with zimbra before fetching remote emails.
The script runs every few minutes so parsing the output of zmcontrol is too slow.
Any ideas?
As always... THANKS!
jimbo
User avatar
jholder
Ambassador
Ambassador
Posts: 4824
Joined: Fri Sep 12, 2014 10:00 pm

Quickly determine running processes

Post by jholder »

>telnet localhost 25

>telnet localhost 110
Of course, if you have another MTA, then the above methods won't quite work.
>ps auxww | grep postfix

>zmcontrol status mta
may also be helpful
12313jimbo
Advanced member
Advanced member
Posts: 114
Joined: Fri Sep 12, 2014 10:01 pm

Quickly determine running processes

Post by 12313jimbo »

Ah. perfect... don't know why I didn't think of that!
Thanks.
james
Post Reply