0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-06 22:38:55 +00:00
netdata_netdata/packaging/utils
Costa Tsaousis 06bf6631a0
apps.plugin for windows ()
* 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>
2024-09-30 17:30:32 +03:00
..
compile-on-windows.sh apps.plugin for windows () 2024-09-30 17:30:32 +03:00
coverity-scan.sh Fix detection of Coverity archive path in scan script. () 2024-07-15 06:56:03 -04:00
find-dll-deps.sh Run the agent as a Windows service. () 2024-07-02 12:19:20 +03:00