Ah. I see. You are USB based in your hardware. I did not think of that. I 
run an Ambient WS2000 so the API tool calls out to the Ambient web site and 
sucks back my data (which the display unit has kindly uploaded). I'll add 
an "add a USB port" section

On Wednesday, May 8, 2024 at 12:11:27 AM UTC-4 Graham Eddy wrote:

> proxmox - looking from inside the wx container mentioned in previous 
> email.
> (note that i am running satellite mailer daemon in the container too.)
>
> (venv) *graham@wx*:*~*$ ps -ef
>
> UID          PID    PPID  C STIME TTY          TIME CMD
>
> root           1       0  0 Feb20 ?        00:00:31 /lib/systemd/systemd 
> --syste
>
> root          48       1  0 Feb20 ?        00:36:34 
> /lib/systemd/systemd-journal
>
> root          99       1  0 Feb20 ?        00:00:00 dhclient -4 -v -i -pf 
> /run/d
>
> systemd+     103       1  0 Feb20 ?        00:00:05 
> /lib/systemd/systemd-network
>
> root         132       1  0 Feb20 ?        00:00:08 /usr/sbin/cron -f
>
> message+     133       1  0 Feb20 ?        00:00:04 /usr/bin/dbus-daemon 
> --syste
>
> root         139       1  0 Feb20 ?        00:00:07 
> /lib/systemd/systemd-logind
>
> root         163       1  0 Feb20 pts/0    00:00:00 /sbin/agetty -o -p -- 
> \u --n
>
> root         164       1  0 Feb20 pts/1    00:00:00 /sbin/agetty -o -p -- 
> \u --n
>
> root         165       1  0 Feb20 pts/2    00:00:00 /sbin/agetty -o -p -- 
> \u --n
>
> root         216       1  0 Feb20 ?        00:00:00 sshd: /usr/sbin/sshd 
> -D [lis
>
> root         309       1  0 Feb20 ?        00:00:17 
> /usr/lib/postfix/sbin/master
>
> weewx     154403       1  1 Apr09 ?        07:00:53 
> /home/weewx/venv/bin/python3
>
> weewx     154443       1  1 Apr09 ?        07:00:10 
> /home/weewx/venv/bin/python3
>
> weewx     233257       1  1 May04 ?        01:27:47 
> /home/weewx/venv/bin/python3
>
> postfix   246511     309  0 04:02 ?        00:00:00 qmgr -l -t unix -u
>
> postfix   248348     309  0 12:19 ?        00:00:00 pickup -l -t unix -u -c
>
> root      248664     216  0 13:45 ?        00:00:00 sshd: graham [priv]
>
> graham    248668       1  0 13:45 ?        00:00:00 /lib/systemd/systemd 
> --user
>
> graham    248669  248668  0 13:45 ?        00:00:00 (sd-pam)
>
> graham    248678  248664  0 13:45 ?        00:00:00 sshd: graham@pts/3
>
> graham    248679  248678  0 13:45 pts/3    00:00:00 -bash
>
> graham    248682  248679  0 13:45 pts/3    00:00:00 ps -ef
>
>
> (venv) *graham@wx*:*~*$ ls -l /dev
>
> total 0
>
> crw-rw---- 1 nobody dialout 188, 0 Feb 20 00:38 *aqua*
>
> crwx------ 1 root   tty     136, 0 May  4 10:50 *console*
>
> lrwxrwxrwx 1 root   root        11 Feb 20 00:40 *core* -> /proc/kcore
>
> lrwxrwxrwx 1 root   root        13 Feb 20 00:40 *fd* -> */proc/self/fd*
>
> crw-rw-rw- 1 nobody nogroup   1, 7 Feb 20 00:38 *full*
>
> lrwxrwxrwx 1 root   root        12 Feb 20 00:41 *initctl* -> /run/initctl
>
> lrwxrwxrwx 1 root   root        28 Feb 20 00:41 *log* -> 
> */run/systemd/journal/dev-log*
>
> drwxrwxrwt 2 nobody nogroup     40 Feb 20 00:40 mqueue
>
> crw-rw-rw- 1 nobody nogroup   1, 3 Feb 20 00:38 *null*
>
> crw-rw-rw- 1 root   root      5, 2 May  8 13:54 *ptmx*
>
> drwxr-xr-x 2 root   root         0 Feb 20 00:40 *pts*
>
> crw-rw-rw- 1 nobody nogroup   1, 8 Feb 20 00:38 *random*
>
> drwxrwxrwt 2 root   root        40 Feb 20 00:40 shm
>
> lrwxrwxrwx 1 root   root        15 Feb 20 00:40 *stderr* -> 
> */proc/self/fd/2*
>
> lrwxrwxrwx 1 root   root        15 Feb 20 00:40 *stdin* -> 
> */proc/self/fd/0*
>
> lrwxrwxrwx 1 root   root        15 Feb 20 00:40 *stdout* -> 
> */proc/self/fd/1*
>
> crw-rw-rw- 1 nobody nogroup   5, 0 May  8 12:00 *tty*
>
> crw--w---- 1 root   tty     136, 1 Feb 20 00:41 *tty1*
>
> crw--w---- 1 root   tty     136, 2 Feb 20 00:41 *tty2*
>
> crw-rw-rw- 1 nobody nogroup   1, 9 Feb 20 00:38 *urandom*
>
> crw-rw---- 1 nobody dialout 188, 1 May  8 13:50 *vp2*
>
> crw-rw-rw- 1 nobody nogroup   1, 5 Feb 20 00:38 *zero*
>
>
> and there is no hint i am running 10 other containers beside it.
>
> i should have mentioned earlier that the memory specified for a container 
> is the *max* allowed - it actually consumes only as much as it needs 
> (with the kernel image being shared). even with all those other containers 
> running, let alone the host’s own requirements, right now the host's 
> resources are hardly used:
>
> *graham@ballina*:*~*$ free -m
>
>                total        used        free      shared  buff/cache   
> available
>
> Mem:            7809        1853         546          11        5748      
>   5956
>
> Swap:           7807         516        7291
>
> *graham@ballina*:*~*$ uptime
>
>  14:04:35 up 78 days, 14:26,  1 user,  load average: 0.00, 0.04, 0.10
>
>
> cheers
> *⊣GE⊢*
>
> On 8 May 2024, at 1:30 PM, Graham Eddy <g...@geddy.au> wrote:
>
> as the doc hinted, putting proxmox itself aside, install/run weewx in LXC 
> *unprivileged* container is the same as running it outside a container, 
> with the benefit of it not being able to trample on rest of host
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/704ddced-1b2b-483d-a02d-25ad20a9cf18n%40googlegroups.com.

Reply via email to