draios / sysdig

Linux system exploration and troubleshooting tool with first class support for containers
http://www.sysdig.com/
Other
7.74k stars 729 forks source link

topprocs_cpu chisel not working on Ubuntu 12.04.4 LTS #146

Closed jors closed 10 years ago

jors commented 10 years ago

sysdig -c topprocs_cpu -w capfile

topprocs_cpu chisel error: calling on_interval() failed:/usr/share/sysdig/chisels/common.lua:138: bad argument #1 to 'ipairs' (table expected, got string)

ls -lh capfile

-rw-r--r-- 1 root root 95K mai 7 16:47 capfile

sysdig -r capfile

expecting 8 bytes, read 0 at /root/workspace/agent-build-stable/label/builder-centos-64/sysdig/userspace/libscap/scap_savefile.c, line 1590. Is the file truncated?

I did a manual install following steps from https://github.com/draios/sysdig/wiki/How%20to%20Install%20Sysdig%20for%20Linux#manual-installation

ldegio commented 10 years ago

This is a bug in the latest release that should have been fixed on master.

For the moment, you should be able to make it work if you install from the sources https://github.com/draios/sysdig/wiki/How%20to%20Install%20Sysdig%20from%20the%20Source%20Code.

We'll soon make a new release so that the official build will work too.