- A+
所属分类:未分类
Inxi是一个免费的,开源的,功能齐全的命令行系统信息工具。它显示了系统硬件,CPU,驱动程序,Xorg,桌面,内核,GCC版本,进程,RAM使用情况以及各种其他有用信息。无论是硬盘还是CPU,主板还是整个系统的完整细节,inxi都能在几秒钟内更准确地显示它。由于它是CLI工具,您可以在桌面或服务器版本中使用它。Inxi可用于大多数Linux发行版和一些BSD系统的默认存储库。
安装inxi
yum install epel-release yum install inxi
参数
请扫描首页客户端二维码查看
实例
1:直接输入获取系统信息,如下:
[root@xubo ~]# inxi
结果如下:
CPU: 2x Dual Core Intel Core i7-4700MQ (-SMP-) speed: 2394 MHz Kernel: 3.10.0-957.10.1.el7.x86_64 x86_64 Up: 19m Mem: 495.1/3771.0 MiB (13.1%) Storage: 32.00 GiB (25.5% used) Procs: 135 Shell: bash 4.2.46 inxi: 3.0.34 :
如上结果,包括cpu,内存,系统内核,硬盘大小,shell环境等
2:显示完整摘要,如下:
[root@xubo ~]# inxi -F
结果如下:
3:显示声卡驱动程序显示音频和声卡信息,如下:
[root@xubo ~]# inxi -A
结果如下:
Audio: Device-1: Ensoniq ES1371/ES1373 / Creative Labs CT2518 driver: snd_ens1371 Sound Server: ALSA v: k3.10.0-957.10.1.el7.x86_64
4:显示电池详细信息,如下:
[root@xubo ~]# inxi -B
结果如下:
Battery: ID-1: BAT0 charge: 39.0 Wh condition: 39.0/48.8 Wh (80%)
5:显示完整的CPU详细信息,包括内核,CPU型号,CPU缓存,CPU时钟速度,CPU最小/最大速度等,如下:
[root@xubo ~]# inxi -C
结果如下:
CPU: Topology: 2x Dual Core model: Intel Core i7-4700MQ bits: 64 type: SMP L2 cache: 12.0 MiB Speed: 2394 MHz min/max: N/A Core speeds (MHz): 1: 2394 2: 2394 3: 2394 4: 2394
6:显示硬盘详细信息,,例如磁盘类型,供应商,设备ID,型号,磁盘大小,总磁盘空间,使用的百分比等,如下:
[root@xubo ~]# inxi -D
结果如下:
Drives: Local Storage: total: 32.00 GiB used: 8.16 GiB (25.5%) ID-1: /dev/sda vendor: VMware model: Virtual S size: 32.00 GiB
7:显卡信息,命令如下:
[root@xubo ~]# inxi -G
结果如下:
Graphics: Device-1: VMware SVGA II Adapter driver: vmwgfx v: 2.14.1.0 Display: server: No display server data found. Headless machine? tty: 132x61 Message: Unable to show advanced data. Required tool glxinfo missing.
8:显示进程相关信息,如下:
[root@xubo~]# inxi -I
结果如下:
Info: Processes: 134 Uptime: 39m Memory: 3.68 GiB used: 497.3 MiB (13.2%) Init: systemd runlevel: 3 Shell: bash inxi: 3.0.34
9:显示主板信息,显示有关机器详细信息,制造商,主板,BIOS的信息,如下:
[root@xubo~]# inxi -M
结果如下:
Machine: Type: Portable System: Dell product: Inspiron N5050 v: N/A serial: <root required> Mobo: Dell model: 034ygt v: A018 serial: <root required> BIOS: Dell v: A001 date: 09/04/2015
10:显示有关网卡的信息,包括供应商,卡驱动程序和网络接口等,如下:
[root@xubo ~]# inxi -N
结果如下:
Network: Device-1:Intel 82371AB/EB/MB PIIX4 ACPI type: network bridge driver: N/A Device-2: Intel 82545EM Gigabit Ethernet driver: e1000
11:显示cpu标志,如下:
[root@xubo ~]# inxi -f
结果如下:
CPU: Topology: 2x Dual Core model: Intel Core i7-4700MQ bits: 64 type: SMP L2 cache: 12.0 MiB Speed: 2394 MHz min/max: N/A Core speeds (MHz): 1: 2394 2: 2394 3: 2394 4: 2394 Flags: abm aes apic arat arch_perfmon avx avx2 bmi1 bmi2 clflush cmov constant_tsc cx16 cx8 de eagerfpu f16c fma fpu fsgsbase fxsr ht hypervisor invpcid lahf_lm lm mca mce mmx movbe msr mtrr nonstop_tsc nopl nx pae pat pcid pclmulqdq pdpe1gb pge pni popcnt pse pse36 rdrand rdtscp sep smep ss sse sse2 sse4_1 sse4_2 ssse3 syscall tsc tsc_adjust tsc_deadline_timer tsc_reliable vme x2apic xsave xsaveopt xtopology
12:显示内存详细信息,如下:
[root@xubo ~]# inxi -m
结果如下:
Memory: RAM: total: 7.70 GiB used: 2.26 GiB (29.3%) Array-1: capacity: 16 GiB slots: 2 EC: None Device-1: DIMM_A size: 4 GiB speed: 1067 MT/s Device-2: DIMM_B size: 4 GiB speed: 1067 MT/s
13:显示网卡详细信息(如设备供应商,驱动程序,mac,状态等)中的WAN和本地IP地址,如下:
[root@xubo ~]# inxi -i
结果如下:
Network: Device-1: Intel 82371AB/EB/MB PIIX4 ACPI type: network bridge driver:N/A Device-2: Intel 82545EM Gigabit Ethernet driver: e1000 IF: eno16777736 state: up speed: 1000 Mbps duplex: full mac: 00:0c:29:39:c7:f2 IP v4: 192.168.241.128/24 type: noprefixroute scope: global IP v6: fe80::20c:29ff:fe39:c7f2/64 type: noprefixroute scope: link IF-ID-1: docker0 state: down mac: 02:42:d9:7a:f6:1f IP v4: 172.17.0.1/16 scope: global WAN IP: 113.201.56.220
14:显示系统源列表信息,如下:
[root@xubo ~]# inxi -r
结果如下:
Repos: No active yum repos in: /etc/yum.conf No active yum repos in: /etc/yum.repos.d/CentOS-Base.repo No active yum repos in: /etc/yum.repos.d/CentOS-CR.repo No active yum repos in: /etc/yum.repos.d/CentOS-Debuginfo.repo No active yum repos in: /etc/yum.repos.d/CentOS-Media.repo No active yum repos in: /etc/yum.repos.d/CentOS-Sources.repo No active yum repos in: /etc/yum.repos.d/CentOS-Vault.repo No active yum repos in: /etc/yum.repos.d/CentOS-fasttrack.repo Active yum repos in: /etc/yum.repos.d/docker-ce.repo 1: docker-ce-stable ~ https://mirrors.aliyun.com/docker-ce/linux/centos/7/$basearch/stable No active yum repos in: /etc/yum.repos.d/epel-testing.repo Active yum repos in: /etc/yum.repos.d/epel.repo 1: epel ~ https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch No active yum repos in: /etc/yum.repos.d/mysql-community-source.repo Active yum repos in: /etc/yum.repos.d/mysql-community.repo 1: mysql-connectors-community ~ http://repo.mysql.com/yum/mysql-connectors-community/el/7/$basearch/ 2: mysql55-community ~ http://repo.mysql.com/yum/mysql-5.5-community/el/7/$basearch/ Active yum repos in: /etc/yum.repos.d/nginx.repo 1: nginx ~ http://nginx.org/packages/centos/7/$basearch/ Active yum repos in: /etc/yum.repos.d/nux-dextop.repo 1: nux-dextop ~ http://li.nux.ro/download/nux/dextop/el7/$basearch/ http://mirror.li.nux.ro/li.nux.ro/nux/dextop/el7/$basearch/ No active yum repos in: /etc/yum.repos.d/remi-glpi91.repo No active yum repos in: /etc/yum.repos.d/remi-glpi92.repo No active yum repos in: /etc/yum.repos.d/remi-glpi93.repo No active yum repos in: /etc/yum.repos.d/remi-glpi94.repo No active yum repos in: /etc/yum.repos.d/remi-modular.repo No active yum repos in: /etc/yum.repos.d/remi-php54.repo No active yum repos in: /etc/yum.repos.d/remi-php70.repo No active yum repos in: /etc/yum.repos.d/remi-php71.repo No active yum repos in: /etc/yum.repos.d/remi-php72.repo No active yum repos in: /etc/yum.repos.d/remi-php73.repo Active yum repos in: /etc/yum.repos.d/remi-safe.repo 1: remi-safe ~ http://cdn.remirepo.net/enterprise/7/safe/mirror No active yum repos in: /etc/yum.repos.d/remi.repo
更多的参数实例,请扫描下面二维码,安装客户端查看:
- 安卓客户端下载
- 微信扫一扫
- 微信公众号
- 微信公众号扫一扫