NAME

ecs_pid_chk - check whether ECS daemons are running

SYNOPSIS

ecs_pid_chk

DESCRIPTION

This program checks whether the ECS daemons are still running. It is intended to be run periodically via a scheduling system such as cron.

RETURN VALUE

Returns a non-zero exit code if a problem with the ECS daemons is detected.

BUGS

Possibly.

SEE ALSO

ecs_chk_com, ecs_scan_mail

AUTHOR

Joel Schneider <jschneid@nmdp.org>

COPYRIGHT AND LICENSE

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Copyright (C) 2002-2016 National Marrow Donor Program. All rights reserved.

See LICENSE file for license details.

HISTORY

ECS, the EMDIS Communication System, was originally designed and implemented by the ZKRD (http://www.zkrd.de/). This Perl implementation of ECS was developed by the National Marrow Donor Program (http://www.marrow.org/).

2004-03-12 Canadian Blood Services - Tony Wai Rewritten to support MS Windows support for Windows 2000 and Windows XP

2007-08-01 ZKRD - emdisadm@zkrd.de Added optional path for the ps command on linux systems. Added optional parameter to select a user. This fixes the problem of a wrong positive result in case of more than one running instance of perl ECS. Modified the regular expressions in a way, that only the running daemons will be detected. Otherwise you get an ERROR if you try to stop the daemons e.g. while you work on the daemons source with an editor. Added an additional exit code if there is more than one instance of a daemon.