linux系統下看所需要的系統資訊
檢視系統CPU 記憶體 版本等資訊
檢查cpu:
[root@localhost ~]# more /proc/cpuinfo | grep "model name"
model name : Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz
model name : Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz
[root@localhost ~]# grep "model name" /proc/cpuinfo | cut -f2 -d:
Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz
Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz
[root@localhost ~]#
檢查實體記憶體:
[root@localhost ~]# grep MemTotal /proc/meminfo
MemTotal: 2505184 kB
[root@localhost ~]#
[root@localhost ~]# free -m
total used free shared buff/cache available
Mem: 2446 361 1406 8 678 2016
Swap: 2559 0 2559
[root@localhost ~]#
檢查OS是否64位:
[root@localhost ~]# getconf LONG_BIT
64
[root@localhost ~]# echo $HOSTTYPE
x86_64
[root@localhost ~]# uname -a
Linux lunar1 3.8.13-55.1.6.el7uek.x86_64 #2 SMP Wed Feb 11 14:18:22 PST 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]#
[root@localhost ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.1 (Maipo)
[root@localhost ~]# cat /etc/oracle-release
Oracle Linux Server release 7.1
其他檢視系統資訊的命令:
lsb_release -a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN qlen 1000
link/ether 00:0c:29:5d:13:a0 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN qlen 1000
link/ether 00:0c:29:5d:13:aa brd ff:ff:ff:ff:ff:ff
[root@Ahost ~ ]Thu Nov 17 16:20# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN qlen 1000
link/ether 00:0c:29:5d:13:a0 brd ff:ff:ff:ff:ff:ff
inet 172.30.149.158/24 brd 172.30.149.255 scope global eth0
inet6 fe80::20c:29ff:fe5d:13a0/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN qlen 1000
link/ether 00:0c:29:5d:13:aa brd ff:ff:ff:ff:ff:ff
inet6 fe80::20c:29ff:fe5d:13aa/64 scope link
valid_lft forever preferred_lft forever
資料%EF%BC%88centosrheloel%EF%BC%89%E5%92%8Coracle-rac%E7%8E%AF%E5%A2%83%E7%B3%BB%E5%88%97-1-%E7%AE%80%E4%BB%8B.html
其他檢視系統資訊的命令:
lsb_release -a
檢查網路卡介面和IP資訊:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN qlen 1000
link/ether 00:0c:29:5d:13:a0 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN qlen 1000
link/ether 00:0c:29:5d:13:aa brd ff:ff:ff:ff:ff:ff
[root@Ahost ~ ]Thu Nov 17 16:20# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN qlen 1000
link/ether 00:0c:29:5d:13:a0 brd ff:ff:ff:ff:ff:ff
inet 172.30.149.158/24 brd 172.30.149.255 scope global eth0
inet6 fe80::20c:29ff:fe5d:13a0/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN qlen 1000
link/ether 00:0c:29:5d:13:aa brd ff:ff:ff:ff:ff:ff
inet6 fe80::20c:29ff:fe5d:13aa/64 scope link
valid_lft forever preferred_lft forever
資料%EF%BC%88centosrheloel%EF%BC%89%E5%92%8Coracle-rac%E7%8E%AF%E5%A2%83%E7%B3%BB%E5%88%97-1-%E7%AE%80%E4%BB%8B.html
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29551564/viewspace-2128640/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Linux系統資訊Linux
- Linux作業系統上必需要學的系統管理命令Linux作業系統
- linux系統/var/log目錄下的資訊詳解Linux
- 資訊保安與Linux系統Linux
- 檢視 Linux 系統資訊Linux
- Linux 系統下檢視硬體資訊命令大全Linux
- 經濟危機下企業需要什麼樣的資訊系統
- uname命令顯示系統資訊?linux系統運維命令Linux運維
- 檢視Linux系統版本資訊Linux
- linux檢視系統版本資訊Linux
- linux系統資訊檢視命令Linux
- 在Linux下檢視系統版本資訊命令總結Linux
- linux 常用的系統資訊查詢命令Linux
- python使用wmi模組獲取windows下的系統資訊 監控系統PythonWindows
- 資訊系統的輔助應用系統
- Linux 系統管理(下)(轉)Linux
- Oracle系統統計資訊Oracle
- Linux系統下的HDD Rootkit分析Linux
- 作業系統 Linux下的程式作業系統Linux
- 如何配置Linux系統下的yumLinux
- 資訊系統
- Linux系統如何檢視版本資訊Linux
- AIX.linux系統資訊檢視AILinux
- Linux系統資訊檢視命令大全Linux
- 常用檢視Linux系統資訊命令Linux
- linux系統資訊檢視命令(收藏)Linux
- 各大作業系統AIX/HPUX/Solaris/Linux下的系統日誌作業系統AILinux
- 獲取windows 作業系統下的硬體或作業系統資訊等Windows作業系統
- 在Linux系統環境下使用GFS檔案系統Linux
- Linux 9系統下構建小型入侵檢測系統Linux
- 生物資訊學中常用的linux系統命令Linux
- 【Linux】-Sysreport linux系統資訊收集工具Linux
- "好的"資訊系統
- CRM系統報價,CRM系統需要多少錢?
- MySQL 5.6所有系統變數(系統引數)MySql變數
- Linux中常用的檢視系統資訊的命令Linux
- Linux系統管理-系統概述Linux
- 系統統計資訊的儲存位置