Hi Jinsuk,
When you start a Transaction Trace session with CLW or normal UI Workstation you have to define the duration of that session per the command syntax: CLW Command Reference - CA Application Performance Management - 10.7 - CA Technologies Documentation
I believe this is deliberate design to provide TT session control and avoid having TT sessions with unlimited length because if TT sessions are overused they can impact performance.
I hope that makes sense.
Regards,
Lynn
NOTE:
After further research Support have confirmed that it is not possible to stop a transaction trace session that has been started with the CLW before the session duration time has elapsed. Therefore we suggest to exercise caution with the length of duration times used when running transaction traces from CLW. Also particularly when running CLW in a scripted format where the command could be issued easily many times, as this could easily lead to a large volume of trace processing which will increase performance overhead on all parts of the product.
A new KB article has also been published with more extensive details:
"Can I stop a transaction trace session started by the CA APM Command Line Workstation (CLW)?"
https://comm.support.ca.com/kb/can-i-stop-a-transaction-trace-session-started-by-commandline-workstation/KB00006726