ept3资源使用情况
# lxc-info -n lxc01
Name: lxc01
State: RUNNING
PID: 2159
IP: 10.0.3.26
CPU use: 4.00 seconds
Memory use: 32.55 MiB
KMem use: 0 bytes
Link: vethJBS8BM
TX bytes: 8.90 KiB
RX bytes: 7.03 KiB
Total bytes: 15.94 KiB
#
#
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 1785432 434792 1334256 25% /
devtmpfs 109408 4 109404 0% /dev
tmpfs 125904 0 125904 0% /dev/shm
tmpfs 125904 2112 123792 2% /run
tmpfs 125904 0 125904 0% /sys/fs/cgroup
tmpfs 125904 8 125896 0% /tmp
/dev/mmcblk0p1 1790500 22004 1659492 1% /mnt/mmcblk0p1
/dev/mmcblk0p2 7131 5951 1180 83% /mnt/mmcblk0p2
/dev/mmcblk0p1 1790500 22004 1659492 1% /mnt/internal_storage
/dev/loop0 18803 333 17037 2% /mnt/custom
/dev/loop1 289285 197008 72821 73% /mnt/internal_storage/lxc_dir/armhf.img_mnt
/dev/loop2 144640 11942 121946 9% /mnt/internal_storage/lxc_dir/lxc01/lxc01_data_dir
#
# free -m
total used free shared buff/cache available
Mem: 245 29 117 6 99 203
Swap: 0 0 0
# lxc-attach -n lxc01
root@lxc01:~# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 17:16 ? 00:00:00 /lib/systemd/systemd --system --
root 20 1 0 17:16 ? 00:00:00 /lib/systemd/systemd-journald
root 64 1 0 17:16 ? 00:00:00 dhclient -v -pf /run/dhclient.et
root 83 1 0 17:16 ? 00:00:00 /usr/sbin/cron -f
root 85 1 0 17:16 ? 00:00:00 /usr/bin/appm_lxc
root 86 1 1 17:16 ? 00:00:01 /opt/sbin/gprs
root 88 1 1 17:16 ? 00:00:01 /opt/sbin/readmeter
root 90 1 0 17:16 ? 00:00:00 /usr/sbin/rsyslogd -n
root 92 1 0 17:16 pts/3 00:00:00 /sbin/agetty --noclear --keep-ba
root 93 1 0 17:16 pts/2 00:00:00 /sbin/agetty --noclear --keep-ba
root 94 1 0 17:16 pts/1 00:00:00 /sbin/agetty --noclear --keep-ba
root 95 1 0 17:16 pts/0 00:00:00 /sbin/agetty --noclear --keep-ba
root 96 1 0 17:16 console 00:00:00 /sbin/agetty --noclear --keep-ba
root 378 1 0 17:18 ? 00:00:00 /usr/bin/sshd -D
root 385 0 1 17:18 pts/1 00:00:00 /bin/bash
root 389 385 0 17:18 pts/1 00:00:00 ps -ef