Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

General programming discussion • Re: 'Best' language for user Services

$
0
0
The Pi has now been running for two weeks since the last reboot. In addition to switching from using local sqlite databases (for everything except weewx) to the use of a mariadb database on my NAS, I removed one database-accessing service which was no longer needed (it assembled data to be displayed by an app on my main Windows machine - the app now takes it directly from the networked database). I have pasted a summary of top output since the reboot below. The relatively transient drops in free swap space seem to reflect the after-effects of periods of reasonably heavy interactive usage of the Pi, but otherwise everything seems to be working well.

Code:

Reboot after completely removing sqlite references from Service codeTue Jul  8 04:00:28 PM EDT 2025top - 16:00:29 up 2 min,  2 users,  load average: 2.07, 1.85, 0.80Tasks: 251 total,   1 running, 250 sleeping,   0 stopped,   0 zombie%Cpu(s): 50.0 us, 21.4 sy,  0.0 ni, 28.6 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st MiB Mem :    906.2 total,     44.0 free,    615.4 used,    322.4 buff/cache     MiB Swap:    500.0 total,    252.2 free,    247.8 used.    290.8 avail Mem Wed Jul  9 10:10:32 AM EDT 2025top - 10:10:32 up 18:12,  2 users,  load average: 0.92, 0.63, 0.33Tasks: 231 total,   1 running, 230 sleeping,   0 stopped,   0 zombie%Cpu(s): 21.4 us, 28.6 sy,  0.0 ni, 50.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st MiB Mem :    906.2 total,     73.5 free,    570.5 used,    335.6 buff/cache     MiB Swap:    500.0 total,    165.7 free,    334.3 used.    335.7 avail Mem Thu Jul 10 09:42:51 AM EDT 2025top - 09:42:51 up 1 day, 17:45,  2 users,  load average: 0.25, 0.17, 0.13Tasks: 234 total,   1 running, 233 sleeping,   0 stopped,   0 zombie%Cpu(s): 21.4 us, 28.6 sy,  0.0 ni, 50.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st MiB Mem :    906.2 total,     80.6 free,    521.3 used,    378.0 buff/cache     MiB Swap:    500.0 total,    117.6 free,    382.4 used.    384.9 avail Mem Sat Jul 12 09:24:42 AM EDT 2025top - 09:24:42 up 3 days, 17:27,  2 users,  load average: 0.02, 0.08, 0.11Tasks: 234 total,   1 running, 233 sleeping,   0 stopped,   0 zombie%Cpu(s): 16.7 us, 33.3 sy,  0.0 ni, 50.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st MiB Mem :    906.2 total,     49.9 free,    499.9 used,    435.7 buff/cache     MiB Swap:    500.0 total,     57.4 free,    442.6 used.    406.4 avail Mem Sun Jul 13 03:47:52 PM EDT 2025top - 15:47:52 up 4 days, 23:50,  2 users,  load average: 0.17, 0.16, 0.12Tasks: 230 total,   2 running, 228 sleeping,   0 stopped,   0 zombie%Cpu(s): 50.0 us, 25.0 sy,  0.0 ni, 25.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st MiB Mem :    906.2 total,     67.6 free,    526.1 used,    394.0 buff/cache     MiB Swap:    500.0 total,     64.4 free,    435.6 used.    380.2 avail Mem Tue Jul 15 10:19:18 AM EDT 2025top - 10:19:18 up 6 days, 18:21,  2 users,  load average: 0.19, 0.14, 0.15Tasks: 230 total,   2 running, 228 sleeping,   0 stopped,   0 zombie%Cpu(s): 27.3 us, 18.2 sy,  0.0 ni, 54.5 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st MiB Mem :    906.2 total,     37.9 free,    515.7 used,    432.4 buff/cache     MiB Swap:    500.0 total,    182.7 free,    317.3 used.    390.6 avail Mem Sun Jul 20 07:22:05 PM EDT 2025top - 19:22:06 up 12 days,  3:24,  2 users,  load average: 0.14, 0.10, 0.13Tasks: 230 total,   3 running, 227 sleeping,   0 stopped,   0 zombie%Cpu(s): 52.9 us, 23.5 sy,  0.0 ni, 23.5 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st MiB Mem :    906.2 total,     42.7 free,    498.6 used,    447.0 buff/cache     MiB Swap:    500.0 total,    122.1 free,    377.9 used.    407.6 avail Mem Wed Jul 23 09:47:03 AM EDT 2025top - 09:47:03 up 14 days, 17:49,  2 users,  load average: 0.25, 0.12, 0.10Tasks: 234 total,   2 running, 232 sleeping,   0 stopped,   0 zombie%Cpu(s): 33.3 us, 20.0 sy,  0.0 ni, 46.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st MiB Mem :    906.2 total,     28.0 free,    459.6 used,    492.8 buff/cache     MiB Swap:    500.0 total,     72.1 free,    427.9 used.    446.6 avail Mem 

Statistics: Posted by pfletch101 — Wed Jul 23, 2025 6:59 pm



Viewing all articles
Browse latest Browse all 8609

Trending Articles