rbh-report(1)
π 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 optionalclass_exprparam 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 onstatus_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 optionalusernameto get stats about a single user only π«Ά--group-info[=groupname],-g groupnameβ group statistics. optionalgroupnamenarrows 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--reverseoption 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 expecteddate_timeformat isyyyymmddHHMM[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 givenpath.-C class_expr,--filter-class class_exprβ only report entries in the matching fileclasses.--count-min cntβ display onlytopuser/userinfowith at leastcntentries.
π 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-rangerange:
<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
- opensuse-leap 16.0: robinhood-tools 3.1.7-bp160.1.12 Β· CECILL-C
- opensuse-leap 16.0: robinhood-tools 3.1.7-bp160.1.12 Β· CECILL-C
- opensuse-leap 16.0: robinhood-tools 3.1.7-bp160.1.12 Β· CECILL-C
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms