Dicas de Linux - Identificação da maquina
Ir para navegação
Ir para pesquisar
Nesta página estão indicados alguns comandos úteis para a identificação de uma máquina e seu sistema operacional
Nome e características do SO
- cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)" NAME="Debian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" VERSION_CODENAME=stretch ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
- lsb_release -a
No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 9.13 (stretch) Release: 9.13 Codename: stretch
- hostnamectl
Static hostname: sj-lin-des2-744926 Icon name: computer-desktop Chassis: desktop Machine ID: xxxxxxxxxxxx Boot ID: xxxxxxxxxxxx Operating System: Debian GNU/Linux 9 (stretch) Kernel: Linux 4.9.0-18-amd64 Architecture: x86-64
- uname -a
Linux <hostname> 4.9.0-18-amd64 #1 SMP Debian 4.9.303-1 (2022-03-07) x86_64 GNU/Linux
- inxi -S
apt install inxi
System: Host: <hostname> Kernel: 4.9.0-18-amd64 x86_64 (64 bit) Desktop: MATE 1.16.2 Distro: Debian GNU/Linux 9 (stretch)
Características da máquina
Resumo de várias características pode ser obtido com:
- inxi -F
apt install inxi
System: Host: <hostname> Kernel: 4.9.0-18-amd64 x86_64 (64 bit) Desktop: MATE 1.16.2 Distro: Debian GNU/Linux 9 (stretch) Machine: Device: desktop System: Dell product: OptiPlex 3020M v: 00 Mobo: Dell model: 0VRWRC v: A01 BIOS: Dell v: A14 date: 11/14/2018 CPU: Quad core Intel Core i5-4590T (-MCP-) cache: 6144 KB clock speeds: max: 3000 MHz 1: 2027 MHz 2: 2000 MHz 3: 2200 MHz 4: 2335 MHz Graphics: Card: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller Display Server: X.Org 1.19.2 drivers: modesetting (unloaded: fbdev,vesa) Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz GLX Renderer: Mesa DRI Intel Haswell Desktop GLX Version: 3.0 Mesa 13.0.6 Audio: Card-1 Intel 8 Series/C220 Series High Definition Audio Controller driver: snd_hda_intel Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller driver: snd_hda_intel Sound: Advanced Linux Sound Architecture v: k4.9.0-18-amd64 Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169 IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <mac_address> Drives: HDD Total Size: 1000.2GB (19.7% used) ID-1: /dev/sda model: TOSHIBA_MQ01ABD1 size: 1000.2GB Partition: ID-1: / size: 399G used: 184G (49%) fs: ext4 dev: /dev/sda4 Sensors: System Temperatures: cpu: 50.0C mobo: 27.8C Fan Speeds (in rpm): cpu: N/A Info: Processes: 228 Uptime: 2:47 Memory: 2340.4/15969.4MB Client: Shell (bash) inxi: 2.3.5