gpt4 book ai didi

linux - 在 Linux 上解释 uname -a 命令?如何找到操作系统的供应商名称?

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:27:23 24 4
gpt4 key购买 nike

我在 linux 系统上查找输出 操作系统名称版本 编号时遇到问题。我输入了命令 uname -a ,但我无法理解该命令的输出,有人可以解释以下输出并帮助我找到操作系统名称和版本吗?

$ uname -a
Linux ABC007 2.6.32-573.3.1.el6.x86_64 #1 SMP Mon Aug 10 09:44:54 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

我需要找到操作系统的供应商名称,例如 Intel、Redhat 等。有什么命令可以这样做吗?

最佳答案

来自 man 页面:

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 or "unknown"

-i, --hardware-platform print the hardware platform or "unknown"

-o, --operating-system print the operating system

因此,在您的情况下,uname -a 输出为:

Linux ABC007 2.6.32-573.3.1.el6.x86_64 #1 SMP Mon Aug 10 09:44:54 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

  • 内核:Linux
  • 网络节点主机名:ABC007
  • 内核版本:2.6.32-573.3.1.el6.x86_64
  • 内核版本:#1 SMP 2015 年 8 月 10 日星期一 09:44:54 EDT
  • 机器硬件名称:x86_64
  • 处理器类型:x86_64
  • 硬件平台:x86_64
  • 操作系统:GNU/Linux

关于linux - 在 Linux 上解释 uname -a 命令?如何找到操作系统的供应商名称?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35910074/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com