* address_collection: Fix os version
* address_collection: Cleanup code
* address_collection: Add install type
* address_collection: Address kernel version
* address_collection: Adjust variables for Microsoft
* apps.plugin now supports simple patterns when an asterisk is in the middle of a match; expanded kernel threads matching to group them into meaningful entities
* removed cli tools
* systemd merged
* apps.plugin now has the option to print the tree with the target assignment
* apps.plugin now extracts the full comm name from the cmdline
* optimizations
* updated windows comm handling
* get the full command line on windows
* extract service names for svchost.exe processes
* get service names from SCM
* Update src/collectors/apps.plugin/README.md
Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
* Update src/collectors/apps.plugin/README.md
Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
* Update src/collectors/apps.plugin/README.md
Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
* Update src/collectors/apps.plugin/README.md
Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
* Update src/collectors/apps.plugin/README.md
Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
* Update src/collectors/apps.plugin/README.md
Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
* Update src/collectors/apps.plugin/README.md
Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
* Update src/collectors/apps.plugin/README.md
Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
* Update src/collectors/apps.plugin/README.md
Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
* Update src/collectors/apps.plugin/README.md
Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
* fix compilation on freebsd and macos
* windows priveleges
* add missing opening quote on windows spawn server
* fix alerts notifications infinite loop when alarm-notify.sh cannot be executed
---------
Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
* log agent start / stop events
* Make it simple
* Populate average start/shutdown time in stream path
* Get the median and not the average of the values
* Change the log
* apps.plugin uses a hashtable for pids; apps.plugin pids sortlist cleanup
* struct pid_stat now uses aral
* structures cleanup
* remove limitation on command name length
* fix log
* process tree grouping which automatically groups the processes based on the process tree
* cleanup
* revert accidental changes
* fix debug logs for STRING pointers
* moved perflib to libnetdata; fixed apps.plugin to accept windows specific functions; not yet working on windows
* fix for linux
* basic structure for perflib collection
* control features per O/S
* split aggregations
* isolate user and group targets per O/S
* gather all O/S functions together
* fix for windows
* virtualized all process variables
* fixed macro; process name extracted from cmdline in a better way
* finished modularizing the whole code
* fix compilation on windows
* fix compilation on macos
* fix format in debug statement
* windows collector for apps.plugin
* windows processes CPU
* fix process name
* fix macos
* fix freebsd
* make it run under clion windows
* cpu utilization in NANOSECONDCORES
* windows cpu utilization in nanosecondcores
* memory utilization is internally in bytes
* exclude pid 0 on windows
* remove the updated flag too
* reset the processing flags at the beginning
* fixed exited processes processing
* fixes for exited children
* fix for macos
* fix for freebsd
* handles are now a type of fd
* fix fds on windows
* macos and freebsd have logical I/O, not physical I/O
* freebsd now reports i/o bytes, not blocks
* I/O calls are now I/O ops
* fix uptime in windows
* get more friendly windows process names
* added parents to function; added orchestrators and aggregators; added mutex to processes function
* added pid name, when it is available
* documentation
* more code cleanup
* fixes for windows
* fix infinite pool
* add name to processes function, when available
* break infinite loop when processes are linked in a loop
* parent-child loop detection earlier
* debug loops
* debug loops
* debug loops
* debug loops
* debug loops
* debug loops
* debug loops
* debug loops
* debug loops
* fixed parents loops
* do not errno in loops
* cosmetic changes
* fixed exited pids processing
* simplified exited pids processing
* simplified exited pids processing again
* code rearrange on users and groups
* fix freebsd; new tree process chart name and label
* pid 0 is an aggregator for all operating systems
* System becomes kernel
* Update src/collectors/apps.plugin/README.md
Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
* fixed typo
* fixed bug in procfile parsing when multiple opening and closing brackets appear
* removed trailing spaces from cmdline
* fixed orchestrators
* merged tree and app_groups groupings
* updated app_groups.conf
* added docker-init
---------
Co-authored-by: Costa Tsaousis <costa@Costas-Macbook-Pro.local>
Co-authored-by: Costa Tsaousis <costa@MacBookPro.plaka>
Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
* Remove pthread locks / use spinlocks
* Remove redundant checks as mallocz, callocz can't return NULL
* Change logging
More code cleanup
* Change random number generation
Set Origin to empty
Use BCryptGenRandom
* More cleanup
Deduplicate base64_encode/decode
* Address review comments