Results 1 to 6 of 6

Thread: Api To Detect Whether The Windows System Is Hanged

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2001
    Location
    mumbai(india)
    Posts
    26

    Api To Detect Whether The Windows System Is Hanged

    DOES ANYONE HAVE AN IDEA WHETHER A PROGRAM USING API CAN DETECT WHETHER THE A COMPUTER SYSTEM HAVING WINDOWS OS IS HANGED OR NOT

  2. #2
    Matthew Gates
    Guest
    hanged?

  3. #3
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    If Windows was truly "hanged" I wouldn't think any code would be able to run???
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  4. #4
    Hyperactive Member
    Join Date
    Feb 2001
    Posts
    280
    Hi,

    We wished to automatically check if our webservers had hung - The way we did this was to have a workstation running a little monitor program (the coder in question used java - but vb would have equally been applicable) - For us, we formatted web requests and waited for a response (or a slowing down). Ater passing a certain tollerance (or no reply) the monitor pc performed some alarm process.

    This was to check for our IIS web services hanging (or the pc running them) - I guess it would be fairly easy to adapt this sort of thing for other uses...... etc.

    If the pc in question is stand-alone then I agree with the others - there is no solution... sorry

    cheers, ajp

  5. #5
    Fanatic Member Kings's Avatar
    Join Date
    Aug 2001
    Posts
    673
    yeah, like they say, you can't check if your computer hangs unless you have 2 computers, like jpritchard said.

    The only thing that would work when your computer hangs is the reset button
    K i n g s

  6. #6
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    I supposed on a LAN you could try pinging another computer, but how could you tell if it were hung or just turned off?
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width