Hi there
Is am running in a issue that the up-time from processes in the container are not correct.
Everything is 00:00 which is not ideal.
Below is just a small snippet.
Also this is a CentOS 7 container, but the debian and ubuntu have the same output.
While searching the inter-webs i came across some GitHub issues somewhat related?
https://github.com/lxc/lxd/issues/3517
https://github.com/lxc/lxcfs/issues/189
https://github.com/lxc/lxcfs/issues/164
Is am running in a issue that the up-time from processes in the container are not correct.
Everything is 00:00 which is not ideal.
Below is just a small snippet.
Also this is a CentOS 7 container, but the debian and ubuntu have the same output.
While searching the inter-webs i came across some GitHub issues somewhat related?
https://github.com/lxc/lxd/issues/3517
https://github.com/lxc/lxcfs/issues/189
https://github.com/lxc/lxcfs/issues/164
Bash:
[root@web ~]# cat /etc/centos-release
CentOS Linux release 7.7.1908 (Core)
[root@web ~]# ps -eo pid,comm,lstart,etime,time,args
PID COMMAND STARTED ELAPSED TIME COMMAND
1 systemd Mon Apr 20 03:16:02 2020 00:00 00:00:24 /sbin/init
36 systemd-journal Mon Apr 20 03:16:03 2020 00:00 00:00:14 /usr/lib/systemd/systemd-journald
69 systemd-logind Mon Apr 20 03:16:03 2020 00:00 00:00:11 /usr/lib/systemd/systemd-logind
70 dbus-daemon Mon Apr 20 03:16:03 2020 00:00 00:00:25 /usr/bin/dbus-daemon --system --address=systemd: --nofork -
89 saslauthd Mon Apr 20 03:16:03 2020 00:00 00:00:00 /usr/sbin/saslauthd -m /run/saslauthd -a pam -r
90 saslauthd Mon Apr 20 03:16:03 2020 00:00 00:00:00 /usr/sbin/saslauthd -m /run/saslauthd -a pam -r
91 saslauthd Mon Apr 20 03:16:03 2020 00:00 00:00:00 /usr/sbin/saslauthd -m /run/saslauthd -a pam -r
92 saslauthd Mon Apr 20 03:16:03 2020 00:00 00:00:00 /usr/sbin/saslauthd -m /run/saslauthd -a pam -r
93 saslauthd Mon Apr 20 03:16:03 2020 00:00 00:00:00 /usr/sbin/saslauthd -m /run/saslauthd -a pam -r
97 agetty Mon Apr 20 03:16:03 2020 00:00 00:00:00 /sbin/agetty --noclear --keep-baud console 115200,38400,960
99 crond Mon Apr 20 03:16:03 2020 00:00 00:00:01 /usr/sbin/crond -n
100 agetty Mon Apr 20 03:16:03 2020 00:00 00:00:00 /sbin/agetty --noclear --keep-baud lxc/tty1 115200,38400,96
382 sshd Mon Apr 20 03:16:12 2020 00:00 00:00:00 /usr/sbin/sshd -D
388 telegraf Mon Apr 20 03:16:12 2020 00:00 00:03:00 /usr/bin/telegraf -config /etc/telegraf/telegraf.conf -conf
396 rsyslogd Mon Apr 20 03:16:12 2020 00:00 00:00:08 /usr/sbin/rsyslogd -n
398 collectd Mon Apr 20 03:16:12 2020 00:00 00:00:44 /usr/sbin/collectd
402 f2b/server Mon Apr 20 03:16:12 2020 00:00 00:05:32 /usr/bin/python -s /usr/bin/fail2ban-server -xf start
437 dovecot Mon Apr 20 03:16:12 2020 00:00 00:00:01 /usr/sbin/dovecot
446 anvil Mon Apr 20 03:16:12 2020 00:00 00:00:00 dovecot/anvil
447 log Mon Apr 20 03:16:12 2020 00:00 00:00:00 dovecot/log
449 config Mon Apr 20 03:16:12 2020 00:00 00:00:00 dovecot/config
483 httpd Mon Apr 20 03:16:12 2020 00:00 00:00:05 /usr/sbin/httpd -DFOREGROUND
490 opendkim Mon Apr 20 03:16:12 2020 00:00 00:00:00 /usr/sbin/opendkim -b s
533 /usr/libexec/we Mon Apr 20 03:16:13 2020 00:00 00:00:00 /usr/libexec/webmin/virtual-server/lookup-domain-daemon.pl
537 proftpd Mon Apr 20 03:16:13 2020 00:00 00:00:01 proftpd: (accepting connections)
555 master Mon Apr 20 03:16:13 2020 00:00 00:00:01 /usr/libexec/postfix/master -w
557 qmgr Mon Apr 20 03:16:13 2020 00:00 00:00:00 qmgr -l -t unix -u
692 miniserv.pl Mon Apr 20 03:16:14 2020 00:00 00:00:00 /usr/bin/perl /usr/libexec/usermin/miniserv.pl /etc/usermin
698 miniserv.pl Mon Apr 20 03:16:15 2020 00:00 00:00:11 /usr/bin/perl /usr/libexec/webmin/miniserv.pl /etc/webmin/m
768 tlsmgr Mon Apr 20 03:16:17 2020 00:00 00:00:00 tlsmgr -l -t unix -u
9342 /usr/bin/spamd Mon Apr 20 04:32:21 2020 00:00 00:00:11 /usr/bin/spamd --pidfile /var/run/spamd.pid -d -c -m5 -H
9343 spamd child Mon Apr 20 04:32:22 2020 00:00 00:00:12 spamd child
9344 spamd child Mon Apr 20 04:32:22 2020 00:00 00:00:00 spamd child
13983 named Mon Apr 20 05:06:05 2020 00:00 00:01:58 /usr/sbin/named -u named -c /etc/named.conf -4
Bash:
root@prox1:~# pveversion --verbose
proxmox-ve: 6.1-2 (running kernel: 5.3.18-2-pve)
pve-manager: 6.1-8 (running version: 6.1-8/806edfe1)
pve-kernel-helper: 6.1-7
pve-kernel-5.3: 6.1-5
pve-kernel-5.0: 6.0-11
pve-kernel-5.3.18-2-pve: 5.3.18-2
pve-kernel-5.3.13-3-pve: 5.3.13-3
pve-kernel-5.0.21-5-pve: 5.0.21-10
ceph: 14.2.8-pve1
ceph-fuse: 14.2.8-pve1
corosync: 3.0.3-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: residual config
ifupdown2: 2.0.1-1+pve8
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.15-pve1
libpve-access-control: 6.0-6
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.0-17
libpve-guest-common-perl: 3.0-5
libpve-http-server-perl: 3.0-5
libpve-storage-perl: 6.1-5
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 3.2.1-1
lxcfs: 3.0.3-pve60
novnc-pve: 1.1.0-1
openvswitch-switch: 2.12.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.1-3
pve-cluster: 6.1-4
pve-container: 3.0-22
pve-docs: 6.1-6
pve-edk2-firmware: 2.20200229-1
pve-firewall: 4.0-10
pve-firmware: 3.0-6
pve-ha-manager: 3.0-9
pve-i18n: 2.0-4
pve-qemu-kvm: 4.1.1-4
pve-xtermjs: 4.3.0-1
qemu-server: 6.1-7
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.3-pve1