infoMore than 5 years have passed since last update.
Engine Yard Cloudですべてのインスタンスで走ってるプロセスを一括で確認する
Last updated at Posted at 2013-06-14
準備
- ey login
- 該当リポジトリに移動 or -e, --environment=ENVIRONMENTで環境を指定
全サーバのプロセスを確認
$ ey ssh 'pstree -acp' --all
![](https://qiita-user-contents.imgix.net/http%3A%2F%2Fgyazo.com%2Fe6cf92220838e8b0917ced27d38a6e61.png?ixlib=rb-4.0.0&auto=format&gif-q=60&q=75&s=7c680571639ced9b91f75fc533739768)
monitの監視対象の状態を表示
$ey ssh 'sudo monit summary' --all
![](https://qiita-user-contents.imgix.net/http%3A%2F%2Fgyazo.com%2F538018d1b96dadc0612d79f2a4a11457.png?ixlib=rb-4.0.0&auto=format&gif-q=60&q=75&s=9e1c34dee85105d30259ac16fe2aaf93)
or
$ey ssh 'sudo monit status' --all
![](https://qiita-user-contents.imgix.net/http%3A%2F%2Fgyazo.com%2F7cb62222fe4fa110348e93d4f4eb9920.png?ixlib=rb-4.0.0&auto=format&gif-q=60&q=75&s=1a3777a5a8aeedc9b56723501e621925)
感想
-
$ey ssh 'シェルコマンド'使って色々できる!
-
ey help コマンド でhelp見ればなにができるのかわかる。
4Go to list of users who liked
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
What you can do with signing up