rbh-report(1)

πŸ“¦ version 3.1.7, in opensuse-leap 16.0

πŸ’… rbh-report(1) β€” the querying command for the robinhood policy engine

okay bestie so this is rbh-report, the querying command for the robinhood policy engine, from the Robinhood 3.0 era. it's literally your little gossip sesh with the filesystem β€” you ask, it spills. ✨


🌈 SYNOPSIS

  rbh-report [options]

that's it. no positional args, just vibes and flags. 🫢


✨ AVAILABLE STATS ✨

the whole menu of tea you can ask for, one at a time:

  • --activity, -a β€” spill the stats about daemon activity. what's it been up to? πŸ‘€
  • --fs-info, -i β€” statistics about filesystem contents. the classic.
  • --class-info[=class_expr] β€” a Fileclasses summary. you can pass the optional class_expr param to only get stats about the matching fileclasses πŸŽ€
  • --status-info status_name[:status_value] β€” a status summary for the policy or status name you give it. optionally filter on status_value, iykyk.
  • --entry-info path|id, -e path|id β€” literally everything about the given entry. main character treatment for one file.
  • --user-info[=username], -u username β€” user statistics. pass the optional username to get stats about a single user only 🫢
  • --group-info[=groupname], -g groupname β€” group statistics. optional groupname narrows it to one group.
  • --top-dirs[=cnt], -d cnt β€” the largest directories. the optional argument is how many dirs you get back (default: 20).
  • --top-size[=cnt], -s cnt β€” the largest files. optional argument = how many files come back (default: 20).
  • --top-users[=cnt], -U cnt β€” top disk space consumers 🍽️. optional argument = how many users come back (default: 20).
  • --oldest-files[=cnt], -o cnt β€” the oldest files in the filesystem, ordered by access time. optional argument = how many entries to display (default: 20). Tip: use the --reverse option to display the newest files instead. iconic lil flip. πŸ”„
  • --oldest-empty-dirs[=cnt], -O cnt β€” the oldest empty directories, ordered by modification time. optional argument = how many dirs come back (default: 20).
  • --deferred-rm, -R β€” shows the files that are going to be removed from HSM.
  • --dump, -D β€” dumps all the filesystem entries. absolutely unhinged amount of output, no cap.
  • --dump-user username β€” dumps all entries for the given user.
  • --dump-group groupname β€” dumps all entries for the given group.
  • --dump-ost ost_index|ost_set β€” dumps all entries on the given OST or set of OSTs (e.g. 3,5-8).
  • --dump-status status_name:status_value β€” dumps all entries with the given status (e.g. lhsm_status:released).

πŸ•°οΈ MAINTENANCE SCHEDULING πŸ•°οΈ

your calendar-girl era:

  • --next-maintenance[=date_time] β€” set/display the time of the next maintenance. the expected date_time format is yyyymmddHHMM[SS] ⏰
  • --cancel-maintenance β€” cancel the next scheduled maintenance. ghosting the maintenance window fr fr πŸ’€

πŸ¦‹ FILTER OPTIONS πŸ¦‹

these filters can be specified for reports:

  • -P path, --filter-path path β€” only display the report for objects in the given path.
  • -C class_expr, --filter-class class_expr β€” only report entries in the matching fileclasses.
  • --count-min cnt β€” display only topuser/userinfo with at least cnt entries.

πŸ“ ACCOUNTING REPORT OPTIONS πŸ“

  • --size-profile, --szprof β€” display size profile statistics.
  • --by-count β€” sort by count.
  • --by-avgsize β€” sort by average file size.
  • --by-size-ratio range, --by-szratio range β€” sort on the ratio of files in the given size-range range:
<val><sep><val>-   or   <val><sep><val-1>   or   <val><sep>inf

where <val> is one of 0, 1, 32, 1K, 32K, 1M, 32M, 1G, 32G, 1T, and <sep> is ~ or ... e.g: 1G..inf, 1..1K-, 0..31M ✨

  • --reverse β€” reverse the sort order. flip it and reverse it πŸ”„
  • -S, --split-user-groups β€” display the report by user AND group. both. at once. πŸ’…
  • -F, --force-no-acct β€” generate the report without using the accounting table. heads up: this is slower 😭

πŸŽ€ CONFIG FILE OPTIONS πŸŽ€

  • -f cfg_file, --config-file=cfg_file β€” path to the configuration file (or a short name).

🌸 OUTPUT FORMAT OPTIONS 🌸

  • -c, --csv β€” output stats in a csv-like format, for parsing πŸ€–
  • -q, --no-header β€” don't display column headers/footers. clean, minimal, aesthetic.

🧚 MISCELLANEOUS OPTIONS 🧚

  • -l loglevel, --log-level=loglevel β€” force the log verbosity level (this overrides the configuration value). allowed values: CRIT, MAJOR, EVENT, VERB, DEBUG, FULL.
  • -h, --help β€” display a short help about command line options. your safe space 🫢
  • -V, --version β€” display version info.

πŸ‘‘ SEE ALSO πŸ‘‘

robinhood(1), rbh-find(1), rbh-du(1), rbh-diff(1) β€” go read the whole friend group, they all slay πŸ’œ


and that's the whole page, bestie β€” written up from the Robinhood 3.0 rbh-report(1) manual page, dated 07 July 2016. vintage but still eating. πŸŽ€βœ¨

πŸ“¦ where this page comes from