Questions tagged [monitoring]
The monitoring tag has no summary.
80 questions
1 vote
0 answers
36 views
Detect screen change (resolution or monitor connection)
Is there a way to detect when a screen change happens in MacOS? Like when the resolution changes or when an external monitor is connected or disconnected? I need to call a script that I wrote every ...
1 vote
1 answer
252 views
How to see list of files accessed by app using Instruments in Xcode
I'm trying to see what files/folders a particular app accesses/modifies I have Xcode 15. I'm using its Instruments app (v. 15.2) I choose File > New > File activity. I choose select target, ...
2 votes
1 answer
223 views
macOS alternative for /sys/block/*/stat to get read and written sectors or bytes
I am searching for an alternative of Linux /sys/block/*/stat for macOS to get the number of sectors (or Bytes) read and written since system start for each drive. Native commands like iostat -I give ...
1 vote
1 answer
182 views
How to poll an app / process CPU utilization levels with fine granularity in Terminal?
I have a particularly problematic process in macOS that has a CPU utilization of 50-100% rather consistently. The process seems to have a somewhat high variability depending on several variables. ...
1 vote
2 answers
583 views
Automatically lock screen, but do not go to sleep, when lid is closed
In a similar, but not duplicate, vein to Listening to music with MacBooks lid closed, I'd like to be able to listen to music with my 2019 MacBook Pro's lid closed. But I can't accept the compromise of ...
0 votes
1 answer
1k views
Send a notification to my iPhone when a website's content changes
I would like to be notified quickly (ideally within an hour) if a certain website (that is not under my control) changes. Any changes to the HTML should trigger a notification. Since I am not always ...
2 votes
1 answer
1k views
Replace HardwareGrowler for hardware and system events notifications on MacOS?
I used HardwareGrowler for years to get notified about hardware and system events on my Macs. HardwareGrowler was initially provided as an extra with Growl, and was then proposed as a standalone app ...
0 votes
0 answers
106 views
How can I find out the command line of a process that changed a specific file?
I am trying to find out what process is modifying my /etc/sshd_config file. It happens due to a background process that runs based on periodic intervals or based on a trigger. What I want to see is ...