Clean up the dead process of Teamcenter

Problem:
Due to abnormal closing of applications, etc., there are dead processes in the background of Teamcenter. These processes occupy system resources, and the system may become slower. If the process takes up too much, it may even cause the new user to be unable to log in.
Solution:

Start a Teamcenter environment window
(set the TC_ROOT, TC_DATA environment variables to the correct directory, and then execute %TC_DATA%\tc_profilevars).
Executing clearlocks -verbose
system will prompt the total number of processes and the number of each type of process.
Processes: 6, Alive: 0, Dead: 6, Remote: 0, Other: 0
Dead processes will be processed.
The result of the execution again is as follows:
Processes: 0, Alive: 0, Dead: 0, Remote: 0, Other: 0
Suggestion:
Do a timing task to clean up dead processes.
The content of the batch is roughly as follows:
set TC_ROOT=<TC installation directory>
set TC_DATA=<TCDATA directory>
call %TC_DATA%\tc_profilevars
clearlocks -verbose

Control the frequency of execution by yourself, try not to do it during working hours. For example, set to 6 o'clock in the morning, (12:30 noon), and 8 o'clock in the evening.

Guess you like

Origin blog.51cto.com/14905464/2562771