java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.SmfRecord
com.blackhillsoftware.smf.smf92.Smf92Record
Mapping for SMF type 92 record.
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConstant: 0x0B = 11static final intConstant: 0x10 = 16static final intConstant: 0x0E = 14static final intConstant: 0x0F = 15static final intConstant: 0x11 = 17static final intConstant: 0x08 = 8static final intConstant: 0x0C = 12static final intConstant: 0x01 = 1static final intConstant: 0x07 = 7static final intConstant: 0x0D = 13static final intConstant: 0x0A = 10static final intConstant: 0x06 = 6static final intConstant: 0x04 = 4static final intConstant: 0x02 = 2static final intConstant: 0x05 = 5static final StringConstant: EBCDIC 0xF0F2 converted to Stringstatic final StringConstant: EBCDIC 0xF0F1 converted to Stringstatic final StringConstant: EBCDIC 0xF0F2 converted to Stringstatic final intConstant: 0x40 = 64static final intConstant: 0x80 = 128 -
Constructor Summary
ConstructorsConstructorDescriptionSmf92Record(byte[] data) Constructs an Smf92Record from the specified byte array.Smf92Record(SmfRecord record) Constructs a new Smf92Record from an existing SMF record. -
Method Summary
Modifier and TypeMethodDescriptionGet a List containing Call Counts sections from the record.Get a List containing Disk I/O Statistics Sections from the record.Get a List containing FileAccess Sections from the record.Get a List containing FileClose Sections from the record.Get a List containing FileDeleteRename Sections from the record.Get a List containing FileOpen Sections from the record.Get a List containing FileSecurityAttrChange Sections from the record.Get a List containing Filesystem Event Sections from the record.Get a List containing FileSystemMigration Sections from the record.Get a List containing FileSystemMount Sections from the record.Get a List containing FileSystemMove Sections from the record.Get a List containing FileSystemResume Sections from the record.Get a List containing FileSystemSuspend Sections from the record.Get a List containing FileSystemUnmountRemount Sections from the record.static Smf92Recordfrom(byte[] data) Constructs an Smf92Record from the specified byte array.static Smf92RecordConstructs a new Smf92Record from an existing SMF record.Get the first or only Identification Section from the recordGet a List containing Identification Sections from the recordGet a List containing Lock and Sleep Statistics Sections from the record.Get a List containing MemoryUsage Sections from the record.Get a List containing Metadata Cache Statistics Sections from the record.mMaps()Get a List containing MMap Sections from the record.mUnMaps()Get a List containing MUnMap Sections from the record.Get a List containing Per Filesystem Usage Information Sections from the record.intsmf92dln()SMF92DLN value.intsmf92dof()SMF92DOF value.intsmf92don()SMF92DON value.smf92dte()SMF92DTE as a LocalDate.intSMF92DTE raw value.intsmf92flg()SMF92FLG value.intsmf92iln()SMF92ILN value.intsmf92iof()SMF92IOF value.intsmf92ion()SMF92ION value.intsmf92len()SMF92LEN value.intsmf92rty()SMF92RTY value.booleansmf92sbt()Return true ifSMF92SBTbit insmf92flg()is set.intsmf92sdl()SMF92SDL value.intsmf92seg()SMF92SEG value.smf92sid()SMF92SID value.intsmf92sln()SMF92SLN value.intsmf92sof()SMF92SOF value.intsmf92son()SMF92SON value.booleansmf92ssf()Return true ifSMF92SSFbit insmf92flg()is set.intsmf92stp()SMF92STP value.smf92tme()SMF92TME as a LocalTime.longSMF92TME raw valuesmf92wid()SMF92WID value.Get the first or only Subsystem Section from the recordGet a List containing Subsystem Sections from the recordGet a List containing Token Manager Information Sections from the record.Get a List containing Transmit Receive Statistics Sections from the record.Get a List containing User Cache Statistics Sections from the record.Methods inherited from class com.blackhillsoftware.smf.SmfRecord
createSection, extendedHeader, extendedHeader, getTriplet, 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
-
Field Details
-
SMF92SSF
public static final int SMF92SSFConstant: 0x80 = 128- See Also:
-
SMF92SBT
public static final int SMF92SBTConstant: 0x40 = 64- See Also:
-
SMF92_VERSION02
Constant: EBCDIC 0xF0F2 converted to String -
SMF92_VERSION01
Constant: EBCDIC 0xF0F1 converted to String -
SMF92_VERSION
Constant: EBCDIC 0xF0F2 converted to String -
SMF92_MOUNT
public static final int SMF92_MOUNTConstant: 0x01 = 1- See Also:
-
SMF92_SUSPEND
public static final int SMF92_SUSPENDConstant: 0x02 = 2- See Also:
-
SMF92_RESUME
public static final int SMF92_RESUMEConstant: 0x04 = 4- See Also:
-
SMF92_UNMOUNT
public static final int SMF92_UNMOUNTConstant: 0x05 = 5- See Also:
-
SMF92_REMOUNT
public static final int SMF92_REMOUNTConstant: 0x06 = 6- See Also:
-
SMF92_MOVE
public static final int SMF92_MOVEConstant: 0x07 = 7- See Also:
-
SMF92_OPEN
public static final int SMF92_OPENConstant: 0x0A = 10- See Also:
-
SMF92_CLOSE
public static final int SMF92_CLOSEConstant: 0x0B = 11- See Also:
-
SMF92_MMAP
public static final int SMF92_MMAPConstant: 0x0C = 12- See Also:
-
SMF92_MUNMAP
public static final int SMF92_MUNMAPConstant: 0x0D = 13- See Also:
-
SMF92_DELETE
public static final int SMF92_DELETEConstant: 0x0E = 14- See Also:
-
SMF92_EXTSEC
public static final int SMF92_EXTSECConstant: 0x0F = 15- See Also:
-
SMF92_CLSSOCCHARSPEC
public static final int SMF92_CLSSOCCHARSPECConstant: 0x10 = 16- See Also:
-
SMF92_FILEACC
public static final int SMF92_FILEACCConstant: 0x11 = 17- See Also:
-
SMF92_MIGRATION
public static final int SMF92_MIGRATIONConstant: 0x08 = 8- See Also:
-
-
Constructor Details
-
Smf92Record
public Smf92Record(byte[] data) Constructs an Smf92Record from the specified byte array.- Parameters:
data- a byte array containing the SMF record data
-
Smf92Record
Constructs a new Smf92Record from an existing SMF record. The 2 records share the same data byte array.- Parameters:
record- an existing SMF record
-
-
Method Details
-
from
Constructs a new Smf92Record from an existing SMF record. The 2 records share the same data byte array.- Parameters:
record- an existing SMF record
-
from
Constructs an Smf92Record from the specified byte array.- Parameters:
data- a byte array containing the SMF record data
-
subsystemSection
Get the first or only Subsystem Section from the record- Returns:
- a SubsystemSection
-
subsystemSections
Get a List containing Subsystem Sections from the record- Returns:
- a list of SubsystemSection
-
identificationSection
Get the first or only Identification Section from the record- Returns:
- an IdentificationSection
-
identificationSections
Get a List containing Identification Sections from the record- Returns:
- a list of IdentificationSection
-
fileSystemMounts
Get a List containing FileSystemMount Sections from the record. An empty list is returned if the record is not subtype 1.- Returns:
- a list of FileSystemMount
-
fileSystemSuspends
Get a List containing FileSystemSuspend Sections from the record. An empty list is returned if the record is not subtype 2.- Returns:
- a list of FileSystemSuspend
-
fileSystemResumes
Get a List containing FileSystemResume Sections from the record. An empty list is returned if the record is not subtype 4.- Returns:
- a list of FileSystemResume
-
fileSystemUnmountRemounts
Get a List containing FileSystemUnmountRemount Sections from the record. An empty list is returned if the record is not subtype 5 or 6.- Returns:
- a list of FileSystemUnmountRemount
-
fileSystemMoves
Get a List containing FileSystemMove Sections from the record. An empty list is returned if the record is not subtype 7.- Returns:
- a list of FileSystemMove
-
fileSystemMigrations
Get a List containing FileSystemMigration Sections from the record. An empty list is returned if the record is not subtype 8.- Returns:
- a list of FileSystemMigration
-
fileOpens
Get a List containing FileOpen Sections from the record. An empty list is returned if the record is not subtype 10.- Returns:
- a list of FileOpen
-
FileCloses
Get a List containing FileClose Sections from the record. An empty list is returned if the record is not subtype 11 or 16.- Returns:
- a list of FileClose
-
mMaps
Get a List containing MMap Sections from the record. An empty list is returned if the record is not subtype 12.- Returns:
- a list of MMap
-
mUnMaps
Get a List containing MUnMap Sections from the record. An empty list is returned if the record is not subtype 13.- Returns:
- a list of MUnMap
-
fileDeleteRenames
Get a List containing FileDeleteRename Sections from the record. An empty list is returned if the record is not subtype 14.- Returns:
- a list of FileDeleteRename
-
fileSecurityAttrChanges
Get a List containing FileSecurityAttrChange Sections from the record. An empty list is returned if the record is not subtype 15.- Returns:
- a list of FileSecurityAttrChange
-
fileAccesses
Get a List containing FileAccess Sections from the record. An empty list is returned if the record is not subtype 17.- Returns:
- a list of FileAccess
-
filesystemEvents
Get a List containing Filesystem Event Sections from the record. An empty list is returned if the record is not subtype 50.- Returns:
- a list of FilesystemEvent
-
callCounts
Get a List containing Call Counts sections from the record. An empty list is returned if the record is not subtype 51.- Returns:
- a list of CallCounts
-
userCacheStatistics
Get a List containing User Cache Statistics Sections from the record. An empty list is returned if the record is not subtype 52.- Returns:
- a list of UserCacheStatistics
-
metadataCacheStatistics
Get a List containing Metadata Cache Statistics Sections from the record. An empty list is returned if the record is not subtype 53.- Returns:
- a list of MetadataCacheStatistics
-
lockAndSleepStatistics
Get a List containing Lock and Sleep Statistics Sections from the record. An empty list is returned if the record is not subtype 54.- Returns:
- a list of LockAndSleepStatistics
-
diskIOStatistics
Get a List containing Disk I/O Statistics Sections from the record. An empty list is returned if the record is not subtype 55.- Returns:
- a list of DiskIOStatistics
-
tokenManagerInformation
Get a List containing Token Manager Information Sections from the record. An empty list is returned if the record is not subtype 56.- Returns:
- a list of TokenManagerInformation
-
memoryUsage
Get a List containing MemoryUsage Sections from the record. An empty list is returned if the record is not subtype 57.- Returns:
- a list of MemoryUsage
-
transmitReceiveStatistics
Get a List containing Transmit Receive Statistics Sections from the record. An empty list is returned if the record is not subtype 58.- Returns:
- a list of TransmitReceiveStatisticsHeader
-
perFilesystemUsageInformation
Get a List containing Per Filesystem Usage Information Sections from the record. An empty list is returned if the record is not subtype 59.- Returns:
- a list of PerFilesystemUsageInformation
-
smf92len
public int smf92len()SMF92LEN value.- Returns:
- int SMF92LEN value
-
smf92seg
public int smf92seg()SMF92SEG value.- Returns:
- int SMF92SEG value
-
smf92flg
public int smf92flg()SMF92FLG value.- Returns:
- int SMF92FLG value
-
smf92ssf
public boolean smf92ssf()Return true ifSMF92SSFbit insmf92flg()is set.- Returns:
- boolean SMF92SSF bit is set in smf92flg()
SMF92SSF = 0x80
-
smf92sbt
public boolean smf92sbt()Return true ifSMF92SBTbit insmf92flg()is set.- Returns:
- boolean SMF92SBT bit is set in smf92flg()
SMF92SBT = 0x40
-
smf92rty
public int smf92rty()SMF92RTY value.- Returns:
- int SMF92RTY value
-
smf92tme
SMF92TME as a LocalTime.- Returns:
- LocalTime SMF92TME Time
- See Also:
-
smf92tmeRawValue
public long smf92tmeRawValue()SMF92TME raw value- Returns:
- long SMF92TME value
-
smf92dte
SMF92DTE as a LocalDate.- Returns:
- LocalDate SMF92DTE Date
- See Also:
-
smf92dteRawValue
public int smf92dteRawValue()SMF92DTE raw value.- Returns:
- int SMF92DTE value
-
smf92sid
SMF92SID value.- Returns:
- String SMF92SID value
-
smf92wid
SMF92WID value.- Returns:
- String SMF92WID value
-
smf92stp
public int smf92stp()SMF92STP value.- Returns:
- int SMF92STP value
-
smf92sdl
public int smf92sdl()SMF92SDL value.- Returns:
- int SMF92SDL value
-
smf92sof
public int smf92sof()SMF92SOF value.- Returns:
- int SMF92SOF value
-
smf92sln
public int smf92sln()SMF92SLN value.- Returns:
- int SMF92SLN value
-
smf92son
public int smf92son()SMF92SON value.- Returns:
- int SMF92SON value
-
smf92iof
public int smf92iof()SMF92IOF value.- Returns:
- int SMF92IOF value
-
smf92iln
public int smf92iln()SMF92ILN value.- Returns:
- int SMF92ILN value
-
smf92ion
public int smf92ion()SMF92ION value.- Returns:
- int SMF92ION value
-
smf92dof
public int smf92dof()SMF92DOF value.- Returns:
- int SMF92DOF value
-
smf92dln
public int smf92dln()SMF92DLN value.- Returns:
- int SMF92DLN value
-
smf92don
public int smf92don()SMF92DON value.- Returns:
- int SMF92DON value
-