There's a weird, unknown program making a random noise at a specific time. I could probably find the program through trial and error and watching acti ve processes. But it got me thinking, If I wanted to find out when a specific output such as audio out or a printer port were utilized, what tools could I use?
Any resources would be appreciated or tool ideas. Thanks in advance.
--Macs
Any resources would be appreciated or tool ideas. Thanks in advance.
--Macs
-
Re: Monitoring Tools for Audio
Thu, April 5, 2007 - 5:14 PMHmmm. I don't know for sure, but you might be able to use lsof to see what process is utilizing the audio dev file.
-
Re: Monitoring Tools for Audio
Sat, June 23, 2007 - 10:08 PMIts being at a specific time would seem to be a hint. Is there a cron job running at that time? Lsof might work, but there is no /dev/audio to point it to... at least on my mac.
You could run activity monitor (in your /Applications/Utilities folder) and sort by %CPU. Shut down as many programs as you can prior to the time the sound occurs. Activity monitor itself is likely to be the top user of CPU time. Then watch its main window when the sound occurs and see what program is using CPU time.
You can do about the same thing using the 'top' program in Terminal; however, Activity Monitor is a nicer display in my opinion. Be sure to select "All Processes" in the "Show" menu at the top.