Общая информация о системе
Используя команду hostnamectl
можно узнать общую информацию о системе: имя устройства, аппаратная платформа, версия операционной системы и д.р.
yunsergey@ubn-zabbix:~$ hostnamectl
Static hostname: ubn-zabbix
Icon name: computer-vm
Chassis: vm 🖴
Machine ID: b3b3a1a30068457aa54834505c34789e
Boot ID: a4dee9a0d4d2469cb56bed21b1b23248
Virtualization: vmware
Operating System: Ubuntu 24.04.1 LTS
Kernel: Linux 6.8.0-51-generic
Architecture: x86-64
Hardware Vendor: VMware, Inc.
Hardware Model: VMware Virtual Platform
Firmware Version: 6.00
Firmware Date: Thu 2020-11-12
Firmware Age: 4y 2month 1w 2d
yunsergey@ubn-zabbix:~$
Имя устройства
Чтобы узнать имя устройства наберите команду hostname
:
yunsergey@ubn-zabbix:~$ hostname
ubn-zabbix
yunsergey@ubn-zabbix:~$
Информация о операционной системе
yunsergey@ubn-zabbix:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble
yunsergey@ubn-zabbix:~$
Добавить комментарий