Closed jcoyne closed 6 years ago
i see one compile error:
linux_sigar.c:1449:36: error: 'HZ' undeclared (first use in this function)
tput = ((double)ios) * HZ / interval;
i have no time to test it, you can compile project:
git clone https://github.com/kostya/sigar.git
cd sigar
rake build
here i see similar bug https://github.com/zfsonlinux/zfs/issues/6357 they say thy change HZ, to hz, or try
#ifndef HZ
#define HZ 1000
#endif
if it fixed, we can add this changes here.
Dockerfile:
Output:
it works great on stretch: