On Sunday 22,April,2012 06:20 AM, David Christensen wrote: > On 04/21/2012 07:51 AM, lina wrote: >> Thanks, I didn't realize that the ssh p3600 'do something' can do >> something without being in the server. > > Yes -- providing a command to ssh is a very useful. Check out the manual > page for more information: > > $ man ssh > > > Taking it one step further, anything after the command runs on the local > machine: > > $ ssh p3600 'cat .bashrc' | wc > 23 63 418 Thanks again, David, one more question, How do I use ssh p3600 'top' Actually I am interested the qstat of the job on the server. but "top" is the same. It shows me TERM environment variable not set. > > > I use this trick on my backup server to create tarballs on remote > machines and save them locally. Have a nice Sunday, Best wishes, > > > David > >Thread Previous | Thread Next