Previous | Next | Contents | Index |
Find specified version of a PMDF log file.
pmdf find file-pattern
Command Qualifiers Defaults -f=
offset-from-firstNone -l=
offset-from-lastNone
Must have read access to the requested file.
file-pattern
A file name pattern for which PMDF log file to find.
The
pmdf find
utility may be used to find the precise file name of the specified "version" of a PMDF file. PMDF log files have a-uniqueid
appended to the file name to allow for the creation of multiple "versions" of the log file; on UNIX, the-uniqueid
is appended to the very end of the file name (the end of the file extension), while on NT, the-uniqueid
is appended to the end of the name part of the file name, before the file extension. Thepmdf find
utility understands these unique ids and can find the particular file name corresponding to the requested "version" of the file.The default, if no offset qualifier is specified, is to find the most recent "version" of the file.
This qualifier is used to specify finding the nth "version" of the file (starting counting from 0). For instance, to find the earliest (oldest) "version" of the file, specify
-f=
offset-from-first-f=0
This qualifier is used to specify finding the nth from the last "version" of the file (starting decrementing from 0 as the most recent version). For instance, to find the most recent (newest) "version" of the file, specify
-l=
offset-from-last-l=0
#1 |
---|
# pmdf find /pmdf/log/tcp_local_slave.log |
This UNIX command will print out the file name of the
/pmdf/log/tcp_local_slave.log-uniqueid
file most recently created.
#2 |
---|
# pmdf find /pmdf/log/tcp_bitnet_master.log -f=0 |
This UNIX command will display the file name of the oldest
/pmdf/log/tcp_bitnet_master.log-uniqueid
file.
#3 |
---|
C:\> pmdf find C:\pmdf\log\tcp_local_slave.log |
This NT command will print out the file name of the
C:\pmdf\log\tcp_local_slave-uniqueid.log
file most recently created.
#4 |
---|
C:\> pmdf find \pmdf\log\tcp_bitnet_master.log -f=0 |
This NT command will display the file name of the oldest
C:\pmdf\log\tcp_bitnet_master-uniqueid.log
file.
Previous | Next | Contents | Index |