Linux Lite Wiki

System

Log Locations

Linux Lite stores system logs in /var/log/.

Important log files:

Use less, cat, or tail to read logs:

sudo less /var/log/syslog

Lite System Monitor

Task Manager in Linux Lite offers a graphical view of running processes and system usage.

To open:

You can:

For a more detailed graphical interface, install System Monitor via Lite Software or Synaptic.

top, htop, journalctl

top:
A built-in terminal tool that shows real-time system resource usage.

top

Press q to quit.

Btop:
A more interactive version of top with better visuals. Install it using:

journalctl:
Used to query logs from systemd.

Examples:

journalctl             # View all logs
journalctl -b          # Logs from current boot
journalctl -u servicename.service  # Logs for a specific service
journalctl -xe         # View recent critical logs

Use arrows or PgUp/PgDn to scroll.

System Services

Linux Lite uses systemd as its init system to manage services during boot and runtime.

Key systemctl commands:

systemctl status           # Overview of services
systemctl status ssh       # Status of specific service
systemctl start service    # Start a service
systemctl stop service     # Stop a service
systemctl restart service  # Restart a service

Check all enabled services:

systemctl list-units --type=service

Enable/Disable SystemD Services

To enable a service at boot:

sudo systemctl enable service

To disable a service from starting at boot:

sudo systemctl disable service

These commands are essential for managing background daemons such as networking, printing, or cron jobs.

Boot Optimization

To analyze boot performance:

systemd-analyze

To see which services slow down boot:

systemd-analyze blame

You can disable unused services using systemctl to speed up boot time. Exercise caution—disabling essential services can break functionality.