Windows task manager

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Our employees see a very slow performance on their computers suddenly. From
the time they email the help desk to the time we reach for their assistance,
computers tend to start working normally. We would like to get the state
information of the computer every 5 seconds since the computer slowed down
till it reached the normal state.

Is there a way to make Windows task manager to dump all its values to a
file? I mean all the processes names, cpu usage, and all other information
that I can view from the windows task manager.

Please advice if there is any other way out?

Thank you
Vamshee
 
Open a Command Prompt window and enter TASKLIST /? Once you've determined the command line parameters you wish to use, use TASKLIST (parameters) > C:\Temp\TaskMgrLog.txt to output the display to a text file.
 
Thanks for the information, Doug. The information you provided solves my
problems partially. Is there any similar way to get the information about CPU
usage for each task listed.

Similarly I would appreciate if you can help get the information under the
Performance and Networking tabs.

Thank you.
Vamshee
 
Thanks David for the information. I tried in your direction for some time.
Though your direction seems more logical I didnt know how to proceed further.

Would you please point me to some examples?
Thank you
Vamshee
 
Trace logs run if an event occurs (eg CPU>80% then monitor disk reads). Counter logs run every x secs.

There should be a sample counter log that you can play around with (though can't save). You add/remove individual counters from that log. When you add (or properties on an existing counter) you get to specify the machine.

So r/c and choose New Log Settings

It sounds like you want the Process object. Make sure the username/password is correct. Help is available in Performance.
 
Unfortunately, not as a percentage. Just the amount of time the process has been running, from the command line options.
 
Thanks for the information, Doug.

Now that I am able to get the information about all the process, cpu usage
etc. How do I retrieve the applications running on my computer using the
script. I checked all the properties of the win32_process but didnt find any
such information.

Even the tasklist command tends to retrieve all the processes running on the
computer and lists them only with the processes names. Is there any way to
get the application names running on the machine at that time (similar to the
applications in the task manager).

Thank you
Vamshee
 
The process name is the same as you would see in the Processes tab of Task Manager. There are a lot of "services" and background programs that are listed there, but will never show up in the Applications tab. You'll just have to manually locate the EXE file for each "process" and identify what application it acutally is.
 
Doug, Let me explain you my complete issue.

We use services of a company, say A, using IE. Our computers are slowing or
hanging when we use their service. So far we have not identified any reason
why it happens. The company A, says the fault is on our end.

But we never had such scenarios before. So we would like to have the list of
all applications in the computer when the computer starts slowing down.

Example: Lets say one of our user machine is responding slowly. He might
have 3 IE windows open. From the processes list we can get that 3
iexplore.exe files are running with no information if the user is accessing
this Company A website or not.

So I am not only looking for the list of all processes running, but I also
need to get the list of all applications currently running. The information
in the Application tab in the windows task manager will be one that will
truely help me.

Any help in this regard will be appreciated.
Happy Thanksgiving.
 
Have you checked the Event Viewer for possible errors when you perform this
function. Perform the activity and once complete and they system is again
normal, open Control Panel, open Administrative Tools, open Event Viewer, go
to the various tabs looking for errors that correspond to when you perform
this activity. If you find any, double click, the information contained
within may give a clue as to the source of the problem.

While this only seems to happen when you are involved in the selected
activity it may be symptomatic of something else. To play safe, you might
want to run a virus scan on these system first making sure your antivirus
definitions are up to date. Also, check for any possible malware on your
system, download, install and run Ad Aware:
www.lavasoftusa.com
 
I will have to do it on around 80 machines. I dont want to do it manually on
each machine. There no such errors on the event viewer. And this problem is
not due to any Virus, Spyware or Adware.

I need the information about all the applications running and status
information (the same as in Windows task manager) using script.

Thank you.
 
Back
Top