Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

xrootd/xrdcl-record

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

XrdClRecorder Plugin

This XRootD Client Plugin can be used to record all user's actions on XrdCl::File object and store them into a csv file. Afterwards, using the xrdreplay utily the actions can be replayed preserving the original timing. The output file can be provided either using XRD_RECORDERPATH environment variable or the output key in the plug-in configuration file (the enviroment variable takes precedence). If neither is provided the recorded actions will be stored at a default location: /tmp/xrdrecord.csv.

Config file format:

recorder.conf:

url = *
lib = /home/simonm/git/xrootd-xrdreply/build/src/libXrdClRecorder-5.so
enable = true
output = /tmp/out.csv # optional

In order to replay either do:

xrdreplay /tmp/out.csv

or

cat /tmp/out.csv | xrdreplay

About

This plugin is part of XRootD 5.x.

Resources

License

BSD-3-Clause, BSD-3-Clause licenses found

Licenses found

BSD-3-Clause
LICENSE
BSD-3-Clause
COPYING

Stars

Watchers

Forks