查看Linux系统版本信息一、查看Linux内核版本命令(2种方法):1、cat/proc/version2、uname-a二、查看Linux系统版本的命令(3种方法):1、lsb_release-a,即可列出所有版本信息:这个命令适用于所有的Linux发行版,包括RedHat、SUSE、Debian…等发行版。(但有的系统没有安装lsb_release命令,后附:lsb_release命令安装)
分类:
系统相关 时间:
2018-06-20 21:29:06
阅读次数:
153
进程控制 ps、top 查看系统内核:# uname -r -n -a # cat /etc/redhat-release # lsb_release -d 网卡IP地址:# ifconfig # ping -c n(次数) IP|hostname # setup|/etc/sysconfig/ne ...
分类:
系统相关 时间:
2018-06-18 01:14:19
阅读次数:
297
准备工作:需要Linux kernel 3.8支持 查看linux内核的版本:root@ubuntu-dev:~# cat /proc/version查看linux版本:root@ubuntu-dev:~# lsb_release –a关于dockerDocker 是一个开源的应用容器引擎,让开发者 ...
分类:
其他好文 时间:
2018-06-03 19:33:26
阅读次数:
181
准备工作:需要Linux kernel 3.8支持查看linux内核的版本:root@ubuntu-dev:~# cat /proc/version查看linux版本:root@ubuntu-dev:~# lsb_release –a关于dockerDocker 是一个开源的应用容器引擎,让开发者可 ...
分类:
其他好文 时间:
2018-06-03 15:36:47
阅读次数:
190
先介绍一下使用的环境:centos 7.4, PHP 7.0 , nginx 1.12 Linux系统版本可以通过命令:lsb_release -a 查看. 现在开始步入正题了! 1. 首先查看一下nginx是否已经安装成功。 Linux命令:find /|grep nginx.conf 如果安装完 ...
分类:
Web程序 时间:
2018-05-25 15:31:47
阅读次数:
297
##查看系统版本方法1[gc@bogon~]$cat/etc/redhat-releaseCentOSLinuxrelease7.4.1708(Core)方法2[gc@bogon~]$lsb_release-a-bash:lsb_release:commandnotfound[gc@bogon~]$cat/etc/os-releaseNAME="CentOSLinux"VERS
分类:
其他好文 时间:
2018-05-07 10:17:50
阅读次数:
7242
基于linux7的k8s部署(一)环境准备#系统环境lsb_release-aDistributorID:CentOSDescription:CentOSLinuxrelease7.3.1611(Core)Release:7.3.1611Codename:Core说明:如提示:-bash:lsb_release:commandnotfound,请yuminstall-yredhat-lsb#查看s
分类:
系统相关 时间:
2018-05-02 17:02:59
阅读次数:
281
1.查看cpu: top 2.查看当前linux版本:name -a 查看当前运行的内核版本:cat /pro/version 查看发行版本信息:cat /etc/issue 查看上面所有信息:lsb_release -a 3.查看linux下的系统盘:df -l ...
分类:
系统相关 时间:
2018-04-29 01:20:07
阅读次数:
188
1、检查超线程 查看线程数:grep siblings /proc/cpuinfo |uniq 查看物理核心数:grep cores /proc/cpuinfo |uniq 2、检查操作系统版本 cat /etc/redhat-release lsb_release -a 3、检查文件系统 df - ...
分类:
系统相关 时间:
2018-04-13 22:28:00
阅读次数:
257
系统/机器信息 1、查看linux是ubuntu还是centos lsb_release --help -a 打印所有信息 -s 简短打印 2、查看系统是64还是32 uname --help -a 查看所有消息 看到最后显示x86_64则为64位的 ...
分类:
系统相关 时间:
2018-04-09 00:16:09
阅读次数:
153