afd(1)

AFD(1) AFD AFD(1)

NAME

afd - start, stop and initialize the AFD

SYNOPSIS

afd [-w working directory ] [-p[ role ] [-u[ user ]] [-abcCdhHsSvz]

DESCRIPTION

With the command afd it is possible to start, stop or initialize AFD. It can also be used to just check if AFD is active or still alive. Starting of AFD can also be blocked with -b option.

If no parameters are supplied it will check if AFD is already running, if not it will be started and it will start the afd_ctrl dialog.

OPTIONS

-a
only start AFD
-b
blocks starting of AFD
-c
only check if AFD is active
-C
check if AFD is active, if not start it
-d
only start afd_ctrl dialog
-h
only check for heartbeat, ie. is AFD still alive
-H
check if heartbeat is active, if not start AFD
-i
initialize AFD by deleting the relevant files in fifodir and messages directory
-I
initialize AFD by deleting the relevant files in fifodir, messages, files, archive and log directory
-r
remove blocking startup of AFD
-s
shutdown AFD
-S
silent shutdown AFD
-v
Just print the version number.
-z
set shutdown bit, can be used to shutdown AFD from another system where AFD is not running but has mounted $AFD_WORK_DIR/fifodir

ENVIRONMENT

AFD_WORK_DIR
The work directory of the AFD to be configured by afd. Overridden by the -w option.

AUTHOR

Holger Kiehl <Holger.Kiehl@dwd.de>

AUGUST 2007 AFD