we are run on Linux remote machine some scripts ,

as

ssh $remote_machine "/tmp/ucrt.bash" &ssh $remote_machine "/tmp/urct.bash" &

each script create PID and when script ended script return exit code

how to know after scripts ended ( or after some time ) the process ID of each script and the exit code status of each script

dose linux have history on that info? ) - PID history log with process name

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.