java - How to kill a process running on server -


i using run_command shell program run commands on servers client machine, shell program runs particular command on server socket communication. in server side use java program run command on server, commands ls , pwd working , commands "tail -f" though pressing ctrl^c stop command, not stopping in server side.

  1. is there way to capture ctrl^c send msg kills running command on server

  2. to kill command on server , how can kill particular command run client not other

use kill command. more information please refer url kill command unix


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -