I've server Master,SlaveA,SlaveB,SlaveC,
and want to get eg. the space information from the server by executing one bash script on the master.
How can I do that?
--case--
192.168.1.1 - Master
192.168.1.10 - A
192.168.1.11 - B
192.168.1.12 - C
Get df
on slaves.
--ex. output---
==Slave A==
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 7222500 3909896 2945720 58% /
==Slave B==
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 4222500 3909896 5744447 98% /
==Slave C==
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 1222500 509896 xxxxxxxx 50% /
Many Thanks! DeLol