Nonstop Database, HiRDB Version 9 Command Reference
The pdlogls command displays information about system log files.
Users without access privileges can also execute this command.
pdlogls -d sys [-s server-name] [-g file-group-name] [-e] [-C [-H]] [-E] |
pdlogls -d sys -s server-name [-u unit-identifier] [-g file-group-name] [-e] [-C [-H]] [-E] |
Specifies the name of the server whose information is to be displayed.
Specifies the name of a file group whose information is to be displayed. If you omit this option, the command displays information about all file groups for the specified server.
Specifies this option when displaying information about an element file. The default is not to display information about element files.
When the standby-less system switchover (effects distributed) facility is used, specifies the unit identifier of the host that contains the disk on which the system log file for which information is to be displayed was created.
When the applicable server and system manager are running, the -u option is ignored, if specified.
Specifying the -u option results in an error if any of the following is true:
The following table describes whether or not the -u option is required:
Server status | Host containing the disk where file is created | Specification of -u option |
---|---|---|
Active | Host containing the running back-end server | Optional |
Inactive | Host containing the primary back-end server | |
Other host | Mandatory |
Specifies that the system log file information is to be output in DAT format.
Specifies that a title line is to be output (applicable when the -C option is specified).
Specifies that detailed system log file information is to be output.
HOSTNAME : aa...a(bbccdd) ***** Off-line Information ***** .......................................1 Group Type Server Gen No. Status Run ID Block No. Ex-Status ee...e fff gg...g hh...h ijklmno pp...p qq...q rr...r JKLMNOPQ .......2 Element Status Record-count Sys-A Sys-B# Record-size ss...s tuvwxy AA...A BB...B CDEFGH CDEFGH IIII .........3 AutoExp-A AutoExp-B# R SS...S R SS...S .............................................4 |
#: This information is displayed only when the system log file is dualized.
Item 1 is displayed when log file information about the offline status (the corresponding server is shut down) is to be output.#1 Item 2 indicates the status of the file group. Item 3 indicates the status of the element file. Item 4 indicates the detailed element file information. Items 2 through 4 are displayed for each file group. Note that R and SS...S are displayed only when -E is specified.
"EDIT-TIME","HOSTNAME","INFORMATION","GROUP","TYPE","SERVER","GEN NO.","G-STATUS1", "G-STATUS2","G-STATUS3","G-STATUS4","G-STATUS5","G-STATUS6","G-STATUS7","RUN ID", "BLOCK NO.(FIRST)","BLOCK NO.(LAST)","EX-STATUS1","EX-STATUS2","EX-STATUS3", "EX-STATUS4","EX-STATUS5","EX-STATUS6","EX-STATUS7","EX-STATUS8","ELEMENT", "E-STATUS1","E-STATUS2","E-STATUS3","E-STATUS4","E-STATUS5","E-STATUS6", "RECORD-COUNT(USED)","RECORD-COUNT(ALL)","A-STS1","A-STS2","A-STS3","A-STS4", "A-STS5","A-STS6","B-STS1","B-STS2","B-STS3","B-STS4","B-STS5","B-STS6", "RECORD-SIZE","A-AUTOEXP-STS","A-UNUSED-SIZE","B-AUTOEXP-STS","B-UNUSED-SIZE" "TT...T","aa...a","UU...U","ee...e","fff","gg...g",hh...h,"i","j","k","l","m","n","o", pp...p,qq...q,rr...r,"J","K","L","M","N","O","P","Q","ss...s","t","u","v","w","x","y", AA...A,BB...B,"C","D","E","F","G","H"[,"C","D","E","F","G","H"],IIII,"R", SS...S[,"R",SS...S] |
Square brackets enclose information displayed when dual system log files are used.
For explanations of aa...a through SS...S, see the information above for when pdlogls -d sys -s server-name -e -E is specified.
For the rules for output in DAT format, see 1.5.3 Rules for output of command execution results in DAT format.
One line displays information for one file group.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.