When troubleshooting computer problems its helpful to see what processes are running and check their memory usage to see if a program or process is using up all your memory. There are quite a few programs out there that have memory leaks, Firefox 2 had a this issue if you left it open too long. Normally you would open the Task manager highlight the offending process and click end process. ( I believe this only works in XP Pro but I’m not sure give it a try and let me know)

But sometimes the task manager won’t open because of a virus an administrator setting or another problem. Here’s a way to view or stop processes from the command line.

  1. Click Start > Run.
  2. In the Run dialog box type cmd to open a command prompt.
  3. At the command prompt type tasklist and hit enter.

Now you can see all your running processes. Find the offending one and note the PID number in the second column. them type tskill a space and the PID number and hit enter and the process will be stopped.

To see the service name also use the /svc switch. Below are more for you to try.

/m  [  ModuleName  ]  : Specifies to show module information for each process. When a module is specified, all the processes using that module are shown. When a module is not specified, all the processes for all the modules are shown. Cannot be used with the /svc or the /v parameter.

/svc   : Lists all the service information for each process without truncation. Valid when the /fo parameter is set to TABLE. Cannot be used with the /m or the /v parameter.

/v   : Specifies that verbose task information be displayed in the output. Cannot be used with the /svc or the /m parameter.

/? : Displays help at the command prompt.

/s    Computer    : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer.

/u   Domain User   : Runs the command with the account permissions of the user specified by User or DomainUser. The default is the permissions of the current logged on user on the computer issuing the command.

/p   Password   : Specifies the password of the user account that is specified in the /u parameter.

/fo { TABLE | LIST | CSV } : Specifies the format to use for the output. Valid values are TABLE, LIST, and CSV. The default format for output is TABLE.

If you like this post then consider subscribing to our full RSS feed. You can also subscribe by Email and have new posts sent directly to your inbox.

Copyright© Kevinscrate.comblog. All Rights Reserved.

Related Posts: