jvm.monitor
class-loading-bean
added in 3.0
(class-loading-bean)gives information about class loading
(object/to-map (class-loading-bean)) => (contains {:loaded-class-count number? :total-loaded-class-count number? :unloaded-class-count number?})
compilation-bean
added in 3.0
(compilation-bean)gives information about compilation
(object/to-map (compilation-bean)) => (contains {:name string? :total-compilation-time number?})
gc-bean
added in 3.0
(gc-bean)gives information about the garbage collector
(object/to-map (first (gc-bean))) => (contains {:collection-count number? :collection-time number?})
jvm
added in 3.0
(jvm)(jvm k)Access to all java.lang.management.ManagementFactory MXBean methods
(jvm) => :class-loading :compilation :gc :memory :memory-manager :memory-pool :os :runtime :thread
(jvm :gc) ;; => {:collection-count 33, :collection-time 1089} ;; {:collection-count 4, :collection-time 585}
(jvm :all) ;; =>
memory-bean
added in 3.0
(memory-bean)gives information about the system memory
(object/to-map (memory-bean)) => (contains-in {:heap-memory-usage {:committed number? :init number? :max number? :used number?} :non-heap-memory-usage {:committed number? :init number? :max number? :used number?} :object-pending-finalization-count number?})
memory-manager-bean
added in 3.0
(memory-manager-bean)gives information about the memory manager
(object/to-data (memory-manager-bean)) => (any (contains-in [{:memory-pool-names string?, :name string?}]) map?)
memory-pool-bean
added in 3.0
(memory-pool-bean)gives information about the memory pool
(object/to-map (first (memory-pool-bean)))
os-bean
added in 3.0
(os-bean)gives information about the operating system
(object/to-map (os-bean)) => (contains {:arch string? :available-processors number? :name string? :system-load-average number? :version string?})
runtime-bean
added in 3.0
(runtime-bean)gives information about the system runtime
(object/to-map (runtime-bean))
thread-bean
added in 3.0
(thread-bean)gives information about the current thread executor
(object/to-map (thread-bean))