What apps are doing I/O on external disks
I am running Mohave 10.14.6 on a Mac Mini. At times, I see the I/O lights flashing excessively on my G Drive disks. I know that I can tell if MacOS is indexing those disks by using Spotlight, but when Spotlight does not show indexing, I don't know how to determine what is causing all the I/O. I have explored Activity Monitor but that does not specify which disks are being accessed.
Is there a Bash UNIX command or shell script that will display which apps or processes are accessing specific disks?
Mac mini, macOS 10.14