Checking the Status of a Background Operation

You can check the status of a command that is executing in the background by

· Looking in the monitoring window for output from the command

· Entering the bak status command

· Entering the bak jobs command if you are working in interactive mode

Issue the bak status command to check the status of the operation that a Tape Coordinator is currently executing:

$ bak status [-tcid number]

The command produces output that includes the following:

· A name describing the operation the Tape Coordinator is performing. One of the following operation names is displayed:

- Dump (dump_set)
This is displayed for a dump operation initiated with the bak dump command; dump_set is the name of the dump set in the form fileset_family_name.dump_level.

- Restore
This is displayed for a restore operation initiated with the bak restoreft, bak restoredisk, or bak restoreftfamily command.

- Labeltape (tape_label)
This is displayed for a tape labeling operation started with the bak labeltape command; tape_label is the label being placed on the tape.

- Scantape
This is displayed for a tape scanning operation initiated with the bak scantape command.

- SaveDb
This is displayed for a database saving operation initiated with the bak savedb command.

- RestoreDb
This is displayed for a database restoring operation started with the bak restoredb command.

· The number of kilobytes transferred so far (from the file system to tape for a dump operation, or from tape to the file system for a restore operation).

· For a dump operation, the string fileset followed by the name of the fileset currently being dumped; for a restore operation, the string fileset followed by the name of the fileset currently being restored.

· A message reporting additional status information about the operation. No message is displayed if the operation is proceeding normally.

- The [abort requested] message is displayed if the kill command was issued but the operation is not yet canceled.

- The [abort sent] message is displayed if the operation is canceled but its execution is not yet stopped.

- The [operator wait] message is displayed if the Tape Coordinator is waiting for the operator to insert a tape in the drive.

The following example shows the status of the operation currently being performed by the Tape Coordinator whose TCID is 0:

$ bak status

Dump (usersys.monday): 312105 Kbytes transferred, fileset user.terry.

(See Displaying Operations in Interactive Mode for information about the bak jobs command.)