ã¡ã¢, ããã°ã©ãã³ã°ã·ã§ã«ã¹ã¯ãªããããsshã§è¤æ°ã®ãªã¢ã¼ããã¹ãã«ã³ãã³ããæãã¤ããå¦çãæ¸ãã¦ã¦ãããããæ°ãã¤ãããã¨ãããã¨ã§èªåã§èª¿ã¹ãããããã«ã¡ã¢ãã¦ããã ã«ã¼ãããsshã§ã³ãã³ããæãã¤ããã·ã§ã«ã¹ã¯ãªããã®whileã«ã¼ãå ãããè¤æ°ã®ãã¹ãã¸é çªã«ã³ãã³ããæãã¤ããå¦çãããã¦ããã¨ãæåã®ãã¹ãã«ããã³ãã³ããé£ã°ãªãï¼ã«ã¼ãããªãï¼ããã¯ãã·ã§ã«ã¹ã¯ãªããã®whileã«ã¼ãèªä½ããæ¨æºå ¥åã®èªã¿åãã«ä¾åãã¦ããã®ã«ãsshãæ¨æºå ¥åãèªã¿åãã®ãåå ããã¨ãã°ãããªã«ã¼ãã®å ´åã«èµ·ããã somecommand | while read LINE do ssh user@hostname 'sh yourcommand /dev/null 2>&1 &' done nãªãã·ã§ã³ãä»ãããã¨ã§ãsshã®æ¨æºå ¥åã/dev/nullã«å¤ããããã¯ã°ã©ã¦ã³ã
{{#tags}}- {{label}}
{{/tags}}