1. 程式人生 > >查看ubuntu系統信息

查看ubuntu系統信息

url bug ack gpo oot info total 查看 cpu

root@k8s001:~/go/src/k8s.io/kubernetes# cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"
NAME="Ubuntu"
VERSION="16.04 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial
root@k8s001:~/go/src/k8s.io/kubernetes# go version
go version go1.7.4 linux/amd64
root@k8s001:~/go/src/k8s.io/kubernetes# cat /proc/cpuinfo | grep process
processor : 0 processor : 1 processor : 2 processor : 3 root@k8s001:~/go/src/k8s.io/kubernetes# cat /proc/meminfo | grep Mem MemTotal: 8175000 kB MemFree: 5735500 kB MemAvailable: 7478584 kB root@k8s001:~/go/src/k8s.io/kubernetes#

查看ubuntu系統信息