[Info-vax] Is there the equivalent of $ MONITOR PROCESS/TOPD on other OSes?
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Thu May 25 15:37:34 EDT 2023
On 2023-05-25 18:24:28 +0000, alanfe... at gmail.com said:
> On my Mac, sometimes one of the external Time Machine drives just
> starts making noise non-stop. I have to dismount and power-cycle it.
> But I wonder what process is writing to it or reading from it. The
> macOS Activity Monitor doesn't have it. And I don't think the Unix
> 'top' command has it either. Not that I could find, anyway.
If Activity Monitor app (network, disk) and top don't get you where you
want here, then iostat and fs_usage might be useful analogs. See man
for details.
Other potential add-on options for monitoring macOS and some other
platforms are Glances (https://github.com/nicolargo/glances) and htop.
Xcode Instruments is built atop DTrace framework, if you wanted to go
that way. With Xcode installed, launch Instruments and select Activity
Monitor, or such.
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list