on Solaris 10 it is not possible to compile the version 1.8.x with --enable-static, it gives iconv.h not found, even it is there.
If it is compiled without static libraries, then it works but gives a high load on the agend itself >1% cpu, the version 1.6.2 is somewhere at 0.1% cpu.
I checked the 1.8 agentd and it does lots and lots of kstat request interval is somewhere at 1 second.
Memory consumption is not correct calculated, it takes memory (RAM) and SWAP space, not only RAM.
individual zones (Container) cannot be measured, only the whole physical box
please provide a solution to make it run even on Solaris 10 (zones)
compiling does still not work (1.8.2)
checking for ICONV support... configure: error: Unable to find iconv.h "no"
config.log output:
configure:12969: gcc -o conftest -g -O2 -static conftest.c -lkvm -lm -lnsl -lkstat -lsocket -lresolv >&5
ld: fatal: library -lkvm: not found
ld: fatal: library -lm: not found
ld: fatal: library -lnsl: not found
ld: fatal: library -lkstat: not found
ld: fatal: library -lsocket: not found
ld: fatal: library -lresolv: not found
ld: fatal: library -lc: not found
ld: fatal: library -lc: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:12975: $? = 1
configure: failed program was:
| /* confdefs.h. */
...
...
| /* end confdefs.h. */
|
| #include <stdlib.h>
| #include <iconv.h>
|
| int
| main ()
| {
|
| iconv_t cd = iconv_open("","");
| iconv(cd, NULL, NULL, NULL, NULL);
| iconv_close(cd);
|
| ;
| return 0;
| }
configure:13025: gcc -o conftest -g -O2 -static conftest.c -lkvm -lm -lnsl -lkstat -lsocket -lresolv -liconv >&5
ld: fatal: library -lkvm: not found
ld: fatal: library -lm: not found
ld: fatal: library -lnsl: not found
ld: fatal: library -lkstat: not found
ld: fatal: library -lsocket: not found
ld: fatal: library -lresolv: not found
ld: fatal: library -liconv: not found
ld: fatal: library -lc: not found
ld: fatal: library -lc: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:13031: $? = 1
configure: failed program was:
| /* confdefs.h. */
...
...
| #define HAVE_PUTENV 1
| /* end confdefs.h. */
|
| #include <stdlib.h>
| #include <iconv.h>
|
| int
| main ()
| {
|
| iconv_t cd = iconv_open("","");
| iconv(cd, NULL, NULL, NULL, NULL);
| iconv_close(cd);
|
| ;
| return 0;
| }
configure:13076: error: Unable to find iconv.h "no"
If it is compiled without static libraries, then it works but gives a high load on the agend itself >1% cpu, the version 1.6.2 is somewhere at 0.1% cpu.
I checked the 1.8 agentd and it does lots and lots of kstat request interval is somewhere at 1 second.
Memory consumption is not correct calculated, it takes memory (RAM) and SWAP space, not only RAM.
individual zones (Container) cannot be measured, only the whole physical box
please provide a solution to make it run even on Solaris 10 (zones)
compiling does still not work (1.8.2)
checking for ICONV support... configure: error: Unable to find iconv.h "no"
config.log output:
configure:12969: gcc -o conftest -g -O2 -static conftest.c -lkvm -lm -lnsl -lkstat -lsocket -lresolv >&5
ld: fatal: library -lkvm: not found
ld: fatal: library -lm: not found
ld: fatal: library -lnsl: not found
ld: fatal: library -lkstat: not found
ld: fatal: library -lsocket: not found
ld: fatal: library -lresolv: not found
ld: fatal: library -lc: not found
ld: fatal: library -lc: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:12975: $? = 1
configure: failed program was:
| /* confdefs.h. */
...
...
| /* end confdefs.h. */
|
| #include <stdlib.h>
| #include <iconv.h>
|
| int
| main ()
| {
|
| iconv_t cd = iconv_open("","");
| iconv(cd, NULL, NULL, NULL, NULL);
| iconv_close(cd);
|
| ;
| return 0;
| }
configure:13025: gcc -o conftest -g -O2 -static conftest.c -lkvm -lm -lnsl -lkstat -lsocket -lresolv -liconv >&5
ld: fatal: library -lkvm: not found
ld: fatal: library -lm: not found
ld: fatal: library -lnsl: not found
ld: fatal: library -lkstat: not found
ld: fatal: library -lsocket: not found
ld: fatal: library -lresolv: not found
ld: fatal: library -liconv: not found
ld: fatal: library -lc: not found
ld: fatal: library -lc: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:13031: $? = 1
configure: failed program was:
| /* confdefs.h. */
...
...
| #define HAVE_PUTENV 1
| /* end confdefs.h. */
|
| #include <stdlib.h>
| #include <iconv.h>
|
| int
| main ()
| {
|
| iconv_t cd = iconv_open("","");
| iconv(cd, NULL, NULL, NULL, NULL);
| iconv_close(cd);
|
| ;
| return 0;
| }
configure:13076: error: Unable to find iconv.h "no"
Comment