çããä»æ¥ãããããã®ãµã¼ããç¸æã«ããã¦ãããã¨ãã¨æãã¾ãããããã¤ãã®ãµã¼ãã«ã¢ã¯ã»ã¹ã㦠1 ç§éã®çµ±è¨æ å ±(ä¾ãã°vmstat 1 2)ãéãã¦ããã¨è¡¨ç¤ºãããæã£ã¦ã©ããã£ã¦ã¾ãããï¼shell script ãå¦ã³ã¯ãããã°ã£ããã®åã¯ãããªæãã§æ¸ãã¦ã¾ããã $ for i in host1 host2 host3; do ssh $i "vmstat 1 2 | tail -1"; done 0 0 0 329004 210836 14275360 0 0 0 2424 1410 1828 0 0 100 0 0 0 0 0 3716112 587704 25921684 0 0 0 488 1643 2026 0 0 100 0 0 1 0 0 555440 265560 14015548 0 0 0 4204 1534 2392 1 0 99 0 0 vmstatã¨
{{#tags}}- {{label}}
{{/tags}}