Solved

Why an operating system crush

Posted on 2007-03-28
5
239 Views
Last Modified: 2013-12-10
Hi,

I want to learn some aspects of a operating system and CPUs? Like...

** Why an operating system hang on by a program crush? I think that there must be always a way of terminating a client program, but it does not.
** What is the signal of that I computer really stuck and nothing to do except to restart?
** What is going on when a CPU is Idle, or why usually the Idle Process is the highest cpu time on task manager process list :)

You see I have some question and more could be comes, give me some clear image of understanding about OS and mostly Microsoft centered explanation?

Thanks.



0
Comment
Question by:karanba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 4

Expert Comment

by:programmer1024
ID: 18814106
1) On Windows 2000 and later, you can terminate programs and processes in the Task Manager.

2) You can't do anything and anything you have clicked on does not appear.

3) The CPU constantly running when it is "idle." It constantly checks for user actions and program/process instructions in the message queue.

Hope this helps.
0
 

Author Comment

by:karanba
ID: 18814293
Please make some more qualified answers, point reference for future reading, give me the clues that no one easily reach :). I am a web programmer, that meeans I know Taks manager terminates but sometimes it does not,  do not be afraid that it will be to technical.  ;)

0
 
LVL 8

Expert Comment

by:b0fh
ID: 18814905
If you cannot terminate an application in Task Manager, right-click and select Go To Process.  Then, right-click the process and you can terminate either the specific process or it's entire tree.  

You cannot always terminate processes via Task Manager b/c they may be protected.  In such a case, even an administrator does not always have enough privileges to terminate such a process.  There are ways around this, but they are not advised.  This is generally for a good reason.  (Try terminating all instances of lsass.exe and watch your machine tell you that it will restart in 30 seconds).  


If you hit CTRL-ALT-DEL and get no response, you're probably hosed --  unless of course, the keyboard is just not responding -- check by opening/interacting with an application using the mouse.  There is not necessarily any "Gold Standard" for rebooting a machine -- when you are no longer able to get it to respond, it is time to consider a reboot.


System Idle Process is a counter that exists so that you can easily tell what % of the time the CPU is NOT BUSY (rather than adding all active processes' CPU time together).


If you desire answers w/ more detail, please ask more detailed questions  :-)
0
 

Author Comment

by:karanba
ID: 18821760
Thanks b0fh, here questions.  

How cpu time can be calculated? I mean it is an ratio over on a time interval that which process get busy the cpu, count how many cycle and calculate then?

Can we watch what an process what it really do? Like, we know the process id and want to see if it do I/O to hard disk, or use network to get data, or interacting with a local program, when does it start, does have a parent process or has child process,.. and so on.

Is there a way that a process can hide itself  from task manager.

How many individual process can be run on a single cpu?

thanks



0
 
LVL 8

Accepted Solution

by:
b0fh earned 500 total points
ID: 18823088
Check out SysInternals (now part of Microsoft) tools, they can help you.      http://www.microsoft.com/technet/sysinternals/default.mspx

I would look at regmon, filemon, and portmon.  They will tell you what files, registry keys, and ports that processes are using.

Yes, a process can hide itself from task manager.  Check out Rootkit Revealer (again from SysInternals) and its related documentation for more information on how this is done.

Calculating CPU time... for a specific process is done for you in Task Manager.  Use Performance Monitor (start, run, perfmon.exe) and add Processor performance counters to trend overall CPU performance in a number of ways.

# of processes per single CPU -- really depends on what each process is doing... it only takes one bad apple to spoil the bunch.

I hope this answers everything.
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question