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
Linuxの時間を10秒止める
Search
Satoru Takeuchi
PRO
July 20, 2024
Technology
270
2
Share
Linuxの時間を10秒止める
以下動画のテキストです。
https://youtu.be/OYvhXQLfBmw
Satoru Takeuchi
PRO
July 20, 2024
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
小学校5,6年生向けキャリア教育 大人になるまでの道
sat
PRO
8
3.5k
ファイルシステムの不整合
sat
PRO
2
130
書籍執筆での生成AIの活用
sat
PRO
2
450
ChatGPTに従って体調管理2026
sat
PRO
0
170
eBPF
sat
PRO
1
140
waruiBPF
sat
PRO
0
130
eBPFとwaruiBPF
sat
PRO
5
4.6k
Pythonのコードの気になる行でスタックトレースを出す
sat
PRO
1
120
ソースコードを読むときの思考プロセスの例 ~markdownのレンダリング方法を知りたかった2 markdownパッケージ~
sat
PRO
0
230
Other Decks in Technology
See All in Technology
ワールドカフェI /チューターを改良する / World Café I and Improving the Tutors
ks91
PRO
0
320
みんなで作るAWS Tips 100連発 (FinOps編)
schwrzktz
1
290
KGDC_13_Amazon Q Developerで挑む! 13事例から見えたAX組織変革の最前線_公開情報
kikugawa
0
120
Do Ruby::Box dream of Modular Monolith?
joker1007
1
330
コードや知識を組み込む / Incorporate Code and Knowledge
ks91
PRO
0
140
2026年、知っておくべき最新 サーバレスTips10選/serverless-10-tips
slsops
13
5.2k
AI와 협업하는 조직으로의 여정
arawn
0
230
Code Interpreter で、AIに安全に コードを書かせる。
yokomachi
0
7.1k
ハーネスエンジニアリングの概要と設計思想
sergicalsix
9
4.8k
みんなの「データ活用」を支えるストレージ担当から持ち込むAWS活用/コミュニティー設計TIPS 10選~「作れる」より、「続けられる」設計へ~
yoshiki0705
0
240
マルチエージェント × ハーネスエンジニアリング × GitLab Duo Agent Platformで実現する「AIエージェントに仕事をさせる時代へ。」 / 20260421 GitLab Duo Agent Platform
n11sh1
0
150
AIエージェントの権限管理 1: MCPサーバー・ツールの Fine grained access control 編
ren8k
3
490
Featured
See All Featured
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
370
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
710
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Building AI with AI
inesmontani
PRO
1
900
GitHub's CSS Performance
jonrohan
1032
470k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
220
Building Flexible Design Systems
yeseniaperezcruz
330
40k
The agentic SEO stack - context over prompts
schlessera
0
740
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.4k
Ethics towards AI in product and experience design
skipperchong
2
260
Game over? The fight for quality and originality in the time of robots
wayneb77
1
160
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.1k
Transcript
Linuxの時間を10秒止める Jul. 20th, 2024 Satoru Takeuchi X: satoru_takeuchi 1
はなすこと • カーネルモジュールを使ってLinuxの時間を10秒止める • 正確にいうと10秒間システムをハングさせる 2
実験プログラム • stop-machine.c • Linuxカーネルのカーネルモジュール • システムすべての動作を10秒間止める • 使いかた ◦
sudo insmod stop-machine.ko • 使い終わったら ◦ sudo rmmod stop-machine • ソース ◦ https://github.com/satoru-takeuchi/youtube-sample/tree/master 3
実験中… • 上 ◦ Hyper-Vの端末でLinuxへのログイン画面を表示 • 左下 ◦ Linuxにssh接続&stop-machineをロード •
右下 ◦ Linuxにssh接続&1秒に1回現在時刻を表示 ◦ for ((;;)) ; do sleep 1 ; date -R ; done 4 Windows Linux stop-machine.ko 時刻表示 Hyper-V
まとめ • Linuxの時間を10秒止めるとどうなるかを確認した ◦ こんなことができるカーネルはすごい • 興味ある人はソースを見てね ◦ ビルドして自分でも試してみる (REAME.mdにやりかたを書いている
) ◦ タイムアウト時間を増やしてみるとか 5