RedHat与CentOS系统信息查询

RedHat/CentOS系统信息查询

# cat /proc/version 
Linux version 3.10.0-693.2.2.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) ) #1 SMP Tue Sep 12 22:26:13 UTC 2017
# uname -a
Linux izbp173padvrcc9jtbmtz2z 3.10.0-693.2.2.el7.x86_64 #1 SMP Tue Sep 12 22:26:13 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
# uname -r
3.10.0-693.2.2.el7.x86_64
# lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description:    CentOS Linux release 7.4.1708 (Core) 
Release:    7.4.1708
Codename:   Core
# cat /etc/redhat-release 
CentOS Linux release 7.4.1708 (Core) 
# df -hT  //磁盘分区
Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/vda1      ext4       40G  1.5G   36G   4% /
devtmpfs       devtmpfs  911M     0  911M   0% /dev
tmpfs          tmpfs     920M     0  920M   0% /dev/shm
tmpfs          tmpfs     920M  308K  920M   1% /run
tmpfs          tmpfs     920M     0  920M   0% /sys/fs/cgroup
tmpfs          tmpfs     184M     0  184M   0% /run/user/0
# free -m  //内存
              total        used        free      shared  buff/cache   available
Mem:           1839          58        1284           0         496        1627
Swap:             0           0           0

版权声明:
作者:Joe.Ye
链接:https://www.appblog.cn/index.php/2023/02/24/redhat-and-centos-system-information-query/
来源:APP全栈技术分享
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
打赏
海报
RedHat与CentOS系统信息查询
RedHat/CentOS系统信息查询 # cat /proc/version Linux version 3.10.0-693.2.2.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 2015062……
<<上一篇
下一篇>>
文章目录
关闭
目 录