]> git.ipfire.org Git - thirdparty/lxc.git/commit
Increased buffer length in print_stats() 1494/head
authorDenis Pynkin <dans@altlinux.org>
Thu, 30 Mar 2017 15:31:48 +0000 (18:31 +0300)
committerDenis Pynkin <dans@altlinux.org>
Thu, 30 Mar 2017 15:43:25 +0000 (18:43 +0300)
commit1bbc627538f4b345481ef55a7fe65e565f3810c5
treeab26dbe650624eacde909226ffc000f9c6511d22
parent1a9eaaab20fc41a096808fd36f355c54a0f4c1ce
Increased buffer length in print_stats()

Some "/sys" entries exceeds buffer size.
This results to some statistics loss ('BlkIO' in particular):

 wc -c /sys/fs/cgroup/blkio/lxc/alt/blkio.throttle.io_service_bytes
 318 /sys/fs/cgroup/blkio/lxc/alt/blkio.throttle.io_service_bytes

Signed-off-by: Denis Pynkin <dans@altlinux.org>
src/lxc/tools/lxc_info.c