OpenTP1 Version 7 User's Guide
ntbtail (outputs the contents of a specified file to the console)
Format
ntbtail [-i update-check-interval] -t p ntbtail [-i update-check-interval] redirect-file-name
Function
This command reads a specified file at a specified interval and outputs the updated contents to the console. If the specified file has managed generations, the command reads the contents of the file with generation number 1 or 2 at the end of the file name and then outputs those contents to the console.
Options
-i update-check-interval ~<unsigned integer>((1 to 60))<<1>>(seconds)
Specifies the interval at which the file is to be checked for updated contents.
-t p
Specifies that the contents of the standard output redirect file are to be read and output to the console. This option provides the same functionality as the tp1console command. For details about the tp1console command, see tp1console (outputs the standard output redirect file to the console).
Command arguments
redirect-file-name ~<path name consisting of 1 to 260 characters>
Specifies the name of the file whose updated file contents are to be output.
Generations of the specified file must be managed according to the following conditions:
A file with managed generations that is output by this command cannot be deleted until this command has terminated.
For the file name, specify the name without the generation number at the end. The following example outputs the files %DCDIR%\spool\prclog1 and %DCDIR%\spool\prclog2:
ntbtail %DCDIR%\spool\prclog |
Output messages
Message ID | Description | Output destination |
---|---|---|
KFCA26526-E | Command execution failed. | Standard error |
KFCA26527-I | Help message | Standard output |
Notes
All Rights Reserved. Copyright (C) 2012, Hitachi, Ltd.