inxi命令

  sre

yum install inxi
#简要信息
[root@vultr gdrive]# inxi
CPU~Single core Virtual a7769a6388d5 (-UP-) speed~2394 MHz (max) Kernel~3.10.0-514.26.2.el7.x86_64 x86_64 Up~24 days Mem~147.3/488.6MB HDD~21.5GB(20.1% used) Procs~67 Client~Shell inxi~2.3.38

#详细信息
[root@vultr gdrive]# inxi -b
System: Host: vultr.guest Kernel: 3.10.0-514.26.2.el7.x86_64 x86_64
bits: 64
Console: tty 1 Distro: CentOS Linux release 7.4.1708 (Core)
Machine: Device: kvm System: QEMU product: Standard PC (i440FX + PIIX 1996) v: pc-i440fx-2.8 serial: N/A
Mobo: N/A model: N/A serial: N/A
BIOS: SeaBIOS v: rel-1.10.1-0-g8891697-prebuilt.qemu-project.org date: 04/01/2014
CPU: Single core Virtual a7769a6388d5 (-UP-) speed: 2394 MHz (max)
Graphics: Card: Cirrus Logic GD 5446
Display Server: N/A driver: cirrus
tty size: 79x33 Advanced Data: N/A for root out of X
Network: Card-1: Red Hat Virtio network device driver: virtio-pci
Card-2: Red Hat Virtio network device driver: virtio-pci
Drives: HDD Total Size: 21.5GB (20.1% used)
Info: Processes: 69 Uptime: 24 days Memory: 149.5/488.6MB
Init: systemd runlevel: 3 Client: Shell (bash) inxi: 2.3.38

#分区信息
[root@vultr gdrive]# inxi -p
Partition: ID-1: / size: 20G used: 4.1G (22%) fs: ext4 dev: /dev/vda1
ID-2: /gdrive size: 15G used: 43M (1%)
fs: fuse.google-drive-ocamlfuse dev: N/A

#驱动器信息
[root@vultr gdrive]# inxi -D
Drives: HDD Total Size: 21.5GB (20.1% used)
ID-1: /dev/vda model: N/A size: 21.5GB

#驱动型信息-详细
[root@vultr gdrive]# inxi -d
Drives: HDD Total Size: 21.5GB (20.1% used)
ID-1: /dev/vda model: N/A size: 21.5GB
Optical-1: /dev/sr0 model: QEMU QEMU DVD-ROM dev-links: cdrom
Features: speed: 4x multisession: yes
audio: yes dvd: yes rw: none

#网口信息
[root@vultr gdrive]# inxi -n
Network: Card-1: Red Hat Virtio network device driver: virtio-pci
IF: eth0 state: up speed: N/A duplex: N/A mac: 56:00:01:33:12:c1
Card-2: Red Hat Virtio network device driver: virtio-pci
IF: eth1 state: down mac: 5a:00:01:34:12:c1

#网口信息-详细
[root@vultr gdrive]# inxi -ni
Network: Card-1: Red Hat Virtio network device driver: virtio-pci
IF: eth0 state: up speed: N/A duplex: N/A mac: 56:00:01:33:12:c1
Card-2: Red Hat Virtio network device driver: virtio-pci
IF: eth1 state: down mac: 5a:00:01:34:12:c1
WAN IP: 12.34.56.78
IF: eth0 ip-v4: 12.34.56.78 ip-v6-link: fe80::3700:1ff:fe22:16c1
IF: eth1 ip-v4: N/A ip-v6-link: N/A

#声卡显卡
[root@vultr gdrive]# inxi -AG
Graphics: Card: Cirrus Logic GD 5446
Display Server: N/A driver: cirrus
tty size: 79x33 Advanced Data: N/A for root out of X

#驱动
[root@vultr gdrive]# inxi -r
Repos: Active yum sources in file: /etc/yum.repos.d/CentOS-Base.repo
base ~ http://mirrorlist.centos.org/?release=releasever&arch=basearch&repo=os&infra=infra
updates ~ http://mirrorlist.centos.org/?release=
releasever&arch=basearch&repo=updates&infra=infra
extras ~ http://mirrorlist.centos.org/?release=releasever&arch=basearch&repo=extras&infra=$infra

#信息
[root@vultr gdrive]# inxi -Fi
System: Host: vultr.guest Kernel: 3.10.0-514.26.2.el7.x86_64 x86_64
bits: 64
Console: tty 1 Distro: CentOS Linux release 7.4.1708 (Core)
Machine: Device: kvm System: QEMU product: Standard PC (i440FX + PIIX 1996) v: pc-i440fx-2.8 serial: N/A
Mobo: N/A model: N/A serial: N/A
BIOS: SeaBIOS v: rel-1.10.1-0-g8891697-prebuilt.qemu-project.org date: 04/01/2014
CPU: Single core Virtual a7769a6388d5 (-UP-) cache: 16384 KB
speed: 2394 MHz (max)
Graphics: Card: Cirrus Logic GD 5446
Display Server: N/A driver: cirrus
tty size: 79x33 Advanced Data: N/A for root out of X
Network: Card-1: Red Hat Virtio network device driver: virtio-pci
IF: eth0 state: up speed: N/A duplex: N/A mac: 45:67:01:89:1e:c1
Card-2: Red Hat Virtio network device driver: virtio-pci
IF: eth1 state: down mac: 5a:45:01:67:12:c1
WAN IP: 12.34.56.78
IF: eth0 ip-v4: 12.34.56.78 ip-v6-link: fe80::5400:1ff:fe88:12c1
IF: eth1 ip-v4: N/A ip-v6-link: N/A
Drives: HDD Total Size: 21.5GB (20.1% used)
ID-1: /dev/vda model: N/A size: 21.5GB
Partition: ID-1: / size: 20G used: 4.1G (22%) fs: ext4 dev: /dev/vda1
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: None detected - is lm-sensors installed and configured?
Info: Processes: 69 Uptime: 24 days Memory: 147.2/488.6MB
Init: systemd runlevel: 3 Client: Shell (bash) inxi: 2.3.38

#想获得更多的额外信息,可使用-xx选项。想获得还要多的额外信息,可使用-xxx选项

LEAVE A COMMENT

Captcha Code