• 查看linux系统信息

    uname -a

    Linux localhost.localdomain 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
  • 输出内容分析:
uname --help / uname -h
-a, --all print all information, in thefollowing 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" -i, --hardware-platform print the hardware platform or"unknown" -o, --operating-system print the operating system -- help display this help and exit


  • uname -s 内核名称

    Linux
  • uname -n 节点名称

    localhost.localdomain
  • uname -r 内核的发型号

    3.10.0-693.el7.x86_64
  • uname -v 内核版本

    #1 SMP Tue Aug 22 21:09:27 UTC 2017
  • uname -m 机器硬件名称

    x86_64
  • uname -p 处理器类型

    x86_64
  • uname -i 硬件平台

    x86_64
  • uname -O 操作系统

    GNU/Linux
  • 查看linux时Centos还是ubuntu

    执行lsb_release -a 命令存在表示为ubuntu系统

    cat /etc/redhat-release 文件存在为centos

最新文章

  1. 转载:移动web开发规范
  2. Matplotlib 学习笔记
  3. js 控制Div循环显示 非插件版
  4. JavaScript到底是不是单线程
  5. POJ2955Brackets[区间DP]
  6. C# Cut Line Bressenham Algorithm
  7. [译]Node.js Best Practices
  8. MariaDB5.5(mysql)的partitioning设置 for Zabbix3.0
  9. 【Database】MySQL各版本的区别
  10. php数组转xml的递归实现
  11. 【Quick-COCOS2D-X 3.3 怎样绑定自己定义类至Lua之三】动手绑定自己定义类至Lua
  12. Django:之不得不说的web框架们
  13. php的八大数据类型
  14. 前端(HTML/CSS/JS)-HTML编码规范
  15. Forth 文本解释程序
  16. 利用Xmanager Enterprise 5的passive显示远程linux主机图形化信息
  17. 查找nginx安装的路径
  18. MYSQL查询优化:Limit
  19. JDK的spi实现
  20. 怎样写SQL语句可以提高数据库的性能

热门文章

  1. 【leetcode】1080. Insufficient Nodes in Root to Leaf Paths
  2. 【leetcode】1029. Two City Scheduling
  3. 【leetcode】861. Score After Flipping Matrix
  4. 微信公众号号开发(Java)
  5. 循序渐进实现仿QQ界面(三):界面调色与控件自绘
  6. 攻防世界 | level0
  7. Python分析《武林外传》
  8. 将多个jpg文件以追加形式合并成一个文件_delphi教程 bmp 合并 http://www.west.cn/www/info/58058-1.htm
  9. Oracle基本操作练习(一)
  10. ELMO,BERT和GPT简介