module PlaceOS::Driver::Stats

Defined in:

placeos-driver/stats.cr

Class Method Summary

Class Method Detail

def self.dump_stats #

Useful for debugging, it outputs memory usage and internal protocol queue values

to obtain the stats you need to signal the process kill -s USR2 %PID


[View source]
def self.fiber_breakdown #

Histogram of live fibers grouped by name. Spawns without an explicit name are grouped under "unnamed". A leaking spawn site shows up here as a count that climbs between dumps - which pinpoints the source without guessing.


[View source]
def self.memory_usage #

[View source]
def self.protocol_tracking #

[View source]