Clemens Kolbitsch wrote:
> Hi!
> I'd like to detect if the client OS crashes... right now, only for
> linux, but windows systems will become interesting for me as well in
> the future...
>
> Is there an easy way of detecting if a BSOD or a kernel oops
> happened?? Maybe that'd be possible by checking if the IP is inside a
> certain range (I could find that location, I think... it does not have
> to be working generically... for specific client OS would be
> sufficient)!!

You could try checking whether the hlt instruction (on x86) was executed
with interrupts disabled.


-- 
Do not meddle in the internals of kernels, for they are subtle and quick to 
panic.



Reply via email to