Print

Print


This is for g-stream PFC file_close record; there are no newlines in actual stream.

https://github.com/xrootd/xrootd/blob/master/src/XrdPfc/XrdPfc.cc#L643

```
{
"event":"file_close", -- hardcoded event type for record emitted at file_close time
"lfn": "%s",          -- LFN of the file
"size":%lld,          -- file size [bytes]
"blk_size":%d,        -- block size used by cache [bytes]
"n_blks":%d,          -- total number of blocks 
"n_blks_done":%d,     -- number of blocks already downloaded / in cache
"access_cnt":%lu,     -- number of IO objects that were attached to the file during the time the file was opened
"attach_t":%lld,      -- epoch when the first IO object was attached / file was opened at the cache
"detach_t":%lld,      -- epoch when the last IO object was detached
"remotes":%s,         -- list of remote origins where the file was read from during the time the file was opened
"b_hit":%lld,         -- bytes served from the cache (disk or RAM) [bytes]
"b_miss":%lld,        -- bytes served that had to be fetched from the remote [bytes]
"b_bypass":%lld,      -- bytes served in bypass mode, read from remote but not written into cache [bytes]
"n_cks_errs":%d       -- number of checksum errors reported by the XrdCl during remote reads.
}
```

Note that OSG shoveler renames some of the fields and changes time to doubles with milisecond precision (I think).


-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1771#issuecomment-1261458495
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1