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
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
220
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
sysfs
以下動画のテキストです
https://youtu.be/lsp-2Y9BrHE
Satoru Takeuchi
PRO
July 26, 2022
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
119-多機能ファイルシステムBtrfs_のコピー.pdf
sat
PRO
1
66
Linuxカーネルの インタフェースは変わりうる?
sat
PRO
1
92
あなたの知らないバージョン命名規則
sat
PRO
3
890
Rook: Intro and Deep Dive with Ceph
sat
PRO
1
64
Machine Check Exception
sat
PRO
2
64
バイナリダンプの模様を読む
sat
PRO
0
89
cpコマンドはディスク上でデータを コピーしないことがある
sat
PRO
3
87
114-ファイルのshallow_copy.pdf
sat
PRO
2
57
113-Btrfsのスナップショット.pdf
sat
PRO
0
40
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Practical Orchestrator
shlominoach
191
12k
The Curse of the Amulet
leimatthew05
2
14k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Automating Front-end Workflow
addyosmani
1369
210k
Building Adaptive Systems
keathley
44
3.2k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
370
Documentation Writing (for coders)
carmenintech
77
5.5k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
880
Discover your Explorer Soul
emna__ayadi
2
1.3k
Code Reviewing Like a Champion
maltzj
528
40k
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やメモリ ◦ 周辺機器 ◦ ファームウェア ◦ モジュール