How do I detect which process is stealing focus?

Every 5 minutes at :4 and :9, some process steals keyboard focus, and then gives it back to the application in the foreground.  This disrupts my work because it takes my cursor out of the text box I was typing in, and puts it in the browser generally, and I must re-click in the text box to get focus back.   It's maddening.
If I reboot my computer, it stops doing that for awhile, until I do some sort of activity which lights off this thing, but I don't know what it is. 
How can I use diagnostic tools to see which application is doing this?  I have access to "dtrace"  but not quite sure how to ask it for focus changes.  Are there other diagnostic tools that would do better? 
Here's what dtrace says right around the time it happened.   I was in Camino at the time. 
$ sudo dtrace -n 'syscall::open*:entry { printf("%s %s",execname,copyinstr(arg0)); }'
Coming up on it...
  1  17728                       open:entry Safari /Users/harpwolf/Library/Keychains/Microsoft_Intermediate_Certificates
  1  17728                       open:entry Safari /Users/harpwolf/Library/Application Support/Adobe/AIR/ELS/com.adobe.amp.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1/ PrivateEncryptedDatak
  1  18514              open_nocancel:entry DirectoryServic /etc/resolver
BOOM IT JUST DID IT NOW
  1  17728                       open:entry ATSServer /.vol/234881026/8073/Courier.dfont
OK it's over
Is that at all useful?  I checked seconds later, there is no process "17728" and that's not even near the number of the processes being handed out at the time.
$ ps -aef | grep 17728
  501 91064 91011   0   0:00.00 ttys001    0:00.00 grep 17728
Thank you for any possible help.  This is driving me nutz.

Gotcha.
Sep 15 20:55:55 mymac Firewall[40]: Deny nmblookup data in from 192.168.1.1:137 uid = 0 proto=17
Sep 15 20:56:25: --- last message repeated 2 times ---
Sep 15 21:01:55 mymac Firewall[40]: Deny nmblookup data in from 192.168.1.1:137 uid = 0 proto=17
Sep 15 21:02:25: --- last message repeated 2 times ---
Sep 15 21:07:55 mymac Firewall[40]: Deny nmblookup data in from 192.168.1.1:137 uid = 0 proto=17
Sep 15 21:08:25: --- last message repeated 2 times ---
Sep 15 21:13:55 mymac Firewall[40]: Deny nmblookup data in from 192.168.1.1:137 uid = 0 proto=17
Sep 15 21:14:25: --- last message repeated 2 times ---
Sep 15 21:19:55 mymac Firewall[40]: Deny nmblookup data in from 192.168.1.1:137 uid = 0 proto=17
Sep 15 21:20:25: --- last message repeated 2 times ---
Sep 15 21:25:55 mymac Firewall[40]: Deny nmblookup data in from 192.168.1.1:137 uid = 0 proto=17
Sep 15 21:26:25: --- last message repeated 2 times ---
Sep 15 21:31:55 mymac Firewall[40]: Deny nmblookup data in from 192.168.1.1:137 uid = 0 proto=17
Sep 15 21:32:25: --- last message repeated 2 times ---
Now, what on earth is it???

Similar Messages

  • How do I find out which application is stealing focus?

    I'm having problems with my Macbook Pro in which my active window keeps deselecting every 5-10 seconds or so, which is making even typing this question extremely difficult.
    I have figured out from searching the web that it is because of an application stealing focus. However, in all the boards that say how to fix this problem, none of them actually tell you how to identify which application is the one stealing focus.
    The most information I could find was to go to Applications > Utilities > Activity Monitor
    and to look for which application is stealing the focus, but it doesn't say WHERE to look.
    Do I look at CPU? Number of threads? Real memory? What?
    Here are my specs:
    - Mac OS X version 10.6.8
    - Processor: 2.3 GHz Intel Core i5
    - Memory: 4 GB 1333 MHz DDR3
    (Let me know if you need any additional info about the system.)
    How do I figure out which application is the one stealing focus? (If you could write it in painfully simple instructions, that would be fantastic).
    Thank-you in advance to any helpful answers!
    -Carly

    First, quit all applications, close all windows and reboot the Mac. Hold down the Shift key prior to the startup chime until it finishes starting. This is called a Safe Boot and causes the system to load only its components, no third party stuff and do other housekeeping tasks. Will take AWHILE, be patient. Run ONE Apple app at a time and see if the issue persists. If it does not, then you will have determined the system is OK and the issue is caused by a third party app. Now reboot normally and see if the issue reasserts itself.  Try this and holler back.
    Note: running Safe Boot in day-to-day use is unadvisable cause many apps require the use of their extensions and won't work correctly, if at all.

  • RE: activity monitor How do I decide which process to delete?

    The directions state to choose the process that uses the highest percentage of CPU to help determine which process to delete.  How can I know what is necessary and what is not?
    The article on runaway applications and battery power did not help me at all.
    Thank you!

    What directions?
    Don't kill any process unless you know what the effect will be when you do or you don't care if it happens to crash or hang when you do (because in that case you would know why).
    What exactly is the goal here or the reason to be trying this?
    Maybe you need more ram.  Check your Activity Monitor and read the folowing to help you determine that:
    Using Activity Monitor to read System Memory and determine how much RAM is being used
    Maybe you are having disk errors and need boot from your installer dvd to run Disk Utility to repair/verify your drive (not repair permissions).

  • How to know to which process chain a infopackage belongs to?

    Hi experts!
    I got the name of a infopacakage (also its technical name), but I would like to know to which process chain it belongs to,
    Does someone a quick way to know it?
    Thank you very much in advance!!

    Hi Raul,
    If you open the infopackage there is an option at the top 'process chain maint.'  Click this and it will give you the proces chain it belongs to.
    Thanks,
    Nick.

  • How do I detect which database type user is using?

    I am using the JDBC-ODBC bridge, and due to limitations of text driver (no getDate for example), I need to know how to read certain fields in. I need to know for any particular run which type of database the user specified.
    Does anyone have a simple way to know what type the database is?
    Thanks,
    Jenny

    When I see questions that want to know the particular environment, whether it be the platform running on, or the database type, or what-have-you, it is a red flag to me. I would suggest you code it with ANSI-standard SQL if at all possible to remove any such dependencies.

  • How does one detect flash movie (embed object) focus?

    If I use javascript to shift focus to the embedded flash
    movie object, for example with the following line of code:
    document.getElementById("myMovie").focus();
    Is there any location within actionscript that I can add an
    event listener to detect this shift in focus to the flash movie? I
    have tried attaching a "focusIn" event handler to the application
    container, to the the stage, and the systemManager, but none of
    them appear to work.
    Essentially I need to know what object within the application
    is receiving focus when I make this javascript call.

    Here's a tutorial for adding a referenced movie along with  instructions: #18 - Adding Movie/Video File to iWeb Page via Export for Web in Quicktime Player. 
    OT

  • How to identify which process Chain is Scheduled.

    Hi All,
    We have 20 Process Chains in our project.In SM37, i have checked the Scheduled Jobs in SM37 and found "BI_PROCESS_TRIGGER" job is triggered. How can i find which process Chain is scheduled out 20 Process Chains.
    Can i get the Process Chain Names from Tcode SM37.Or else, Do i need to check each process chain Start Time ?
    Pls suggest.
    Thanks,
    Jelina.

    Hi,
    Please refer
    /people/gianfranco.vallese/blog/2008/05/30/stop-boring-with-process-chain-monitoring-start-passive-monitoring
    https://wiki.sdn.sap.com/wiki/display/BI/Processchainscreationandmonitoring
    http://help.sap.com/saphelp_nw04/helpdata/en/39/2ade42fa712b78e10000000a155106/frameset.htm
    Hope this helps
    Regards
    Raj

  • How to detect which Anti Virus is installed?

    I want to know how can I detect which anti virus is installed on the system using C#?
    Jassim Rahma

    You can use WMI to query this information.  The code to do so would work like this:
    ManagementObjectSearcher searcher = new ManagementObjectSearcher(@"root\SecurityCenter2", "SELECT * FROM AntiVirusProduct");
    ManagementObjectCollection result = searcher.Get();
    if (result.Count > 0)
        foreach (ManagementObject item in result)
            Console.WriteLine("Your computer is protected by: {0}", item["displayName"]);
    else
        Console.WriteLine("Your computer is not protected!");
    Note that the location on that first line might be "root\SecurityCenter" on some systems.  It might be best to run this portion of code for both "root\SecurityCenter" and "root\SecurityCenter2".
    Coding Light - Illuminated Ideas and Algorithms in Software
    Coding Light Wiki • LinkedIn • ForumsBrowser

  • How can I determine which jobs are running on NT?

    Hello,
    How do I determine which processes are in execution on an NT box from a JAVA
    application? I figure it must involve runtime exec'ing some run32dll
    program, but which one?
    TIA

    Search microsoft.com, or MSDN. That isn't anything to do with Java Programming.

  • Command to know which process is doing huge paging

    Hi,
    I am using Oracle 10.2.0.2.0 on sun solaris 10.
    When I use OEM (Internet explorer version) it shows me that there is a huge paging going on.
    Also I have seen the vmstat output which is showing huge paging.
    For the time, I have stoped my oracle and restarted. Now from last two days, I am not seeing any problem of paging anymore.
    How can I know which process is responsible for that ?
    Can anyone help me to get a command to know which process is responsible for huge paging (for future) ?
    Thanks & Regards
    Arun Tayal

    hi,
    When OEM shows the problem try running the command 'top' from the unix prompt. From the list of processes look for all oracle ones and see which is consumming most resources. then run thw following script and input the PID and see what the sql script is
    --find out sql script from unix PID
    select sql_text
    from v$sqlarea a,
    v$process p, v$session s
    where p.spid = &process_id
    and p.addr = s.paddr
    and a.address = s.sql_address;
    hope this helps
    rgds
    Alan

  • How can I find the "process code" in a Service Notification

    Hi folks,
    In the Transaction IW52 I am trying to enter the values for "Fault code" and "sub-header". Now I need to know how to find out which "process code" is my notification is assigned to. This entry is needed in the tab object data in the section additional information when pressing in the field fault code.
    Thanks for your feedback
    Kami

    Kami,
    I'm guessing that you notification type is non-standard...
    Can you post images of the issue?
    PeteA

  • Which Process triggered a workflow

    Hi,
    New to WF so any help would be appreciated.
    I have a standard Oracle workflow which I need to adapt, the main logic will be to create a split decision based on which process actually called the Workflow.
    How do I know which process called the workflow?
    Thanks
    Scott

    Please ignore the above as the problem is not actually what I originally thought was happening. It turns out that any file which is updated through Oracle Drive does not trigger the BPEL workflow for the Upload Document workflow operation. The workflow that was being triggered for which I could not get details for was a temp file that was being created when browsing Oracle Drive before overwriting a file, the workflow could not get the temp files document details as the file was deleted before it could do so. Does anyone know a way of getting the workflow to be triggered upon the update of a file in Oracle Drive?
    Many Thanks
    Dave

  • STOP iTunes and iPhoto from stealing focus...

    I was curious if there is anyway to stop iTunes and iPhoto from stealing focus when I plug in my iPhone. I do not have pictures to sync, yet iPhoto still popos up. Not only that, when it finishes loading, it steals focus, so if I am working on something else, now all my mouse commands and keyboard stokes are all in iTunes.
    - Is there anyway to stop iTunes from stealing focus? To just have it pop-up in the background and bounce for all I care, just not steal focus.
    Thanks!

    I already have iTunes configured so it doesn't open up when I plug my iPod touch in. What I don't like is when it steals focus after it's done syncing. Programs on Windows are supposed to "play nice" and not steal focus. They can request focus and flash the taskbar button, but that's it. So, if anyone knows how to prevent iTunes on Windows from stealing focus, I'd really appreciate it.

  • How do I troubleshoot installation/distribution of a LabVIEW .exe which processes data using Matlab when it works on some computers but not others?

    I've been given the unenviable task of troubleshooting and installing/distributing software written by a former co-worker. I've modified the LabVIEW code and built an .exe file. I've successfully installed the Labview .exe file on several computers, but it won't work on some others. What's more baffling is that I installed it successfully on one computer, uninstalled it, and tried reinstalling it with no success. In fact, it's a new error (Dr. Watson for Windows NT application error). It doesn't help that I have different versions of LabVIEW and Matlab on the target computers. Some have LabVIEW 5.1, some
    have 5.0, and some don't have it at all. Some have Matlab 5.2, some have 5.3 (R11) and some have 6.0 (R12). It's also not clear to me where the Matlab m files should be located. I'm not sure if it's a LabVIEW Runtime Engine problem, or if it's a Matlab problem. I've also wondered how LabVIEW and Matlab talk to each other. When LabVIEW calls Matlab, it seems that Matlab is running in the background. In other words, clicking on the Matlab Command Window and typing "whos" or any other command/variable doesn't work.

    Jay del Rosario wrote:
    >
    > How do I troubleshoot installation/distribution of a LabVIEW .exe
    > which processes data using Matlab when it works on some computers but
    > not others?
    Poke around zone.ni.com and
    http://digital.natinst.com/public.nsf/$$Search/ .
    Good luck, Mark

  • How do you determine which programs or processes run following a reboot?

    How do you determine which programs or processes run following a reboot?  Also when you reboot Mac tries to reopen anything running before the reboot.  Is there any way to turn off that functionality?

    10.7 Lion
    dadpope wrote:
    How do you determine which programs or processes run following a reboot?
    Login items
    Follow the  instructions in this article.
    http://support.apple.com/kb/PH4333
    Also when you reboot Mac tries to reopen anything running before the reboot.  Is there any way to turn off that functionality?
    System Preferences > General
    Section: Number of recent items
    Uncheck the box for "Restore windows when quitting and re-opening apps".

Maybe you are looking for

  • Displaying the path of the file selected by a FileChooser in a TextField

    I'm just getting started with Swing. I developed a simple dialog box that has two text fields and two buttons. The objective is to open two files using those two buttons. I used FileChooser to select the files. Now, I want to display the path of the

  • What exactly are the cron scripts doing?

    Hi, Hope the subject says it all: I have searched but not found a detailed explanation as what the cron scripts (daily, weekly, monthly) actually do, and if the utilities (Onyx, Cocktail, Xupport, etc) are doing exactly the same. Can someone point to

  • Cannot find viewobject

    Hi, I've successfully imported my page to the server using the XMLImport command but I got an error when I tried to load my page. I could see the new page but with a CANNOT_FIND_VIEWOBJECT error. I cannot do anything with the page. So, how do I find

  • Modify Sales order line item Type

    Hey Guys, I was wondering if there is a way through the DI or UI that I can change the type of a line item in a sales order matrix. I can change it through the Business One client to sub total or text on a line item and add comments. Is it possible t

  • Can Firefox be configured to simulate Internet Explorer facility to never refresh a page

    This query was posted some time ago but no one replied. Surely someone has the answer ? IE8 gave 4 options when visiting web site. One was "Never update previously visited web page" which I found useful. Does Firefox 15 provide a similar set of optio