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 findutility may be used to find the precise file name of the specified "version" of a PMDF file. PMDF log files have a-uniqueidappended to the file name to allow for the creation of multiple "versions" of the log file; on UNIX, the-uniqueidis appended to the very end of the file name (the end of the file extension), while on NT, the-uniqueidis appended to the end of the name part of the file name, before the file extension. Thepmdf findutility 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=0This 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
#2This UNIX command will print out the file name of the
/pmdf/log/tcp_local_slave.log-uniqueidfile most recently created.
# pmdf find /pmdf/log/tcp_bitnet_master.log -f=0
#3This UNIX command will display the file name of the oldest
/pmdf/log/tcp_bitnet_master.log-uniqueidfile.
C:\> pmdf find C:\pmdf\log\tcp_local_slave.log
#4This NT command will print out the file name of the
C:\pmdf\log\tcp_local_slave-uniqueid.logfile most recently created.
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.logfile.