Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Apr 2013
How can I know a command in CentOS has finished remotely?
It may be better to make the server notify me when the command has finished, so I can just wait and do not need using top to see whether it is finished. I'm running Ubuntu on my PC. Can anyone help me doing this? Thanks a lot.
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
Try the pidof command. It returns the pids of the named program that are running. IE,
pidof matlabSometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
To expand on Rubberman's suggestion, if you're willing to take the time, you could set it up to send you an email. I do it all the time at work to send me an email when some job finishes, but we have it setup by default there, so it may take quite a bit more effort to get it working in a smaller environment.New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4