Skip to main content
added 27 characters in body
Source Link
user366312
  • 429
  • 1
  • 6
  • 15

I have run multiple ANN training processes under multiple screen sessions. When I enter a screen, I see a training process running.

Now, I want to kill a specific process inside the screen without killing the screen.

I can press CTRL + C. But, that produces some unwanted garbage text on the screen.

How can I do it cleanly?

If I try to kill the process using the process-ID, I become confused. For me, it is impossible to recognize individual processes. Coz, they are running files with the same file names.

How to do that?

N.B. I am using TensorFlow and Keras.

N.B.#2, I am using SSH.

I have run multiple ANN training processes under multiple screen sessions. When I enter a screen, I see a training process running.

Now, I want to kill a specific process inside the screen without killing the screen.

I can press CTRL + C. But, that produces some unwanted garbage text on the screen.

How can I do it cleanly?

If I try to kill the process using the process-ID, I become confused. For me, it is impossible to recognize individual processes. Coz, they are running files with the same file names.

How to do that?

N.B. I am using TensorFlow and Keras.

I have run multiple ANN training processes under multiple screen sessions. When I enter a screen, I see a training process running.

Now, I want to kill a specific process inside the screen without killing the screen.

I can press CTRL + C. But, that produces some unwanted garbage text on the screen.

How can I do it cleanly?

If I try to kill the process using the process-ID, I become confused. For me, it is impossible to recognize individual processes. Coz, they are running files with the same file names.

How to do that?

N.B. I am using TensorFlow and Keras.

N.B.#2, I am using SSH.

expanded the title a bit
Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 264

How can I kill a specific process running inside a screen session, without killing that screen session?

Source Link
user366312
  • 429
  • 1
  • 6
  • 15

How can I kill a process?

I have run multiple ANN training processes under multiple screen sessions. When I enter a screen, I see a training process running.

Now, I want to kill a specific process inside the screen without killing the screen.

I can press CTRL + C. But, that produces some unwanted garbage text on the screen.

How can I do it cleanly?

If I try to kill the process using the process-ID, I become confused. For me, it is impossible to recognize individual processes. Coz, they are running files with the same file names.

How to do that?

N.B. I am using TensorFlow and Keras.