Versions Compared

Key

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

...

Code Block
admin@Xorplus:~$ sudo journalctl /pica/bin/system/tools/picos_monitor/monitor
-- Journal begins at Thu 2022-06-09 14:56:49 UTC, ends at Thu 2022-06-09 16:00:06 UTC. --

admin@Xorplus:~$ tail -f /tmp/log/messages
Jan 17 2022 14:17:44 57switch  local0.info : [PICA_LIB_COMMON]Card batch set port state(2) successfully.
Jan 17 2022 14:17:48 57switch ntpd daemon.info : kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
Jan 17 2022 14:25:01 57switch su auth.notice : (to www-data) root on none


Monitor Process Management

We can use systemctl status picos-monitor command to check the status of monitor process, where ”Active: ” could be active or inactive, indicating the status of monitor process.

...

Code Block
admin@Xorplus:~$ sudo systemctl stop picos-monitor
admin@Xorplus:~$ sudo systemctl start picos-monitomonitor