Hey guys,
This script gives basic hardware info on the appliance.
Lab:
[Expert@CP-GW:0]# ./cp_hw_inventory.sh
==================================================================
Report metadata
==================================================================
Host: CP-GW
Timestamp: 2026-02-10_082328
Output file: /var/log/hw_inventory_CP-GW_2026-02-10_082328.txt
Gaia version:
Product version Check Point Gaia R82
OS build 777
OS kernel version 4.18.0-372.9.1cpx86_64
OS edition 64-bit
==================================================================
Gaia hardware inventory: show asset all
==================================================================
Platform: Standard PC (i440FX + PIIX, 1996)
CPU Model: QEMU Virtual CPU version 2.5+
CPU Frequency: 2394.230 Mhz
Number of Cores: 16
CPU Hyperthreading: Disabled
==================================================================
Hardware health sensors: show sysenv all
==================================================================
No hardware information available
==================================================================
Hardware sensors via cpstat: cpstat os -f sensors
==================================================================
Temperature Sensors
-----------------------------
|Name|Value|Unit|Type|Status|
-----------------------------
-----------------------------
Fan Speed Sensors
-----------------------------
|Name|Value|Unit|Type|Status|
-----------------------------
-----------------------------
Voltage Sensors
-----------------------------
|Name|Value|Unit|Type|Status|
-----------------------------
-----------------------------
==================================================================
CPU details (/proc/cpuinfo summary)
==================================================================
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
[WARN] Command failed: bash -c egrep -m1 'model name|Hardware|processor' /proc/cpuinfo; nproc 2>/dev/null || true
==================================================================
Memory details
==================================================================
total used free shared buff/cache available
Mem: 15732944 6837424 4097840 44960 4797680 7655836
Swap: 8388604 0 8388604
==================================================================
PCI devices (NICs, storage controllers, etc.): lspci -nn
==================================================================
00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000]
00:01.1 IDE interface [0101]: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] [8086:7010]
00:01.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
00:02.0 VGA compatible controller [0300]: Device [1234:1111] (rev 02)
00:03.0 Ethernet controller [0200]: VMware VMXNET3 Ethernet Controller [15ad:07b0] (rev 01)
00:04.0 Ethernet controller [0200]: VMware VMXNET3 Ethernet Controller [15ad:07b0] (rev 01)
00:05.0 Ethernet controller [0200]: VMware VMXNET3 Ethernet Controller [15ad:07b0] (rev 01)
==================================================================
USB devices: lsusb
==================================================================
unable to initialize libusb: -99
[WARN] Command failed: lsusb
==================================================================
DMI/BIOS/Baseboard/Memory inventory: dmidecode (summary)
==================================================================
command: -c: line 1: syntax error: unexpected end of file
[WARN] Command failed: bash -c
if command -v dmidecode >/dev/null 2>&1; then
dmidecode -t system -t baseboard -t chassis -t bios -t processor -t memory 2>&1
else
echo "[INFO] Not available: dmidecode"
fi
==================================================================
Block devices: lsblk
==================================================================
[INFO] Not available: lsblk
==================================================================
Network links (names + MACs): ip link
==================================================================
1: lo: <LOOPBACK,NOARP,PROMISC,AUTOMEDIA,NOTRAILERS,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT qlen 1000
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 UP mode DEFAULT qlen 1000
link/ether 50:01:00:06:00:00 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000
link/ether 50:01:00:06:00:01 brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000
link/ether 50:01:00:06:00:02 brd ff:ff:ff:ff:ff:ff
5: gre0@NONE: <NOARP> mtu 1476 qdisc noop state DOWN mode DEFAULT qlen 1000
link/gre 0.0.0.0 brd 0.0.0.0
6: gretap0@NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop state DOWN mode DEFAULT qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
7: erspan0@NONE: <BROADCAST,MULTICAST> mtu 1450 qdisc noop state DOWN mode DEFAULT qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
8: eth2.100@eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT qlen 1000
link/ether 50:01:00:06:00:02 brd ff:ff:ff:ff:ff:ff
==================================================================
Done
==================================================================
Saved: /var/log/hw_inventory_CP-GW_2026-02-10_082328.txt
[Expert@CP-GW:0]#
Best,
Andy