Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
mkr + peco + tmux + ssh
Search
Yuuki Tsubouchi (yuuk1)
April 27, 2017
Programming
0
9.2k
mkr + peco + tmux + ssh
Mackerel Meetup #10 Tokyo
Yuuki Tsubouchi (yuuk1)
April 27, 2017
Tweet
Share
More Decks by Yuuki Tsubouchi (yuuk1)
See All by Yuuki Tsubouchi (yuuk1)
SREはサイバネティクスの夢をみるか? / Do SREs Dream of Cybernetics?
yuukit
2
200
SREのためのテレメトリー技術の探究 / Telemetry for SRE
yuukit
13
2.5k
AIスパコン「さくらONE」の オブザーバビリティ / Observability for AI Supercomputer SAKURAONE
yuukit
2
1k
AIスパコン「さくらONE」のLLM学習ベンチマークによる性能評価 / SAKURAONE LLM Training Benchmarking
yuukit
2
900
とあるSREの博士「過程」 / A Certain SRE’s Ph.D. Journey
yuukit
11
5.1k
eBPFを用いたAIネットワーク監視システム論文の実装 / eBPF Japan Meetup #4
yuukit
3
1.6k
クラウドのテレメトリーシステム研究動向2025年
yuukit
4
1.1k
博士論文公聴会: Scaling Telemetry Workloads in Cloud Applications: Techniques for Instrumentation, Storage, and Mining / PhD Defence
yuukit
1
390
博士学位論文予備審査 / Scaling Telemetry Workloads in Cloud Applications: Techniques for Instrumentation, Storage, and Mining
yuukit
1
2.2k
Other Decks in Programming
See All in Programming
AIエージェントを活かすPM術 AI駆動開発の現場から
gyuta
0
430
MAP, Jigsaw, Code Golf 振り返り会 by 関東Kaggler会|Jigsaw 15th Solution
hasibirok0
0
250
著者と進める!『AIと個人開発したくなったらまずCursorで要件定義だ!』
yasunacoffee
0
150
Deno Tunnel を使ってみた話
kamekyame
0
150
堅牢なフロントエンドテスト基盤を構築するために行った取り組み
shogo4131
8
2.4k
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
4
840
Navigation 3: 적응형 UI를 위한 앱 탐색
fornewid
1
360
re:Invent 2025 のイケてるサービスを紹介する
maroon1st
0
130
チームをチームにするEM
hitode909
0
340
ハイパーメディア駆動アプリケーションとIslandアーキテクチャ: htmxによるWebアプリケーション開発と動的UIの局所的適用
nowaki28
0
430
AIコーディングエージェント(Manus)
kondai24
0
200
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
140
Featured
See All Featured
Getting science done with accelerated Python computing platforms
jacobtomlinson
0
70
Building Applications with DynamoDB
mza
96
6.8k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.1k
What's in a price? How to price your products and services
michaelherold
246
13k
Testing 201, or: Great Expectations
jmmastey
46
7.8k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Designing for Performance
lara
610
69k
Making Projects Easy
brettharned
120
6.5k
GraphQLとの向き合い方2022年版
quramy
50
14k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.1k
Transcript
mkr + peco + tmux + ssh ͯͳ id:y_uuki Mackerel
Meetup #10 Tokyo
αʔϏεɾϩʔϧ໊Λ ͠΅Γ͜Έબͭͭ͠ɺ બΜͩϩʔϧͷϗετ܈ʹ ಉ࣌ϩάΠϯ
αʔϏεɾϩʔϧ໊Λ ͠΅Γ͜Έબͭͭ͠ɺ બΜͩϩʔϧͷϗετ܈ʹ ಉ࣌ϩάΠϯ 5ඵ
http://blog.yuuk.io/entry/tmux-ssh-mackerel
mkr + tmux + ssh
$ mkr hosts —service bookmark --role proxy
$ mkr hosts —service bookmark --role proxy | jq -rM
“.[].name"
tssh = tmux + ssh https://github.com/yuuki/opstools/blob/master/tssh
$ tssh $(mkr hosts —service bookmark --role proxy | jq
-rM “.[].name")
$ tssh $(roles bookmark proxy) (zsh functionԽ)
ͯͳʹϩʔϧ͕ͨ͘͞Μʂ 1000+ roles
ϩʔϧ໊֮͑ͯͳ͍
mkr + peco + tmux + ssh
function peco-mkr-roles() { local selected_role=$(mkr services | jq -rM '[.[]
| .name as $name | .roles // [] | map("\($name) \ (.)")] | flatten | .[]' | peco) if [ -n "${selected_role}" ]; then local BUFFER="tssh \`roles "$ {selected_role}"\`" fi zle clear-screen } zle -N peco-mkr-roles
$ mkr services | jq -rM '[.[] | .name as
$name | .roles // [] | map("\($name) \(.)")] | flatten | .[]' | peco
pecoͰ ϩʔϧͷ͠΅Γ͜ΈΛ͔͚ͨޙ $ tssh $(roles bookmark proxy) Λ࣮ߦ
1. Ctrl + w (ҙ) 2. ϩʔϧҰཡදࣔ 3. ͠΅Γ͜Έબ 4.
tssh࣮ߦ
1. Ctrl + w (ҙ) 2. ϩʔϧҰཡදࣔ 3. ͠΅Γ͜Έબ 4.
tssh࣮ߦ 5ඵ
None
Mackerel API ☓ ͍͍ͭͬͯΔ πʔϧ
Mackerel API ☓ ͍͍ͭͬͯΔ πʔϧ ΤϯδχΞΛ ϫΫϫΫͤ͞Δ