www.shoeisha.co.jp
- OSの中核をなす
- メモリに常駐
- OSの基本機能の提供
- 昔話
- ~2.6.39
- 3.0
- X.Y.Z
- X: メジャーバージョン
- Y: マイナーバージョン
- Z: 安定版のリリース番号
- 調べる方法
uname
コマンド
/proc/version
ファイル
- カーネルソースの
Makefile
ファイル
uname
コマンド
UNAME(1) User Commands UNAME(1)
NAME
uname - print system information
SYNOPSIS
uname [OPTION]...
DESCRIPTION
Print certain system information. With no OPTION, same as -s.
-a, --all
print all information, in the following order, except omit -p
and -i if unknown:
-s, --kernel-name
print the kernel name
...
-r, --kernel-release
print the kernel release
...
-m, --machine
print the machine hardware name
...
uname -a
Linux wand-ThinkPad-X240s 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
uname -r
4.15.0-47-generic
uname -m
x86_64
/proc/version
ファイル
cat /proc/version
Linux version 4.15.0-47-generic (buildd@lgw01-amd64-001) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019
カーネルソースのMakefile
ファイル
cat /usr/src/linux-headers-4.15.0-47-generic/Makefile
# SPDX-License-Identifier: GPL-2.0
VERSION = 4
PATCHLEVEL = 15
SUBLEVEL = 18
EXTRAVERSION =
NAME = Fearless Coyote
# *DOCUMENTATION*
...
ls /boot/vmlinuz*
/boot/vmlinuz-4.15.0-46-generic /boot/vmlinuz-4.15.0-47-generic