Created
January 24, 2015 19:36
-
-
Save caglar10ur/9c0359c5d7d72c2172cb to your computer and use it in GitHub Desktop.
lxcfs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[caglar@qop:~/go/src/gopkg.in/lxc/go-lxc.v2/examples] ./start | |
2015/01/24 14:35:15 Starting the container... | |
2015/01/24 14:35:16 Waiting container to startup networking... | |
[caglar@qop:~/go/src/gopkg.in/lxc/go-lxc.v2/examples] ./stats | |
2015/01/24 14:35:23 MemoryUsage: 10.34MB | |
2015/01/24 14:35:23 MemoryLimit: 128.00MB | |
2015/01/24 14:35:23 KernelMemoryUsage: 3.52MB | |
2015/01/24 14:35:23 KernelMemoryLimit: 3.52MB | |
2015/01/24 14:35:23 MemorySwapUsage: 10.34MB | |
2015/01/24 14:35:23 MemorySwapLimit: 256.00MB | |
2015/01/24 14:35:23 BlkioUsage: 0.00B | |
2015/01/24 14:35:23 cpuacct.usage: 2.072984861s | |
2015/01/24 14:35:23 cpuacct.usageerrpercpu: map[3:0 0:997.663519ms 1:1.075321342s 2:0] | |
2015/01/24 14:35:23 cpuacct.stat: map[user:116 system:100] | |
2015/01/24 14:35:23 InterfaceStats: map[vethE1L57O:map[rx:2.10KB tx:5.19KB]] | |
[caglar@qop:~/go/src/gopkg.in/lxc/go-lxc.v2/examples] ./attach | |
2015/01/24 14:35:28 AttachShell | |
root@rubik:/# free -m | |
total used free shared buffers cached | |
Mem: 128 10 117 5 0 0 | |
-/+ buffers/cache: 10 117 | |
Swap: 975 0 975 | |
root@rubik:/# exit | |
[caglar@qop:~/go/src/gopkg.in/lxc/go-lxc.v2/examples] ./limit | |
[caglar@qop:~/go/src/gopkg.in/lxc/go-lxc.v2/examples] ./attach | |
2015/01/24 14:35:36 AttachShell | |
root@rubik:/# free -m | |
total used free shared buffers cached | |
Mem: 32 10 21 5 0 0 | |
-/+ buffers/cache: 10 21 | |
Swap: 975 0 975 | |
root@rubik:/# exit | |
[caglar@qop:~/go/src/gopkg.in/lxc/go-lxc.v2/examples] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment