OpenMarine
Can I turn off openplotter when loaded? - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2)
+--- Thread: Can I turn off openplotter when loaded? (/showthread.php?tid=4249)



Can I turn off openplotter when loaded? - PaddyB - 2022-09-24

Playing around onboard this morning to see how much I can turn off to lower the load on a PiZero2W..

So far.. sudo systemctl stop(&disable)-- vnc server, lightdm, gpsd..

This leaves influx & signalk & grafana among others --
Code:
system.slice
            ├─grafana-server.service
            │ └─453 /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --pidfile=/run/grafana/grafana-server.pid --packaging=deb cfg:default.paths.logs
            ├─alsa-state.service
            │ └─384 /usr/sbin/alsactl -E HOME=/run/alsa -s -n 19 -c rdaemon
            ├─influxdb.service
            │ └─456 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
            ├─systemd-timesyncd.service
            │ └─306 /lib/systemd/systemd-timesyncd
            ├─mpd.service
            │ └─472 /usr/bin/mpd --no-daemon
            ├─mosquitto.service
            │ └─454 /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
            ├─hostapd.service
            │ └─515 /usr/sbin/hostapd -B -P /run/hostapd.pid -B /etc/hostapd/hostapd.conf
            ├─dbus.service
            │ └─362 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
            ├─udisks2.service
            │ └─347 /usr/lib/udisks2/udisksd
            ├─ssh.service
            │ └─492 /usr/sbin/sshd -D
            ├─dnsmasq.service
            │ └─483 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --loc
            ├─avahi-daemon.service
            │ ├─369 avahi-daemon: running [openplotter.local]
            │ └─410 avahi-daemon: chroot helper
            ├─system-serial\x2dgetty.slice
            │ └─serial-getty@ttyAMA0.service
            │   └─478 /sbin/agetty -o -p -- \u --keep-baud 115200,38400,9600 ttyAMA0 vt220
            ├─wpa_supplicant.service
            │ └─375 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
            ├─triggerhappy.service
            │ └─353 /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event*
            ├─systemd-logind.service
            │ └─359 /lib/systemd/systemd-logind
            ├─cups.service
            │ └─367 /usr/sbin/cupsd -l
            ├─polkit.service
            │ └─467 /usr/lib/policykit-1/polkitd --no-debug
            ├─cron.service
            │ └─366 /usr/sbin/cron -f
            ├─apache2.service
            │ ├─602 /usr/sbin/apache2 -k start
            │ ├─603 /usr/sbin/apache2 -k start
            │ └─604 /usr/sbin/apache2 -k start
            ├─systemd-udevd.service
            │ └─153 /lib/systemd/systemd-udevd
            ├─rsyslog.service
            │ └─379 /usr/sbin/rsyslogd -n -iNONE
            ├─systemd-journald.service
            │ └─119 /lib/systemd/systemd-journald
            ├─rng-tools.service
            │ └─395 /usr/sbin/rngd -r /dev/hwrng
            ├─dhcpcd.service
            │ ├─418 /sbin/dhcpcd -q -b
            │ └─485 wpa_supplicant -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan1 -Dnl80211,wext
            ├─signalk.service
            │ ├─348 /bin/sh /home/pi/.signalk/signalk-server
            │ └─360 node /usr/lib/node_modules/signalk-server/bin/signalk-server -c /home/pi/.signalk
            └─cups-browsed.service
              └─448 /usr/sbin/cups-browsed
So - plan is enable again & use openplotter/vnc to load/update software then all off again when up and running. 
Will this cause any problems I might come across later? Or any other stuff I could turn off?
Load average 2 minute seems to be down around 0.4 when it settles down. 
TIA  Cool


RE: Can I turn off openplotter when loaded? - tkurki - 2022-09-24

If all you are using OP for is updates consider installing & updating things from the command line. You seem to have the skills for that.


RE: Can I turn off openplotter when loaded? - PaddyB - 2022-09-24

(2022-09-24, 12:34 PM)tkurki Wrote: If all you are using OP for is updates consider installing & updating things from the command line. You seem to have the skills for that.

certainly an option once up and running but initially having openplotter set up repositories which work & play nice together could be handy

Though doesn't seem much difference in power...... about 5.3w or just over 6w with hifiberry playing back web radio. That's all running some usb/serial adptors & esp32 as well as the pi zero
[Image: 5bNp99C.png]