2013年8月30日 星期五

kernel

kernle基本上,即一個linux.提供了一個完整的作業系統當中最底層的硬体控制與資源管理的架構。
一個系統中組成元件(硬体,可支配管理硬体的核心,溝通使用者與核心的interface)
     user
-------------------------
使用者interface
(shell,KDE,application)
------------------------
   核心(kernel
------------------------
   硬体(hardware
----------------
Distribution
linux為一個kernel,而為了對不同的要求。許多人會其kernel中加入了許多
不同需支及調整的軟体。像是sendmail'wu-ftp'apache....
需許多公司就將一些需要的軟体套件加掛到linux核心程式中,並發行
此類即為稱為 “distribution”(完整安裝套件)
注名的有
red hat
mandrake
slackware
suse
openlinux
debian
linpus
及unbuntu



基本功能
system call interface:一些服務與kernel溝通之後,將硬体旳資源進一步的利用
process control:系統程序控制中心
memory managernent: 控制系統的記憶体管理
file system management:檔案系統的管理。(包含著I/O,linux中視各i/o為一個檔案
device drivers:硬体的管理是kernel的主要工作之一。裝置的驅動程式。(可載入模姐。將驅動程式編輯成模組,就不需要重新編譯核心。
目前的kernel版本
[root@localhost grub]# uname -ra
Linux localhost.localdomain 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 i686 i386 GNU/Linux


ps:
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

       -n, --nodename
              print the network node hostname

       -r, --kernel-release
              print the kernel release

       -v, --kernel-version
              print the kernel version

       -m, --machine
              print the machine hardware name

       -p, --processor
              print the processor type or "unknown"

-----------------------
kernel相關的網站
http://www.kernel.org/
http://archives.fedoraproject.org/pub/archive/fedora/
中文linux extend: http://cle.linux.org.tw/wp/  
台灣Fedora :http://fedora.tw/

沒有留言:

張貼留言