This PR is adding another PID level that will allow users to monitor metrics independent of PID. The main goal of this PR is to create a way to summarize of socket information.
This PR also fix socket binary that was generating unexpected result for loopback and zero ports and addresses.
Test Plan
Get binaries according your LIBC from this link and extract them inside a directory.
You can also get everything for glibc here.
Extract them running:
$ for i in `ls *.zip`; do unzip $i; rm .gitkeep ; rm $i; done
$ for i in `ls *.xz`; do tar -xf $i; rm $i* ; done
Compile branch an run the following tests:
# make clean; make tester
# for i in `seq 0 3`; do ./kernel/legacy_test --netdata-path ../artifacts --content --iteration 2 --pid $i --log-path file_pid$i.txt; done
Every test should ends with Success, unless you do not have a specific target (function) available.
Summary
This PR is adding another PID level that will allow users to monitor metrics independent of PID. The main goal of this PR is to create a way to summarize of socket information. This PR also fix socket binary that was generating unexpected result for
loopback
and zeroports
andaddresses
.Test Plan
Get binaries according your LIBC from this link and extract them inside a
directory
. You can also get everything for glibc here.Extract them running:
Compile branch an run the following tests:
Every test should ends with
Success
, unless you do not have a specific target (function) available.Additional information
This PR was tested on: