Jump to content

Search the Community

Showing results for tags 'cpu time'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. I have a Terminal Server running a company app. Every now and then one of the instances of the app crashes but keeps running. When this happens the roque program will hog the CPU and other users will start to complain about the server being slow (especially when doing big queries). In the past I have tried several ways to "kill" the roque program, like taskmanager, using taskkill, using PsKill, using other 3rd party program killers, but to no avail. The only way to get rid of the roque program is to restart the server, however because the server is use almost 24/7, I do not want to restart it every day. At the moment, when we determine a roque program, a tasksheduler is turned on to reboot the server after the nightshift, but about 30 minutes before the morning shift starts. One way to determine a program has gone roque, is to check out the "CPU Time" on the WIndows Task Manager. This is the total time a program/process has used the CPU. For most programs this only a few minutes, but definetely less than 1 hour during 24 hours. I would like to find out the CPU (used) Time of all running programs (processes), to determine if there are programs which have used more then 1 hour CPU Time. Whenever I could programatically determine a roque program in progress, I want to shedule a morning restart of the server. My main problem is, I have not find a way to determine the "CPU Time" (see screenshot). I have search the forum, tries several scripts and snippets to no avail. So any help to determine this "CPU Time" for the running processes would be much appreciated!
×
×
  • Create New...