I am using cntools.
output from sudo systemctl status cnode
● cnode.service - Cardano Node
Loaded: loaded (/etc/systemd/system/cnode.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-09-06 21:07:52 CEST; 13min ago
Main PID: 901941 (bash)
Tasks: 17 (limit: 19090)
Memory: 2.6G
CPU: 19min 14.948s
CGroup: /system.slice/cnode.service
├─901941 bash /opt/cardano/cnode/scripts/cnode.sh
└─902051 /home/carda/.cabal/bin/cardano-node run --topology /opt/cardano/cnode/files/topology.json --con>
Sep 06 21:07:52 aha-momo.ch systemd[1]: Started Cardano Node.
Sep 06 21:07:52 aha-momo.ch cnode[901941]: INFO: Cleaned-up stale socket file
Sep 06 21:07:53 aha-momo.ch cnode[902051]: Listening on http://127.0.0.1:12798
output from sudo systemctl status cardano-cnode
Unit cardano-cnode.service could not be found.
o/p form journalctl -e -f -u cnode | grep kill
Sep 05 09:16:51 aha-momo.ch cnode[3277424]: ERROR: You specified 12788 as your EKG port, but it looks like the cardano-node (PID: 3277508 ) is not listening on this port. Please update the config or kill the conflicting process first.
Sep 05 10:16:38 aha-momo.ch systemd[1]: cnode.service: Control process exited, code=killed, status=2/INT
Sep 05 11:16:39 aha-momo.ch systemd[1]: cnode.service: Control process exited, code=killed, status=2/INT
Sep 05 12:16:40 aha-momo.ch systemd[1]: cnode.service: Control process exited, code=killed, status=2/INT
Sep 05 12:16:54 aha-momo.ch cnode[3322176]: ERROR: You specified 12788 as your EKG port, but it looks like the cardano-node (PID: 3322261 ) is not listening on this port. Please update the config or kill the conflicting process first.
Sep 05 13:16:40 aha-momo.ch systemd[1]: cnode.service: Control process exited, code=killed, status=2/INT
Sep 05 13:31:28 aha-momo.ch systemd[1]: cnode.service: Control process exited, code=killed, status=2/INT
Sep 05 13:32:25 aha-momo.ch cnode[3345433]: ERROR: You specified 12788 as your EKG port, but it looks like the cardano-node (PID: 3345517 ) is not listening on this port. Please update the config or kill the conflicting process first.
Sep 05 14:16:56 aha-momo.ch systemd[1]: cnode.service: Control process exited, code=killed, status=2/INT
Sep 05 15:16:57 aha-momo.ch systemd[1]: cnode.service: Control process exited, code=killed, status=2/INT
Sep 05 15:17:06 aha-momo.ch cnode[3552598]: ERROR: You specified 12788 as your EKG port, but it looks like the cardano-node (PID: 3552683 ) is not listening on this port. Please update the config or kill the conflicting process first.
Sep 05 16:16:58 aha-momo.ch systemd[1]: cnode.service: Control process exited, code=killed, status=2/INT
Sep 05 16:17:10 aha-momo.ch cnode[3568817]: ERROR: You specified 12788 as your EKG port, but it looks like the cardano-node (PID: 3568902 ) is not listening on this port. Please update the config or kill the conflicting process first.
Sep 05 17:17:10 aha-momo.ch systemd[1]: cnode.service: Control process exited, code=killed, status=2/INT
Sep 05 17:17:20 aha-momo.ch cnode[3583531]: ERROR: You specified 12788 as your EKG port, but it looks like the cardano-node (PID: 3583614 ) is not listening on this port. Please update the config or kill the conflicting process first.
Sep 05 18:17:11 aha-momo.ch systemd[1]: cnode.service: Control process exited, code=killed, status=2/INT
Sep 05 18:17:28 aha-momo.ch cnode[3599612]: ERROR: You specified 12788 as your EKG port, but it looks like the cardano-node (PID: 3599697 ) is not listening on this port. Please update the config or kill the conflicting process first.
Sep 05 19:17:11 aha-momo.ch systemd[1]: cnode.service: Control process exited, code=killed, status=2/INT
Sep 05 20:17:11 aha-momo.ch systemd[1]: cnode.service: Control process exited, code=killed, status=2/INT
Sep 05 21:17:12 aha-momo.ch systemd[1]: cnode.service: Control process exited, code=killed, status=2/INT
Sep 05 21:35:02 aha-momo.ch systemd[1]: cnode.service: Control process exited, code=killed, status=2/INT