perl ã§è²ã 管çã¹ã¯ãªããæ¸ãã¦ããã§ããããã®ãªãã§ãããªã³ã¼ããæ¸ãã¾ããã system("ssh remote 'rsync ...'"); ã§ãrsyncãèµ°ã£ã¦ãéä¸ã§ãã£ã±ãããã¨æã£ã¦Ctrl+C=SIGINTãéã£ããã§ããããã¡ãã perl ã®ããã»ã¹ã¯æ»ã¬ãã§ããã©ãremoteã§åãã¦ãrsyncã¯ãã®ã¾ã¾ã¾ã³ãã«ãªã£ã¦æ®ã£ã¦ãã¾ãã¾ããã ã¯ã¦ãããããªã¨ããã«åå ãèãããããªãã¨ãããã¨ã§èª¿ã¹ã¦ã¿ã¾ããã host1> ssh host2 'some-command' host2> strace -p 20279 # some-command's pid Process 20279 attached - interrupt to quit read(0, # then "Ctrl+C" on host1 (host2) "", 4096) = 0 wri
{{#tags}}- {{label}}
{{/tags}}