Closed jasam-sheja closed 3 months ago
kill -SIGINT [PID]
find process id's with this command ts -l
The ts -l
command shows the job list but none of the columns show the PID!
Currently, I'm using nvidia-smi
to pinpoint the PID, but it'd be nicer to do it from ts
.
I believe you can get the PID using ts -p
Thanks. This is new! Now I can call kill -s SIGINT $(ts -p [id])
Closing ...
Is there a way to send SIGINT to one of the running processes, like using
ts -k [id]
to send SIGTERM?