Jex’s Note

Tools

clusterssh 一次管理多台主機安裝及設定

  sudo apt-get install clusterssh

執行 :

  sudo cssh -l root 192.168.1.200 192.168.1.201

設定成設定檔 :

$ sudo nano /etc/clusters
clusters = testcluster
testcluster = 192.168.1.200 192.168.1.201

$ sudo cssh -l root testcluster

format 你的 jq

可以將 curl 後的結果 format 成好閱讀的格式

http://stedolan.github.io/jq/

下載 64 binaries 到 /usr/local/bin/

使用 : curl http://www.example.com/api | jq .

sysdig

Sysdig is open source, system-level exploration: capture system state and activity from a running Linux instance, then save, filter and analyze.

Sysdig is scriptable in Lua and includes a command line interface and a powerful interactive UI, csysdig, that runs in your terminal.

Think of sysdig as strace + tcpdump + htop + iftop + lsof + awesome sauce.

With state of the art container visibility on top.

Comments