/var/log

Time: 2023-07-25 12:34:56

User: root

Command: sudo systemctl status nginx

Status: active (exited)

Exit Code: 0

Timestamp: 2023-07-25 12:34:56

Process: systemd

Details: The system has been booting since 2023-07-25 12:34:56.

Note: All services have been started successfully.

Log Level: Info

Message: System booted since 2023-07-25 12:34:56.

Parent PID: 1

/var/log

Time: 2023-07-25 12:34:56

User: root

Command: sudo systemctl restart nginx

Status: active (started)

Exit Code: 0

Timestamp: 2023-07-25 12:34:56

Process: systemd

Details: Nginx service was restarted successfully.

Note: Service has been started since 2023-07-25 12:34:56.

Log Level: Info

Message: Nginx service started successfully.

Parent PID: 1

/var/log

Time: 2023-07-25 12:34:56

User: root

Command: sudo systemctl status apache2

Status: active (exited)

Exit Code: 0

Timestamp: 2023-07-25 12:34:56

Process: systemd

Details: Apache2 service has been started successfully.

Note: All services have been started successfully.

Log Level: Info

Message: Apache2 service started successfully.

Parent PID: 1

/var/log

Time: 2023-07-25 12:34:56

User: root

Command: sudo systemctl enable apache2

Status: active (enabled)

Exit Code: 0

Timestamp: 2023-07-25 12:34:56

Process: systemd

Details: Apache2 service has been enabled successfully.

Note: Service is now set to start on boot.

Log Level: Info

Message: Apache2 service enabled successfully.

Parent PID: 1