xrootdlib.structs.XrdXrootdMon.fstat module¶
-
class
FileCLS(flags: int, size: int, fileid: int, read: int, readv: int, write: int, ops: Optional[xrootdlib.structs.XrdXrootdMon.fstat.StatOPS], ssq: Optional[xrootdlib.structs.XrdXrootdMon.fstat.StatSSQ])¶ Bases:
objectXrdXrootdMonFileCLSindicating that a client closed a fileParameters: - flags – indicator for fields present and close type
- fileid – file identifier (see
Map) - read – bytes read using
read() - readv – bytes read using
readv() - write – bytes written
- ops – file operation statistics
- ssq – file operation statistic deviations
-
fileid¶
-
flags¶
-
classmethod
from_buffer(buffer: bytes)¶
-
ops¶
-
read¶
-
readv¶
-
size¶
-
ssq¶
-
struct_parser= <Struct object>¶
-
write¶
-
xfr¶
-
class
FileDSC(flags: int, dictid: int)¶ Bases:
objectXrdXrootdMonFileDSCindicating that a client disconnected from the serverParameters: - flags – unused for this record type
- dictid – client identifier (see
Map)
-
dictid¶
-
flags¶
-
classmethod
from_buffer(buffer: bytes)¶
-
size= 8¶
-
struct_parser= <Struct object>¶
-
class
FileOPN(flags: int, size: int, fileid: int, filesize: int, user: Optional[int] = None, lfn: Optional[bytes] = None)¶ Bases:
objectXrdXrootdMonFileOPNindicating that a client opened a fileParameters: The
fileid,userandlfnare closely related and should be interpreted together. If notrec_flag & hasLFNthenfileidpoints to user info that contains bothuserandlfninformation. Otherwise, the user info should be constructed fromuserandlfninformation for the givenfileidas the correspondingFileCLSexpects this information.-
fileid¶
-
filesize¶
-
flags¶
-
classmethod
from_buffer(buffer: bytes)¶
-
fsz¶
-
lfn¶
-
size¶
-
struct_parser= <Struct object>¶
-
ufn¶
-
user¶
-
-
FileRecord= typing.Union[xrootdlib.structs.XrdXrootdMon.fstat.FileTOD, xrootdlib.structs.XrdXrootdMon.fstat.FileDSC, xrootdlib.structs.XrdXrootdMon.fstat.FileOPN, xrootdlib.structs.XrdXrootdMon.fstat.FileCLS, xrootdlib.structs.XrdXrootdMon.fstat.FileXFR]¶ Type of records in the f stream
-
class
FileTOD(flags: int, records_xfr: int, records_total: int, start: int, end: int, sid: int)¶ Bases:
objectXrdXrootdMonFileTODidentifying the sender and time rangeParameters: - flags – indicator for fields present
- records_xfr – number of
FileXFRrecords in the packet - records_total – number of
FileRecordrecords in the packet - start – timestamp of the first record
- end – timestamp the packet was sent
- sid – server identifier (see
Map)
-
end¶
-
flags¶
-
classmethod
from_buffer(buffer: bytes)¶
-
records_total¶
-
records_xfr¶
-
sid¶
-
size= 24¶
-
start¶
-
struct_parser= <Struct object>¶
-
class
FileXFR(flags: int, fileid: int, read: int, readv: int, write: int)¶ Bases:
objectXrdXrootdMonFileXFRindicating file transfer statisticsParameters: - flags – unused
- fileid – client identifier (see
Map) - read – bytes read using
read() - readv – bytes read using
readv() - write – bytes written
-
fileid¶
-
flags¶
-
classmethod
from_buffer(buffer: bytes)¶
-
read¶
-
readv¶
-
size= 32¶
-
struct_parser= <Struct object>¶
-
write¶
-
xfr¶
-
class
StatOPS(read: int, readv: int, write: int, rsmin: int, rsmax: int, rsegs: int, rdmin: int, rdmax: int, rvmin: int, rvmax: int, wrmin: int, wrmax: int)¶ Bases:
objectXrdXrootdMonStatOPSdescribing file operation statistics-
classmethod
from_buffer(buffer: bytes)¶
-
rdmax¶
-
rdmin¶
-
read¶
-
readv¶
-
rsegs¶
-
rsmax¶
-
rsmin¶
-
rvmax¶
-
rvmin¶
-
size= 48¶
-
struct_parser= <Struct object>¶
-
write¶
-
wrmax¶
-
wrmin¶
-
classmethod
-
class
StatSSQ(read: int, readv: int, rsegs: int, write: int)¶ Bases:
objectXrdXrootdMonStatSSQdescribing file operation statistic deviations-
classmethod
from_buffer(buffer: bytes)¶
-
read¶
-
readv¶
-
rsegs¶
-
size= 32¶
-
struct_parser= <Struct object>¶
-
write¶
-
classmethod
-
class
StatXFRView(file_struct: Union[xrootdlib.structs.XrdXrootdMon.fstat.FileCLS, xrootdlib.structs.XrdXrootdMon.fstat.FileXFR])¶ Bases:
object-
read¶
-
readv¶
-
write¶
-
-
class
recFval¶ -
Record flags for the f stream
-
forced= 1¶ Disconnect prior to close
-
hasLFN= 1¶ XrdXroodMonFileLFN present
-
hasOPS= 2¶ XrdXroodMonFileOPS present
-
hasRW= 2¶ FileRecord opened for reads & writes
-
hasSID= 1¶ The sID member is present
-
hasSSQ= 4¶ XrdXroodMonFileSSQ present (implies
hasOPS)
-