I have tried so many ways but finally happy with this
The above script will produce load average from a remote system.
#!/bin/bash
for i in localhost 127.0.01
doRelated Articlessh raja@$i 'uptime | grep -o load.*'
done
The above script will produce load average from a remote system.
#!/bin/bashfor i in localhost 127.0.01
doRelated Articlessh raja@$i 'uptime | grep -o load.*'
done
0 Comments