This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I turn off openplotter when loaded?
#1
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
Reply
#2
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.
Reply
#3
(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]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)