查看ubuntu系统信息

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#
posted @ 2017-12-25 11:13  haha1680737  阅读(1259)  评论(0编辑  收藏  举报