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
300
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
Transcript
5 slides
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
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
Btrfsのsnapshotとランダム書き込み
sat
PRO
0
52
ファイルシステムのデフラグ
sat
PRO
1
60
コピーオンライト型ファイルシステムと ランダム書き込み
sat
PRO
2
130
119-多機能ファイルシステムBtrfs_のコピー.pdf
sat
PRO
1
90
Linuxカーネルの インタフェースは変わりうる?
sat
PRO
1
120
あなたの知らないバージョン命名規則
sat
PRO
3
940
Rook: Intro and Deep Dive with Ceph
sat
PRO
1
88
Machine Check Exception
sat
PRO
2
78
バイナリダンプの模様を読む
sat
PRO
0
120
Other Decks in Technology
See All in Technology
NutanixへのSSHアクセスの今後について
shadowhat
0
120
Platform Engineering をベースとした Agentic Software Factory の実践
110y
2
730
落とし穴にハマってわかった 開発生産性を測るときに気をつけたいこと
munakata
3
480
AI-Ready なデータ基盤ってなに? & 新卒未経験が、いま考えていること
imuta
0
1.1k
マネジメントされる側の仕事は「文句」を言うこと
riyaamemiya
7
6k
2026-11-16 JAWS-UG コンテナ支部 #31 ゆるLT大会 ECR のライフサイクルポリシーを いい感じに設定したい / ECR Lifecycle policy
masasuzu
3
590
認知負荷の減らし方 ~開発にも日常業務にも活かせるノウハウ~
minorun365
PRO
15
9.3k
CloudTrail を推したい
kazzpapa3
1
160
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
2
100
みん強Lightning! データ基盤ひとりでできるかな
endonanana
0
160
SBOM 生成ツールで 2026 Minimum Elements はどこまで満たせるのか
gokken
0
120
HTTP通信に使おうとすると実はめんどくさいfile_get_contents
maguroalternative
0
240
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Chasing Engaging Ingredients in Design
codingconduct
0
400
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1.1k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
1
310
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
HDC tutorial
michielstock
2
1k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
550
Color Theory Basics | Prateek | Gurzu
gurzu
1
530
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Done Done
chrislema
187
17k