I'm looking for a tool which will list open files sorted by amount of activity in the file. So
lsof does not do the job (unless I'm overlooking a way to use
lsof). Ideally, the tool should work like
top, and one should be able to switch between specific activity for sorting: reads, writes, bytes, seeks per second. Preferably, it should be readily available in RHEL/CentOS/EPEL.
Does such a tool exist?
bcc-tools, which is only available with 7.6 RHEL release and clones. I think it does not provide exactly the features you are looking for. This RHEL arcticle might also be interesting.
findcommand running on a huge tree
atop, which is usually readily available in software repositories. It is a top-like tool that can show disk utilization per process/thread, see atoptool.nl. It doesn't show per-file utilization AFAIK though.