xrdpfc_print(8)
π xrdpfc_print β the manual, but make it make sense β¨
okay bestie, welcome to xrdpfc_print(8), straight out of the System Manager's Manual π. She lives in section 8 (sysadmin girlies rise up), and she's here to spill the tea on your cache. Let's get into it π
πΈ NAME πΈ
xrdpfc_print β prints out the contents of XRootd ProxyFileCache meta data. that's it, that's the girl π«Ά
β¨ SYNOPSIS β¨
xrdpfc_print [options] path ...
options: [-config file] [-unit B|kB|MB] [-json] [-indent chars] [-verbose] [-help]
so you give her some paths and however many options you feel like, and she does her thing. simple. iconic. no notes. π
π¦ DESCRIPTION π¦
xrdpfc_print prints the status of downloaded file blocks and the access statistics of your cached files. so basically it's the group chat screenshots of your cache β everything that's been happening, all receipts, laid bare. π₯
π OPTIONS π
-c|-config<file-name>β the Xrootd configuration file, bestie. she uses it to load a non-default file system (that's theofs.osslibdirective) plus the prefix for where your cached files live (theoss.localrootdirective). π-v|-verboseβ prints the state bit for every single file block. all of them. she is thorough and she is not sorry. π-u|-unit<B|kB|MB>β picks the unit for file-size and access byte-counts. the buffer/block size gets printed at most askB. heads up: forkBandMB, she rounds downward (rounding down is a vibe, honestly).kBis the default. π
π¨ not-me-raising-my-hand moment: this option does NOT apply to JSON output β over there the unit is always B. periodt.
-j|-jsonβ prints the output in JSON format. for when your other scripts want to read the tea too. π§-i|-indent<int>β sets the alignment for JSON format. default is-1, which means single line with zero white-space β one long queen, no breaths in between. π-h|-helpβ displays usage information. she's helpful like that. π
π OPERANDS π
pathβ the path to acinfofile or directory that you want the info printed for. it can be relative or absolute, she does not care, she is flexible. BUT: if the path starts withroot:/then it's assumed to be an LFN and gets translated through the standard OSS rules β at minimum it gets prefixed by theoss.localroot. in that case the-configoption is mandatory. mandatory mandatory. don't test her. π
π NOTES π
docs for all the components that hang out with xrdpfc_print live at https://xrootd.org/docs.html. go read them, they're right there, free of charge. π
π©Ί DIAGNOSTICS π©Ί
errors give you an error message and a non-zero exit status. so if your script blew up, that's why. it's giving "not a bug, a message." π
βοΈ LICENSE βοΈ
you can see the license terms by typing "xrootd -H". that's it. that's the whole line. go type it. πΈ
π SUPPORT LEVEL π
xrdpfc_print is supported by the xrootd collaboration. you can find their contact info at https://xrootd.org/contact.html. they're the main characters, honestly. π
okay that's the whole page, bestie β we did it π«Ά this was xrdpfc_print(8) in version v6.2.0, and yes it's the same girl from the top of the page, we just ended up right back where we started like a little time loop π¦β¨ mwah, go print some cache metadata ππΈπ
π¦ where this page comes from
- epel 10: xrootd-server 1:6.2.0-2.el10_3 Β· LGPL-3.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND curl AND MIT AND Zlib AND Apache-2.0 AND MPL-2.0
- fedora 44: xrootd-server 1:6.2.0-2.fc44 Β· LGPL-3.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND curl AND MIT AND Zlib AND Apache-2.0 AND MPL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms