examples
Class rexec
java.lang.Object
examples.rexec
public final class rexec
- extends Object
This is an example program demonstrating how to use the RExecClient class.
This program connects to an rexec server and requests that the
given command be executed on the server. It then reads input from stdin
(this will be line buffered on most systems, so don't expect character
at a time interactivity), passing it to the remote process and writes
the process stdout and stderr to local stdout.
Example: java rexec myhost myusername mypassword "ps -aux"
Usage: rexec
Constructor Summary |
rexec()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rexec
public rexec()
main
public static final void main(String[] args)
Copyright © 1997-2010 The Apache Software Foundation. All Rights Reserved.