Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Div
classtitle-box

System Information

Understanding your system's hardware and software configuration

Code Block
languagebash
themeMidnight
titleCommands
    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.
    uptime # Shows how long the system has been running and load averages. 



Div
classtitle-box

CPU and Memory Diagnostics

Monitoring CPU and memory usage helps in identifying performance bottlenecks.

...

Code Block
languagebash
themeMidnight
    mpstat
Linux 5.15.0-112-generic (testhost)    06/21/24        _x86_64_        (1 CPU)

10:37:12     CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
10:37:12     all    1.68    0.11    1.38    0.14    0.00    0.04    1.16    0.00    0.00   95.49


Div
classtitle-box

Disk Usage and Health

Keeping track of disk usage and health is crucial for preventing data loss and ensuring efficient storage management.

...

Code Block
languagebash
themeMidnight
 iostat
Linux 5.15.0-112-generic (testhost)    06/21/24        _x86_64_        (1 CPU)

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           1.68    0.11    1.41    0.14    1.16   95.50


Div
classtitle-box

Process and Service Management

Managing processes and services is essential for maintaining system stability.

...

Code Block
languagebash
themeMidnight
titleСommands
systemctl restart service_name # Restarts a service.

systemctl enable service_name # Enables a service to start at boot.
 
kill -9 process_id(PID) # Forces termination of a process.
(No output unless there is an error, the process is terminated forcefully)


Div
classtitle-box

Logs and Monitoring

Analyzing logs and monitoring system activities can help in identifying issues and tracking system performance.

...