...
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
title | Commands |
---|
|
uname -a # Displays kernel version and system architecture.
lscpu # Provides detailed information about the CPU.
lsblk # Lists all available block devices.
lsusb # Shows USB devices connected to the system.
|
Div |
---|
|
1.CPU and Memory Diagnostics |
Monitoring CPU and memory usage helps in identifying performance bottlenecks.
...
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
|
journalctl -u apache2
-- Logs begin at Tue 2024-06-18 10:55:23 UTC, end at Tue 2024-06-18 12:05:19 UTC. --
Jun 18 11:56:19 hostname systemd[1]: Starting The Apache HTTP Server...
Jun 18 11:56:19 hostname apache2[1342]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Jun 18 11:56:19 hostname systemd[1]: Started The Apache HTTP Server. |
...