반응형

uname은 리눅스 커널 정보를 확인하는 방법이다.


먼저 man을 이용해서 옵션을 확인하면 다음과 같습니다.


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 (non-portable)


       -i, --hardware-platform

              print the hardware platform (non-portable)


       -o, --operating-system

              print the operating system


       --help display this help and exit


       --version

              output version information and exit 


예시를 통해 uname을 통해 시스템 정보를 알아 보도록 합시다


root@choi:~# uname -a

Linux choi 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux 


위 시스템의 커널버젼은 4.15.0-22-generic #24-Ubuntu 이고 SMP(멀티코어 시스템)에서 사용되며 X86 계열의 64비트 운영체제를 사용하고 있습니다. 

그리고  5월 16일 수요일 12:15:17설치 된것을 확인 할 수 있습니다.

반응형

+ Recent posts