Steps for Executing the command on remote host
- Create/update .netrc file in user home directory and add credentials of all the machines that we need to be accessed remotely. Format should be as follows
machine
- Execute “chmod 600 .netrc” so that only owner will have read/write access.
- To execute the command on remote host use the following command
rexec
To remote monitor
rexec remotehost vmstat 1 10
2 comments:
Its really useful.Can you know how to monitor Linux/unix server remotely from windows machines
Start the rstatd daemon in unix/linux server and from windows machines you can use SNMP to monitor the servers.
-Thiru
Post a Comment