To control and monitor the AFD there is an X11 interface, with the following appearance:
As shown this dialog is divided into four main areas: menu, heading, connection and status.
The menu area has five pull down buttons: Host, View, Control and Setup. If your afd_ctrl window does not have all buttons shown and described here, then the system administrator did not allow you to use this function, see afd.users for more details.
Handle event | This allows one to acknowledge an error situation, put an
error situation offline or unset the acknowledge and/or offline
setting. You must select one or more host to get the
handle_event popup. In the reason text field one can enter
a reason which will then show up in the event log via the
show_elog dialog. Acknowleding
an event means that the destination alias field now becomes
pink (![]() ![]() |
![]() |
||||||
Start/Stop input queue | Allows you to start or stop the queue of one or more selected hosts. When the queue is stopped the queue led turns brown. | |||||||
Start/Stop transfer | Allows you to start or stop the transfer of one or more selected hosts. When the transfer is stopped the transfer led will be orange. Stopping the transfer means that messages are still being generated, but the FD will not distribute the files. Care should be taken when choosing this option. Watch the job queue number so it does not reach a critical stage. Use Start/Stop queue if lots of files are being distributed for this host. | |||||||
Enable/Disable host | When you want to stop a host and do not want to collect the data for it, disable it by pressing this button. NOTE: All current jobs for this host will be deleted when disabling a host. | ![]() |
||||||
Switch host | Switch host allows to change the destination address of selected host. To see whether a certain host has a secondary address look in afd_info dialog. | |||||||
Retry | Retry can only be used when there are jobs queued by FD for this host and you would like AFD to immediatly try and send the files. This is usefull in error situatuion when the error condition has been fixed and you do not want to wait for the next sceduled retry by AFD. | |||||||
Debug |
|
![]() |
||||||
Search + (De)Select | This allows to search for a given host (alias and real) name, with wild cards. The found hosts will then be selected. | ![]() |
||||||
Long/Short line | The selected lines will be converted to long or short lines. In short line mode only the host alias name will be displayed at the bottom of the afd_ctrl dialog window. | |||||||
Test | Test the connection to the selected host. Two tests are possible, ping and traceroute. To make these visible you must configure PING_CMD and/or TRACEROUTE_CMD in AFD_CONFIG file. | ![]() |
||||||
Load | Load shows the current load of either: Files send per second, KBytes send per second, Connections done per second and the number of Active-Transfers. | ![]() |
||||||
Exit | Exit will close the afd_ctrl window and all other windows that have been started from this dialog. It does not effect any of the main process of the AFD running in the background. |
System Log | System Log opens the system dialog. See Log Files for a more detailed description of the output. |
Event Log | Event Log opens the event dialog. See Log Files for a more detailed description of the output. |
Receive Log | Receive Log opens the receive dialog See Log Files for a more detailed description of the output. |
Transfer Log | Transfer Log opens the transfer dialog. See Log Files for a more detailed description of the output. When one or more hosts where selected the output shown will only show data of these hosts. |
Transfer Debug Log | Transfer Debug Log opens the transfer debug dialog. See Log Files for a more detailed description of the output. When one or more hosts where selected the output shown will only show data of these hosts. |
Input Log | Input Log opens the input dialog. See Log Files for a more detailed description of the output. |
Output Log | Output Log opens the output dialog. See Log Files for a more detailed description of the output. If one or more hosts are selected, these will be entered in Recipient field of the dialog. |
Delete Log | This opens the delete dialog. See Log Files for a more detailed description of the output. If one or more hosts are selected, these will be entered in Recipient field of the dialog. |
Queue | Queue opens the queue dialog. Here you can see all files being queued by AFD. |
Info | The Info button opens the afd_info dialog for this host. |
Configuration | Shows the DIR_CONFIG configuration of the selected host. |
Job details | This closes and opens the Job details dialog when jobs are selected. |
Start/Stop AMG | This starts or stops the AMG. Stopping the AMG means that no more messages will be generated for the FD. FD will continue distributing as long as there are files queued. |
Start/Stop FD | This starts or stops the FD. Stopping the FD should only be done for a short time on systems with lots of traffic. Otherwise the AMG keeps generating messages until the file system is full or it cannot create any new directories to store the files. |
Reread DIR_CONFIG | When there have been any changes made in the DIR_CONFIG file and these changes should be activated, press this button. If there where any changes in the HOST_CONFIG file it will incorporate these changes as well. So it is not necessary to press the Reread HOST_CONFIG button. |
Reread HOST_CONFIG | To activate changes made by editing the HOST_CONFIG file manually (not using the edit_hc dialog), press this button. When you use edit_hc dialog to make changes to the HOST_CONFIG it will not be necessary to press this button, the Update button of that dialog will perform this task. |
Edit Host | Opens the edit_hc dialog, where you can make changes to each host shown by the afd_ctrl dialog. If a host has been selected this will then be the selected host when edit_hc dialog starts. |
Directory Control | This button shows the dir_ctrl dialog, which shows all directories monitored by AFD. |
Startup AFD | Starts the AFD by starting init_afd which in turn will start all process necessary for AFD to run. |
Shutdown AFD | Will do a shutdown of AFD. |
Font size | Pressing Font size will give you a list of fonts which, when selected, will be used for the afd_ctrl window and all other windows called from it. It might be that your X server does not support all fonts shown on the right hand, then you will be shown less fonts. | ![]() |
Number of rows | Number of rows allows to change the maximum number of rows to be displayed for one column. | ![]() |
Line Style | Line Style allows to change the appearance of a single line. You can currently choose four different items: Leds, Process, Characters and Bars. Default will be that all four items will be visible. If you do have a very large number of hosts you can deselect some items to reduce the window size of the afd_ctrl dialog. | ![]() |
Save Setup | Save Setup will save the above settings in the file
.afd_ctrl.setup. |
The heading is just a quick reminder of what the fields in the connection area mean:
dest | The destination alias where the the files are being distributed to. |
---|---|
fc | This is the file counter field. It shows the total number files that are still to be distributed for this destination. |
fs | The total file size that is still to be distributed. |
tr | Shows the overall current transfer rate. |
ec | This is the error counter for this destination. |
The connection area is the actual area which monitors and controls the AFD. The meaning of each field is shown below:
1 | Destination alias | This field holds the name of the destination alias. The background
color indicates the current status of the connection:
|
||||||||||||||||||||||||
2 | Debug Led | If this is yellow debug is on for this destination. Do not let debug on for very long on high traffic connections. Since this means lots of data gets written to the log file. See Log Files for more information of the debug output. | ||||||||||||||||||||||||
3 | Queue Led | The color of this LED tells what the AMG will do when files arrive
for this destination.
|
||||||||||||||||||||||||
4 | Transfer Led | This LED is split in two halfs. The top half is for output and the
bottom part is input. The color tells the status of this which can be
one of the following:
|
||||||||||||||||||||||||
5 | Detailed Selection | Shows all details for this job. | ||||||||||||||||||||||||
6 | Connection | This field shows the number of files currently
being transfered for this host. The background color indicates the
current status of the process.
|
||||||||||||||||||||||||
7 | File Counter | Total number of files that still have to be send for this destination. The numbers will be shown up to 9999 files, after this a character will be added: m for Mega Files (1000 * 1000 files), g for Giga Files (1000 * 1000 * 1000 files), t for Tera Files (1000 * 1000 * 1000 * 1000 files), p for Peta Files (1000 * 1000 * 1000 * 1000 * 1000 files) and e for Exa Files (1000 * 1000 * 1000 * 1000 * 1000 * 1000 files). | ||||||||||||||||||||||||
8 | File Size | Total number of bytes that still have to be send for this destination. The last character always shows the current unit: B for Bytes, K for Kilo Bytes (1024 Bytes), M for Mega Bytes (1024 * 1024 Bytes), G for Giga Bytes (1024 * 1024 * 1024 Bytes), T for Tera Bytes (1024 * 1024 * 1024 * 1024 Bytes), P for Peta Bytes (1024 * 1024 * 1024 * 1024 * 1024 Bytes) and E for Exa Bytes (1024 * 1024 * 1024 * 1024 * 1024 * 1024 Bytes). | ||||||||||||||||||||||||
9 | Transfer Rate | Displays the total current transfer rate of all connections to this destination. | ||||||||||||||||||||||||
10 | Error Counter | Number of errors that occurred for this destination. This will always be reset to zero when a file has been distributed successfully. If the number of errors is larger then two digits a greater sign (>) will be displayed. | ||||||||||||||||||||||||
11 | Error Counter Bar | Displays a bar for the number of errors for this destination. The color of the bar will be green when the error counter is low and will increasingly turn red the larger the error counter becomes. | ||||||||||||||||||||||||
12 | Transfer Rate Bar | Displays a yellow bar to display the transfer rate to this destination graphically. |
Selecting can be done by either holding down the shift key and pressing the left mouse button (temporary selection) or by holding the ctrl key and the left mouse button (permanent selection). The background of the line will change to black or grey respectively.
1 | AMG | LED to show current status of process AMG (Automatic Message
Generator).
![]() |
|||||||||||||||||||||
2 | FD | LED to show current status of process FD (File Distributor).
![]() |
|||||||||||||||||||||
3 | Archive Watch | LED to show current status of process Archive Watch.
|
|||||||||||||||||||||
4 | AFDD | LED to show current status of process AFDD. This might be missing
if you did not set the
AFD_TCP_PORT option in the AFD_CONFIG file.
|
|||||||||||||||||||||
5 | Receive Log | Radar that shows the five last type of messages in the
receive log.
|
|||||||||||||||||||||
6 | System Log | Radar that shows the five last type of messages in the
system log.
It can have the following colors: ![]()
|
|||||||||||||||||||||
7 | Transfer Log | Radar that shows the five last type of messages in the transfer log.
|
|||||||||||||||||||||
8 | Transfer Log History | Depending on the width of the afd_ctrl window, this will show the
last 48 hours of what has happened in the transfer log. It shows
the current hour on the right hand side and will move one position
to the left every hour. Each square represents one hour and the color
will be always the one with the highest severity that has occured
during that hour. The order is as follows, starting with the
highest severity: Fatal ![]() ![]() ![]() ![]() |
|||||||||||||||||||||
9 | System Log History | Same as above only for the system log and that it will have more
colors. The order of the colors here is as follows, again starting
with the highest severity: Fatal ![]() ![]() ![]() ![]() ![]() ![]() |
|||||||||||||||||||||
10 | Receive Log History | See Transfer Log History above. | |||||||||||||||||||||
11 | Job Queue Counter | This counter shows how many jobs are currently being queued. |
The job details can be viewed by clicking with the right mouse button and holding the Ctrl button simultaneously when the mouse cursor is on a connection field. It shows a more detailed view of what the current job is doing. If all data has been transmitted the rotating dash in the center will go away. To make a very long file name visible you can make this window longer by putting the cursor into the job details window and simultaneously press the Ctrl button and press the right mouse button. The left mouse button will make it shorter.
Copyright © 1997 - 2007 by H.Kiehl Holger.Kiehl@dwd.de Last updated: 21.07.2007 |
![]() |
![]() |