How to use “kill” command in Windows

Source : http://seer.support.veritas.com/docs/253904.htm

 

Details:

This scenario can most frequently be seen when a job is canceled and it stays in a running state. At this point, it is common for the Backup Exec ™ services to not respond when an attempt is made to stop them.
Windows 2000
To terminate each process at the thread, the kill command can be used. This command is not installed by default with the operating system, but is included on the Windows 2000 CD-ROM in the Support Tools install.
To install the Windows 2000 Support Tools, do the following:
1. Place the Windows 2000 CD-ROM in the Backup Exec media server
2. Using Windows Explorer, locate and double-click the CD-ROM:\Support\Tools\setup.exe file (Figure 1)
Figure 1
clip_image001
3. Click Next
4. Type the appropriate names in the Names and Organizations boxes, and click Next
5. Select Typical, and then click Next (Figure 2)
Figure 2
clip_image002
6. Click Next, and then click Finish on completion
To use the kill command to stop the Backup Exec services, do the following:
1. Click Start | Run, and then type cmd and press <Enter>
2. At the command prompt, type kill benetns.exe. This will stop the Backup Exec Agent browser service (Figure 3).
Figure 3
clip_image003
3. Repeat steps 2 and 3 for each of the Backup Exec services. The process name will be different for each service. The easiest way to find out their names is to look at the Path to Executable field in the properties of each service. After all Backup Exec services are stopped, they can be restarted to continue using or troubleshooting Backup Exec.
Windows 2003
In Windows 2003,  use the taskkill command to stop the Backup Exec services. Do the following:
1. Click Start | Run, and then type cmd and press <Enter>
2. At the command prompt, type  tasklist to list all the processes running. Then find the process IDs (PIDs) for the Backup Exec services. Refer Figure 4 for the same.
Figure 4
clip_image004
3. At the command prompt, type taskkill /pid /f. This will stop the Backup Exec Agent browser service (Figure 5).
Figure 5
clip_image005
4.  Repeat steps 1, 2, and 3 for each of the Backup Exec services. The process ID  will be different for each service. After all Backup Exec services are stopped, they can be restarted to continue using or troubleshooting Backup Exec.
Additional References:
1.  For the Kill Command:
Microsoft Knowledge Base Article – 197155

How to Kill an Orphaned Process:

http://support.microsoft.com/default.aspx?scid=kb;en-us;197155&Product=win2000

2.  For the Taskkill Command:
How to use the Taskkill command:
http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/taskkill.asp

Advertisements

답글 남기기

아래 항목을 채우거나 오른쪽 아이콘 중 하나를 클릭하여 로그 인 하세요:

WordPress.com 로고

WordPress.com의 계정을 사용하여 댓글을 남깁니다. 로그아웃 / 변경 )

Twitter 사진

Twitter의 계정을 사용하여 댓글을 남깁니다. 로그아웃 / 변경 )

Facebook 사진

Facebook의 계정을 사용하여 댓글을 남깁니다. 로그아웃 / 변경 )

Google+ photo

Google+의 계정을 사용하여 댓글을 남깁니다. 로그아웃 / 변경 )

%s에 연결하는 중