Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
mkr + peco + tmux + ssh
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Yuuki Tsubouchi (yuuk1)
April 27, 2017
Programming
9.3k
0
Share
mkr + peco + tmux + ssh
Mackerel Meetup #10 Tokyo
Yuuki Tsubouchi (yuuk1)
April 27, 2017
More Decks by Yuuki Tsubouchi (yuuk1)
See All by Yuuki Tsubouchi (yuuk1)
AIスーパーコンピュータにおけるLLM学習処理性能の計測と可観測性 / AI Supercomputer LLM Benchmarking and Observability
yuukit
1
800
SREはサイバネティクスの夢をみるか? / Do SREs Dream of Cybernetics?
yuukit
3
470
SREのためのテレメトリー技術の探究 / Telemetry for SRE
yuukit
13
3.5k
AIスパコン「さくらONE」の オブザーバビリティ / Observability for AI Supercomputer SAKURAONE
yuukit
2
1.4k
AIスパコン「さくらONE」のLLM学習ベンチマークによる性能評価 / SAKURAONE LLM Training Benchmarking
yuukit
2
1.1k
とあるSREの博士「過程」 / A Certain SRE’s Ph.D. Journey
yuukit
11
6.9k
eBPFを用いたAIネットワーク監視システム論文の実装 / eBPF Japan Meetup #4
yuukit
3
1.7k
クラウドのテレメトリーシステム研究動向2025年
yuukit
4
1.2k
博士論文公聴会: Scaling Telemetry Workloads in Cloud Applications: Techniques for Instrumentation, Storage, and Mining / PhD Defence
yuukit
1
660
Other Decks in Programming
See All in Programming
PCOVから学ぶコードカバレッジ #phpcon_odawara
o0h
PRO
0
230
Rethinking API Platform Filters
vinceamstoutz
0
11k
Feature Toggle は捨てやすく使おう
gennei
0
430
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
550
「接続」—パフォーマンスチューニングの最後の一手 〜点と点を結ぶ、その一瞬のために〜
kentaroutakeda
5
2.5k
SkillがSkillを生む:QA観点出しを自動化した
sontixyou
6
3.1k
瑠璃の宝石に学ぶ技術の声の聴き方 / 【劇場版】アニメから得た学びを発表会2026 #エンジニアニメ
mazrean
0
180
10年分の技術的負債、完済へ ― Claude Code主導のAI駆動開発でスポーツブルを丸ごとリプレイスした話
takuya_houshima
0
1.8k
AI時代の脳疲弊と向き合う ~言語学としてのPHP~
sakuraikotone
1
1.8k
KagglerがMixSeekを触ってみた
morim
0
370
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
830
PHP で mp3 プレイヤーを実装しよう
m3m0r7
PRO
0
110
Featured
See All Featured
Building an army of robots
kneath
306
46k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Accessibility Awareness
sabderemane
0
94
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
320
Agile that works and the tools we love
rasmusluckow
331
21k
First, design no harm
axbom
PRO
2
1.2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
From π to Pie charts
rasagy
0
160
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
How to train your dragon (web standard)
notwaldorf
97
6.6k
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 ☓ ͍͍ͭͬͯΔ πʔϧ ΤϯδχΞΛ ϫΫϫΫͤ͞Δ