Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Program to track process locks

  1. #1
    Forum VIP
    Join Date
    Jul 2010
    Posts
    1,676
    Thanks
    25
    Thanked 329 Times in 305 Posts

    Default Program to track process locks

    My computer has been having an issue where I am having intermittent "Not Responding" messages across the board. Almost all programs (especially Firefox) will occasionally go non-responsive for several seconds, then wake back up. Opening the Task Manager seems to almost always immediately wake up all the process again.
    I've ran virus scans, diagnostics, computer cleaners, updated drivers and software, ect. No viruses, not even any warnings in the diagnostics, and I cleaned out a good deal of garbage using CCleaner. I have checked the system error logs, and no significant errors are occurring regularly.
    The problem has gotten better, but still exists. At this point, I would like to see if I can figure out what is going on when the issue occurs. To me, this looks similar to a process or thread locking issue, where some process is taking extraordinarily long to handle interruptions or to release control of the CPU. If I can figure out what process that is, maybe I can find a fix for it.
    So I wanted to know if anyone knew of any program which will allow me to watch which processes currently have control of the CPU, so I can figure out if there is some trend going on.
    Thanks in advance.
    NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Program to track process locks

    I don't have similar issues on my Linux machine, but when I want to see what's going on with a history of CPU usage, network traffic, and process activity, I use a System Monitor. I wasn't sure there was such a thing for Windows (that's what you're using, right?), so I did a quick search and found this:

    <http://lifehacker.com/5846468/the-best-system-monitor-for-windows>

    I don't know if it's applicable for your version of Windows or if there might be something better, but you should look.

    --- Update ---

    I don't have similar issues on my Linux machine, but when I want to see what's going on with a history of CPU usage, network traffic, and process activity, I use a System Monitor. I wasn't sure there was such a thing for Windows (that's what you're using, right?), so I did a quick search and found this:

    <http://lifehacker.com/5846468/the-best-system-monitor-for-windows>

    I don't know if it's applicable for your version of Windows or if there might be something better, but you should look.

  3. #3
    Forum VIP
    Join Date
    Jul 2010
    Posts
    1,676
    Thanks
    25
    Thanked 329 Times in 305 Posts

    Default Re: Program to track process locks

    Update on this: it was a bad sector.
    Repaired it and I have had no worries since.
    NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/

Similar Threads

  1. [SOLVED] Track Mouse Movements
    By mds1256 in forum AWT / Java Swing
    Replies: 2
    Last Post: November 22nd, 2013, 06:37 AM
  2. CountDownLatch, Semaphores and Reentrant Locks
    By sanchase in forum What's Wrong With My Code?
    Replies: 17
    Last Post: June 13th, 2013, 04:09 PM
  3. Pls Help with CountDownLatch, Semaphore and Locks
    By sanchase in forum What's Wrong With My Code?
    Replies: 0
    Last Post: June 13th, 2013, 10:18 AM
  4. [SOLVED] Keeping Track
    By Nuggets in forum Loops & Control Statements
    Replies: 2
    Last Post: April 15th, 2012, 05:37 PM
  5. keep track of objects
    By keep smiling in forum Java Theory & Questions
    Replies: 4
    Last Post: February 20th, 2012, 03:44 PM