Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Linuxの時間を10秒止める
Search
Satoru Takeuchi
PRO
July 20, 2024
Technology
290
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Linuxの時間を10秒止める
以下動画のテキストです。
https://youtu.be/OYvhXQLfBmw
Satoru Takeuchi
PRO
July 20, 2024
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
119-多機能ファイルシステムBtrfs_のコピー.pdf
sat
PRO
1
79
Linuxカーネルの インタフェースは変わりうる?
sat
PRO
1
110
あなたの知らないバージョン命名規則
sat
PRO
3
920
Rook: Intro and Deep Dive with Ceph
sat
PRO
1
74
Machine Check Exception
sat
PRO
2
71
バイナリダンプの模様を読む
sat
PRO
0
110
cpコマンドはディスク上でデータを コピーしないことがある
sat
PRO
3
110
114-ファイルのshallow_copy.pdf
sat
PRO
2
63
113-Btrfsのスナップショット.pdf
sat
PRO
0
47
Other Decks in Technology
See All in Technology
sue445's proposals 2026
sue445
0
120
Getting Started with Google Antigravity
glaforge
0
340
FinOps Agentが生んだ技術負債:コスト自動調査の落とし穴と解消までの道のり
oasis1994liveforever
2
220
オントロジーって 結局なにもの? AI エージェントに「意味」を渡す知識設計の話
greenmidori
0
250
Tofu-Controller lightning talk @ Containerday 2026
gionn
0
140
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
460
ストレスなくAIと付き合いたい!こんなときどうしてる?
namiki64
4
650
導入から定着へ ~コーディングエージェントを日常業務に組み込む実践知~
yukisakai1225
0
130
「私が一番顧客に詳しい」を捨てる~ 全員が一次情報に精通する開発チームをつくり、PMが次のボトルネックへ染み出すまで
kaminashi
0
380
Rust で関数型ドメインモデリング
takonda
0
170
Metadata - Section 1: HTML Basics
mohab1
0
140
Classmethod Company Deck
satoshi7
1
770
Featured
See All Featured
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Utilizing Notion as your number one productivity tool
mfonobong
4
620
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
560
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
67k
A Soul's Torment
seathinner
8
3.8k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Documentation Writing (for coders)
carmenintech
77
5.6k
First, design no harm
axbom
PRO
2
1.3k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Docker and Python
trallard
47
4.2k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
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