pelican-server cache introspect list
List cached objects
Synopsis
List objects currently in the cache, optionally filtered by a glob pattern.
The pattern is matched against the source URL of each cached object. Standard glob syntax is supported: * matches any sequence of non-/ characters, ** matches everything including slashes, and ? matches a single character.
If no pattern is given, all objects are listed.
Warning: For large caches, this may return many results. Use —limit to restrict the number of entries returned.
Examples: pelican cache introspect list pelican cache introspect list ‘/chtc/staging/**’ pelican cache introspect list ‘.bin’ pelican cache introspect list —limit=50 ‘pelican://origin.example.com/data/‘
pelican-server cache introspect list [pattern] [flags]Options
-h, --help help for list
--limit int Maximum number of objects to list (default 100)
-w, --wide Never truncate URLs or ETags in table outputOptions inherited from parent commands
--cache-dir string Override cache directory (default: from config)
--config string config file (default is $HOME/.config/pelican/pelican.yaml)
-d, --debug Enable debug log messages
-f, --federation string Pelican federation to utilize
--json Output in JSON format
-L, --log string Specified log output file
--offline Force offline mode (direct database access). By default, if the cache is running, queries go to the live service.
-t, --token string Path to admin token file (online mode only; auto-generated if not provided)
--version Print the version and exitSEE ALSO
- pelican-server cache introspect - Introspect the cache’s persistent database