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
sysfs
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Satoru Takeuchi
PRO
July 26, 2022
0
200
sysfs
以下動画のテキストです
https://youtu.be/lsp-2Y9BrHE
Satoru Takeuchi
PRO
July 26, 2022
Tweet
Share
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
書籍執筆での生成AIの活用
sat
PRO
1
270
ChatGPTに従って体調管理2026
sat
PRO
0
150
eBPF
sat
PRO
1
110
waruiBPF
sat
PRO
0
110
eBPFとwaruiBPF
sat
PRO
5
3.8k
Pythonのコードの気になる行でスタックトレースを出す
sat
PRO
1
100
ソースコードを読むときの思考プロセスの例 ~markdownのレンダリング方法を知りたかった2 markdownパッケージ~
sat
PRO
0
200
様々なファイルシステム
sat
PRO
0
340
ソースを読む時の思考プロセスの例-MkDocs
sat
PRO
1
430
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
How to Ace a Technical Interview
jacobian
281
24k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
72
Exploring anti-patterns in Rails
aemeredith
2
250
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
The Limits of Empathy - UXLibs8
cassininazir
1
210
How to Think Like a Performance Engineer
csswizardry
28
2.4k
The Invisible Side of Design
smashingmag
302
51k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
The Cult of Friendly URLs
andyhume
79
6.8k
Transcript
sysfs Jul. 26th, 2022 Satoru Takeuchi twitter: satoru_takeuchi
sysfsとは • Linuxカーネルがシステムの情報をユーザに見せるインタフェース • メモリ上に存在するファイルシステム • 通常/sys/以下にマウントされる • 過去動画(5回目)で説明したprocfsと似ているが役割が異なる •
面白そうなものをいくつか紹介 ext4, XFS procfs disk プロセスの情報 プロセス以外の情報 sysfs
見られる情報の例 • システムのコアコンポーネント(CPUやメモリなど) ◦ /sys/devices/system/{cpu,memory} • 周辺機器(ディスクやNICなど) ◦ /sys/bus/{pci,usb,scsi} •
ファームウェア ◦ /sys/firmware/{efi,acpi} • カーネルモジュール ◦ /sys/module/<モジュール名>
まとめ • sysfsはLinuxカーネルがシステムの情報をユーザに見せるインタフェース ◦ 通常/sys以下にマウントされるメモリベースのファイルシステム • procfsとは似て非なるもの ◦ procfs: プロセス関連情報
◦ sysfs: プロセス以外の情報 • 見られる情報の例 ◦ CPUやメモリ ◦ 周辺機器 ◦ ファームウェア ◦ モジュール