0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-28 06:32:30 +00:00
netdata_netdata/libnetdata/threads
Costa Tsaousis a8ed7d2d03
Journal better estimations and watcher ()
* get the number of lines per journal file

* accurate estimates when using systemd 254+

* scan the journal files in reverse order, the newest first

* disable running journalctl; use the file last modification timestamp if the messages cannot be retrieved

* attempt to fix order of files scanned

* find the timestamps of all boot_ids during header updates

* added inotify watcher for detecting journal file changes

* handle all cases in watcher

* completed watcher

* remove debug info

* watcher now restarts when it gets inotify errors

* removed log

* do not remain the main thread of netdata
2023-11-24 18:48:42 +02:00
..
Makefile.am Makefile.am files indentation () 2019-11-11 01:30:00 +02:00
README.md More learn reorg/reordering () 2023-02-10 11:21:10 -08:00
threads.c Journal better estimations and watcher () 2023-11-24 18:48:42 +02:00
threads.h Journal better estimations and watcher () 2023-11-24 18:48:42 +02:00

Threads

Netdata uses a custom threads library