public final class Smf92Record extends SmfRecord
Typically you would obtain Smf92Records by reading SmfRecords and using
Smf92Record.
from(SmfRecord)
to create the specialized record after determining the record type.
Use the methods provided to read the specific sections e.g.
try (SmfRecordReader reader =
SmfRecordReader.fromDD("INPUT")
.include(92))
{
for (SmfRecord record : reader)
{
Smf92Record r92 = new Smf92Record(record);
for (FileSystemMount section : r92.fileSystemMounts())
{
// process section
}
}
}
The methods to extract sections will return an empty list if the record subtype is not the correct subtype for that section.
Modifier and Type | Field and Description |
---|---|
static int |
SMF92_CLOSE
Constant: 0x0B = 11
|
static int |
SMF92_CLSSOCCHARSPEC
Constant: 0x10 = 16
|
static int |
SMF92_DELETE
Constant: 0x0E = 14
|
static int |
SMF92_EXTSEC
Constant: 0x0F = 15
|
static int |
SMF92_FILEACC
Constant: 0x11 = 17
|
static int |
SMF92_MIGRATION
Constant: 0x08 = 8
|
static int |
SMF92_MMAP
Constant: 0x0C = 12
|
static int |
SMF92_MOUNT
Constant: 0x01 = 1
|
static int |
SMF92_MOVE
Constant: 0x07 = 7
|
static int |
SMF92_MUNMAP
Constant: 0x0D = 13
|
static int |
SMF92_OPEN
Constant: 0x0A = 10
|
static int |
SMF92_REMOUNT
Constant: 0x06 = 6
|
static int |
SMF92_RESUME
Constant: 0x04 = 4
|
static int |
SMF92_SUSPEND
Constant: 0x02 = 2
|
static int |
SMF92_UNMOUNT
Constant: 0x05 = 5
|
static String |
SMF92_VERSION
Constant: EBCDIC 0xF0F2 converted to String
|
static String |
SMF92_VERSION01
Constant: EBCDIC 0xF0F1 converted to String
|
static String |
SMF92_VERSION02
Constant: EBCDIC 0xF0F2 converted to String
|
static int |
SMF92SBT
Constant: 0x40 = 64
|
static int |
SMF92SSF
Constant: 0x80 = 128
|
Constructor and Description |
---|
Smf92Record(byte[] data)
Constructs an Smf92Record from the specified byte array.
|
Smf92Record(SmfRecord record)
Constructs a new Smf92Record from an existing SMF record.
|
Modifier and Type | Method and Description |
---|---|
List<CallCounts> |
callCounts()
Get a List containing Call Counts sections from the record.
|
List<DiskIOStatistics> |
diskIOStatistics()
Get a List containing Disk I/O Statistics Sections from the record.
|
List<FileAccess> |
fileAccesses()
Get a List containing FileAccess Sections from the record.
|
List<FileClose> |
FileCloses()
Get a List containing FileClose Sections from the record.
|
List<FileDeleteRename> |
fileDeleteRenames()
Get a List containing FileDeleteRename Sections from the record.
|
List<FileOpen> |
fileOpens()
Get a List containing FileOpen Sections from the record.
|
List<FileSecurityAttrChange> |
fileSecurityAttrChanges()
Get a List containing FileSecurityAttrChange Sections from the record.
|
List<FilesystemEvent> |
filesystemEvents()
Get a List containing Filesystem Event Sections from the record.
|
List<FileSystemMigration> |
fileSystemMigrations()
Get a List containing FileSystemMigration Sections from the record.
|
List<FileSystemMount> |
fileSystemMounts()
Get a List containing FileSystemMount Sections from the record.
|
List<FileSystemMove> |
fileSystemMoves()
Get a List containing FileSystemMove Sections from the record.
|
List<FileSystemResume> |
fileSystemResumes()
Get a List containing FileSystemResume Sections from the record.
|
List<FileSystemSuspend> |
fileSystemSuspends()
Get a List containing FileSystemSuspend Sections from the record.
|
List<FileSystemUnmountRemount> |
fileSystemUnmountRemounts()
Get a List containing FileSystemUnmountRemount Sections from the record.
|
static Smf92Record |
from(byte[] data)
Constructs an Smf92Record from the specified byte array.
|
static Smf92Record |
from(SmfRecord record)
Constructs a new Smf92Record from an existing SMF record.
|
IdentificationSection |
identificationSection()
Get the first or only Identification Section from the record
|
List<IdentificationSection> |
identificationSections()
Get a List containing Identification Sections from the record
|
List<LockAndSleepStatistics> |
lockAndSleepStatistics()
Get a List containing Lock and Sleep Statistics Sections from the record.
|
List<MemoryUsage> |
memoryUsage()
Get a List containing MemoryUsage Sections from the record.
|
List<MetadataCacheStatistics> |
metadataCacheStatistics()
Get a List containing Metadata Cache Statistics Sections from the record.
|
List<MMap> |
mMaps()
Get a List containing MMap Sections from the record.
|
List<MUnMap> |
mUnMaps()
Get a List containing MUnMap Sections from the record.
|
List<PerFilesystemUsageInformation> |
perFilesystemUsageInformation()
Get a List containing Per Filesystem Usage Information Sections from the record.
|
int |
smf92dln()
SMF92DLN value.
|
int |
smf92dof()
SMF92DOF value.
|
int |
smf92don()
SMF92DON value.
|
LocalDate |
smf92dte()
SMF92DTE as a LocalDate.
|
int |
smf92dteRawValue()
SMF92DTE raw value.
|
int |
smf92flg()
SMF92FLG value.
|
int |
smf92iln()
SMF92ILN value.
|
int |
smf92iof()
SMF92IOF value.
|
int |
smf92ion()
SMF92ION value.
|
int |
smf92len()
SMF92LEN value.
|
int |
smf92rty()
SMF92RTY value.
|
boolean |
smf92sbt()
Return true if
SMF92SBT bit in smf92flg() is set. |
int |
smf92sdl()
SMF92SDL value.
|
int |
smf92seg()
SMF92SEG value.
|
String |
smf92sid()
SMF92SID value.
|
int |
smf92sln()
SMF92SLN value.
|
int |
smf92sof()
SMF92SOF value.
|
int |
smf92son()
SMF92SON value.
|
boolean |
smf92ssf()
Return true if
SMF92SSF bit in smf92flg() is set. |
int |
smf92stp()
SMF92STP value.
|
LocalTime |
smf92tme()
SMF92TME as a LocalTime.
|
long |
smf92tmeRawValue()
SMF92TME raw value
|
String |
smf92wid()
SMF92WID value.
|
SubsystemSection |
subsystemSection()
Get the first or only Subsystem Section from the record
|
List<SubsystemSection> |
subsystemSections()
Get a List containing Subsystem Sections from the record
|
List<TokenManagerInformation> |
tokenManagerInformation()
Get a List containing Token Manager Information Sections from the record.
|
List<TransmitReceiveStatistics> |
transmitReceiveStatistics()
Get a List containing Transmit Receive Statistics Sections from the record.
|
List<UserCacheStatistics> |
userCacheStatistics()
Get a List containing User Cache Statistics Sections from the record.
|
equals, extendedHeader, extendedHeader, hashCode, hasSubtypes, hasSubtypes, recordLength, recordLength, recordType, recordType, sanityCheck, smfDate, smfDate, smfDateTime, smfDateTime, smfhdr1Flag, smfhdr1Iefu86, smfhdr1Len, smfhdr1Len, smfhdr1Stcke, smfhdr1StckeRawValue, smfhdr1Tzo, smfhdr1TzoRawValue, smfhdr1Version, smfhdr1Version, smfTime, smfTime, subSystem, subSystem, subType, subType, system, system, toString
createSection, dump, dump, dump, dump, getBytes, getBytes, getDataArray, getTriplet
public static final int SMF92SSF
public static final int SMF92SBT
public static final String SMF92_VERSION02
public static final String SMF92_VERSION01
public static final String SMF92_VERSION
public static final int SMF92_MOUNT
public static final int SMF92_SUSPEND
public static final int SMF92_RESUME
public static final int SMF92_UNMOUNT
public static final int SMF92_REMOUNT
public static final int SMF92_MOVE
public static final int SMF92_OPEN
public static final int SMF92_CLOSE
public static final int SMF92_MMAP
public static final int SMF92_MUNMAP
public static final int SMF92_DELETE
public static final int SMF92_EXTSEC
public static final int SMF92_CLSSOCCHARSPEC
public static final int SMF92_FILEACC
public static final int SMF92_MIGRATION
public Smf92Record(byte[] data)
data
- a byte array containing the SMF record datapublic Smf92Record(SmfRecord record)
record
- an existing SMF recordpublic static Smf92Record from(SmfRecord record)
record
- an existing SMF recordpublic static Smf92Record from(byte[] data)
data
- a byte array containing the SMF record datapublic SubsystemSection subsystemSection()
public List<SubsystemSection> subsystemSections()
public IdentificationSection identificationSection()
public List<IdentificationSection> identificationSections()
public List<FileSystemMount> fileSystemMounts()
public List<FileSystemSuspend> fileSystemSuspends()
public List<FileSystemResume> fileSystemResumes()
public List<FileSystemUnmountRemount> fileSystemUnmountRemounts()
public List<FileSystemMove> fileSystemMoves()
public List<FileSystemMigration> fileSystemMigrations()
public List<FileOpen> fileOpens()
public List<FileClose> FileCloses()
public List<MMap> mMaps()
public List<MUnMap> mUnMaps()
public List<FileDeleteRename> fileDeleteRenames()
public List<FileSecurityAttrChange> fileSecurityAttrChanges()
public List<FileAccess> fileAccesses()
public List<FilesystemEvent> filesystemEvents()
public List<CallCounts> callCounts()
public List<UserCacheStatistics> userCacheStatistics()
public List<MetadataCacheStatistics> metadataCacheStatistics()
public List<LockAndSleepStatistics> lockAndSleepStatistics()
public List<DiskIOStatistics> diskIOStatistics()
public List<TokenManagerInformation> tokenManagerInformation()
public List<MemoryUsage> memoryUsage()
public List<TransmitReceiveStatistics> transmitReceiveStatistics()
public List<PerFilesystemUsageInformation> perFilesystemUsageInformation()
public int smf92len()
public int smf92seg()
public int smf92flg()
public boolean smf92ssf()
SMF92SSF
bit in smf92flg()
is set.SMF92SSF = 0x80
public boolean smf92sbt()
SMF92SBT
bit in smf92flg()
is set.SMF92SBT = 0x40
public int smf92rty()
public LocalTime smf92tme()
LocalTime
public long smf92tmeRawValue()
public LocalDate smf92dte()
LocalDate
public int smf92dteRawValue()
public String smf92sid()
public String smf92wid()
public int smf92stp()
public int smf92sdl()
public int smf92sof()
public int smf92sln()
public int smf92son()
public int smf92iof()
public int smf92iln()
public int smf92ion()
public int smf92dof()
public int smf92dln()
public int smf92don()
Copyright © 2020 Black Hill Software Pty Ltd. All rights reserved.