Metric
Get the metrics of the server and its machine: sessions, CPU, memory, swap, file system roots, operating system and Java version. Typical uses: monitor the server, check resources before a heavy task.
metric sessionsmetric systemmetric current available memmetric current cpu jvmmetric current cpu systemmetric current free memmetric current free swap memmetric current mem jvmmetric gcmetric current used memmetric current used swap memmetric datemetric file system rootsmetric java vendormetric java versionmetric system architecturemetric system namemetric system nb processormetric system versionmetric total memmetric total swap mem
metric sessions
Description
To show all the metrics about sessions
To show all the metrics about sessions
admin
metric sessions
mentdb
Cmd on 31 days (total: 16): [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16] Session on 31 days (total: 4): [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4] Open sessions: 2/20 - id: 1, user: ai, nbExecution=2, life: 142/600s, used: 142, maxUsable: 600 - id: 3, user: admin, nbExecution=8, life: 0/600s, used: 0, maxUsable: 600
Often used with
cmdid · count sessions · date sysdate · exceeded sessions · log archive path · log archive size · log current id · log retention day
cmdid · count sessions · date sysdate · exceeded sessions · log archive path · log archive size · log current id · log retention day
metric system
Description
To show all the statistics about the system
To show all the statistics about the system
admin
metric system
mentdb
AI: Lisa Payet ID: NNeWO1VGLmeI MentDB: v_alpha-0.3.1 Author: Jimmitry PAYET, Programmer Analyst Contact: jim@innov-ai.com Java: v_1.8.0_25, Oracle Corporation Mac OS X: v_10.10.5, x86_64, nb_proc: 4 Cpu jvm: 0.0%, Cpu sys: 76.1%, Used jvm mem: 255/757/1820M, Used mem: 5120/8192M (cache 2370M), Used swap mem: 2456/4096M Cpu on 24 hours: [0.0] Mem on 24 hours: [85] File system roots: - [/] 81%, usedSpace: 195027M, freeSpace: 43220M, totalSpace: 238248M
Used in use cases (2 recipes)
IoT & sensor engineer › Health report of an IoT gateway
System administrator & DevOps › Morning check line from the system statistics
IoT & sensor engineer › Health report of an IoT gateway
System administrator & DevOps › Morning check line from the system statistics
Often used with
string regexp_extract · json doc · json iobject · metric current available mem · metric current cpu jvm · metric date · or · os hostname
string regexp_extract · json doc · json iobject · metric current available mem · metric current cpu jvm · metric date · or · os hostname
metric current available mem
Description
To show the memory available for the applications in MB: the free memory plus the cache the system gives back on demand (Linux: MemAvailable, macOS: free, inactive and speculative pages, Windows: free memory)
To show the memory available for the applications in MB: the free memory plus the cache the system gives back on demand (Linux: MemAvailable, macOS: free, inactive and speculative pages, Windows: free memory)
admin
metric current available mem
mentdb
4520
Used in use cases (7 recipes)
Backend & web service developer › Health check endpoint for the load balancer
Debugging & error handling › A health snapshot of the server as JSON
IoT & sensor engineer › Health report of an IoT gateway
System administrator & DevOps › Health report in JSON for the monitoring
Cluster & high-availability engineer › Compute the load signal of this node
System administrator & DevOps › Trace a check in the log and find it back
and 1 more in the Use cases
Backend & web service developer › Health check endpoint for the load balancer
Debugging & error handling › A health snapshot of the server as JSON
IoT & sensor engineer › Health report of an IoT gateway
System administrator & DevOps › Health report in JSON for the monitoring
Cluster & high-availability engineer › Compute the load signal of this node
System administrator & DevOps › Trace a check in the log and find it back
and 1 more in the Use cases
Often used with
metric total mem · json doc · json iobject · metric current cpu jvm · metric current cpu system · atom get · metric current mem jvm · metric system nb processor
metric total mem · json doc · json iobject · metric current cpu jvm · metric current cpu system · atom get · metric current mem jvm · metric system nb processor
metric current cpu jvm
Description
To show the current JVM CPU usage
To show the current JVM CPU usage
admin
metric current cpu jvm
mentdb
0.0
Used in use cases (7 recipes)
Backend & web service developer › Health check endpoint for the load balancer
Scheduler developer › A sampling job and statistics on its rolling window
Debugging & error handling › Memory and CPU before and after a heavy step
IoT & sensor engineer › Health report of an IoT gateway
System administrator & DevOps › Health report in JSON for the monitoring
Cluster & high-availability engineer › Compute the load signal of this node
and 1 more in the Use cases
Backend & web service developer › Health check endpoint for the load balancer
Scheduler developer › A sampling job and statistics on its rolling window
Debugging & error handling › Memory and CPU before and after a heavy step
IoT & sensor engineer › Health report of an IoT gateway
System administrator & DevOps › Health report in JSON for the monitoring
Cluster & high-availability engineer › Compute the load signal of this node
and 1 more in the Use cases
Often used with
atom get · metric current mem jvm · json doc · metric current available mem · json iarray · json iobject · metric current cpu system · metric total mem
atom get · metric current mem jvm · json doc · metric current available mem · json iarray · json iobject · metric current cpu system · metric total mem
metric current cpu system
Description
To show the current system CPU usage
To show the current system CPU usage
admin
metric current cpu system
mentdb
9.0
Used in use cases (5 recipes)
Debugging & error handling › A health snapshot of the server as JSON
System administrator & DevOps › Health report in JSON for the monitoring
Cluster & high-availability engineer › Compute the load signal of this node
System administrator & DevOps › Peak or sustained CPU load?
Cluster & high-availability engineer › How many nodes for Black Friday?
Debugging & error handling › A health snapshot of the server as JSON
System administrator & DevOps › Health report in JSON for the monitoring
Cluster & high-availability engineer › Compute the load signal of this node
System administrator & DevOps › Peak or sustained CPU load?
Cluster & high-availability engineer › How many nodes for Black Friday?
Often used with
metric current available mem · metric total mem · json doc · metric current cpu jvm · metric system nb processor · atom get · json iobject · math max
metric current available mem · metric total mem · json doc · metric current cpu jvm · metric system nb processor · atom get · json iobject · math max
metric current free mem
Description
To show the current free memory
To show the current free memory
admin
metric current free mem
mentdb
503
Used in use cases (2 recipes)
Debugging & error handling › Memory and CPU before and after a heavy step
System administrator & DevOps › Health report in JSON for the monitoring
Debugging & error handling › Memory and CPU before and after a heavy step
System administrator & DevOps › Health report in JSON for the monitoring
Often used with
atom get · metric current cpu jvm · metric current mem jvm · date systimestamp · json doc · json iarray · json iobject · metric current available mem
atom get · metric current cpu jvm · metric current mem jvm · date systimestamp · json doc · json iarray · json iobject · metric current available mem
metric current free swap mem
Description
To show the current free swap memory
To show the current free swap memory
admin
metric current free swap mem
mentdb
1093
metric current mem jvm
Description
To show the current JVM memory status
To show the current JVM memory status
admin
metric current mem jvm
mentdb
32/123/1820
Used in use cases (5 recipes)
Backend & web service developer › Health check endpoint for the load balancer
Scheduler developer › A sampling job and statistics on its rolling window
Debugging & error handling › Memory and CPU before and after a heavy step
System administrator & DevOps › Health report in JSON for the monitoring
Cluster & high-availability engineer › Compute the load signal of this node
Backend & web service developer › Health check endpoint for the load balancer
Scheduler developer › A sampling job and statistics on its rolling window
Debugging & error handling › Memory and CPU before and after a heavy step
System administrator & DevOps › Health report in JSON for the monitoring
Cluster & high-availability engineer › Compute the load signal of this node
Often used with
atom get · metric current cpu jvm · metric current available mem · metric total mem · json doc · json iarray · json iobject · metric current cpu system
atom get · metric current cpu jvm · metric current available mem · metric total mem · json doc · json iarray · json iobject · metric current cpu system
metric gc
Description
To force a garbage collection of the JVM of the server (reserved to sys): used_before_mb, used_after_mb, freed_mb, free_mb, total_mb, max_mb (-1 without limit), duration_ms and collections (the collections done during the call, 0 when the JVM ignores explicit calls: -XX:+DisableExplicitGC). Rarely needed, the JVM collects by itself: useful to measure the memory really kept after a big processing. One forced collection at a time. Fixed result of a real run after 400 MB of arrays were dropped
To force a garbage collection of the JVM of the server (reserved to sys): used_before_mb, used_after_mb, freed_mb, free_mb, total_mb, max_mb (-1 without limit), duration_ms and collections (the collections done during the call, 0 when the JVM ignores explicit calls: -XX:+DisableExplicitGC). Rarely needed, the JVM collects by itself: useful to measure the memory really kept after a big processing. One forced collection at a time. Fixed result of a real run after 400 MB of arrays were dropped
admin
metric gc
mentdb
{"duration_ms":2,"collections":1,"total_mb":50,"used_before_mb":401,"used_after_mb":11,"freed_mb":390,"free_mb":38,"max_mb":2048}
metric current used mem
Description
To show the current usable memory
To show the current usable memory
admin
metric current used mem
mentdb
7690
metric current used swap mem
Description
To show the current used swap memory
To show the current used swap memory
admin
metric current used swap mem
mentdb
1978
metric date
Description
To show the 31 last days, from the oldest to today (JSON array)
To show the 31 last days, from the oldest to today (JSON array)
admin
metric date
mentdb
["2026-10-02", "2026-10-03", "2026-10-04", "2026-10-05", "2026-10-06", "2026-10-07", "2026-10-08", "2026-10-09", "2026-10-10", "2026-10-11", "2026-10-12", "2026-10-13", "2026-10-14", "2026-10-15", "2026-10-16", "2026-10-17", "2026-10-18", "2026-10-19", "2026-10-20", "2026-10-21", "2026-10-22", "2026-10-23", "2026-10-24", "2026-10-25", "2026-10-26", "2026-10-27", "2026-10-28", "2026-10-29", "2026-10-30", "2026-10-31", "2026-11-01"]
Used in use cases (2 recipes)
IoT & sensor engineer › Health report of an IoT gateway
System administrator & DevOps › Do the logs cover the metric window?
IoT & sensor engineer › Health report of an IoT gateway
System administrator & DevOps › Do the logs cover the metric window?
Often used with
string regexp_extract · date dayname · date nb_business_days · date nb_day · json doc · json iobject · log retention day · metric current available mem
string regexp_extract · date dayname · date nb_business_days · date nb_day · json doc · json iobject · log retention day · metric current available mem
metric file system roots
Description
To show the statistics of all the system roots
To show the statistics of all the system roots
admin
metric file system roots
mentdb
[{"usedSpace":"148708","freeSpace":"89539","absolutePath":"\/","totalSpace":"238248"}]
metric java vendor
Description
To show the Java vendor
To show the Java vendor
admin
metric java vendor
mentdb
Oracle Corporation
Used in use cases (2 recipes)
Debugging & error handling › A health snapshot of the server as JSON
System administrator & DevOps › Server inventory and security checks
Debugging & error handling › A health snapshot of the server as JSON
System administrator & DevOps › Server inventory and security checks
Often used with
json doc · json iobject · metric java version · metric system architecture · metric system name · metric system nb processor · metric system version · ai firstname
json doc · json iobject · metric java version · metric system architecture · metric system name · metric system nb processor · metric system version · ai firstname
metric java version
Description
To show the Java version
To show the Java version
admin
metric java version
mentdb
1.8.0_25
Used in use cases (4 recipes)
Debugging & error handling › A health snapshot of the server as JSON
System administrator & DevOps › Server inventory and security checks
Cluster & high-availability engineer › Compute the load signal of this node
System administrator & DevOps › CMDB record with a hashed host id
Debugging & error handling › A health snapshot of the server as JSON
System administrator & DevOps › Server inventory and security checks
Cluster & high-availability engineer › Compute the load signal of this node
System administrator & DevOps › CMDB record with a hashed host id
metric system architecture
Description
To show the architecture of the operating system
To show the architecture of the operating system
admin
metric system architecture
mentdb
x86_64
metric system name
Description
To show the name of the operating system
To show the name of the operating system
admin
metric system name
mentdb
Mac OS X
metric system nb processor
Description
To show the number of processors of the operating system
To show the number of processors of the operating system
admin
metric system nb processor
mentdb
4
Used in use cases (5 recipes)
Debugging & error handling › A health snapshot of the server as JSON
System administrator & DevOps › Server inventory and security checks
Cluster & high-availability engineer › Compute the load signal of this node
System administrator & DevOps › CMDB record with a hashed host id
Cluster & high-availability engineer › How many nodes for Black Friday?
Debugging & error handling › A health snapshot of the server as JSON
System administrator & DevOps › Server inventory and security checks
Cluster & high-availability engineer › Compute the load signal of this node
System administrator & DevOps › CMDB record with a hashed host id
Cluster & high-availability engineer › How many nodes for Black Friday?
metric system version
Description
To show the version of the operating system
To show the version of the operating system
admin
metric system version
mentdb
10.10.5
Used in use cases (2 recipes)
Debugging & error handling › A health snapshot of the server as JSON
System administrator & DevOps › Server inventory and security checks
Debugging & error handling › A health snapshot of the server as JSON
System administrator & DevOps › Server inventory and security checks
Often used with
json doc · json iobject · metric java vendor · metric java version · metric system architecture · metric system name · metric system nb processor · ai firstname
json doc · json iobject · metric java vendor · metric java version · metric system architecture · metric system name · metric system nb processor · ai firstname
metric total mem
Description
To show the current total memory
To show the current total memory
admin
metric total mem
mentdb
8192
Used in use cases (7 recipes)
Backend & web service developer › Health check endpoint for the load balancer
Debugging & error handling › A health snapshot of the server as JSON
System administrator & DevOps › Health report in JSON for the monitoring
Cluster & high-availability engineer › Compute the load signal of this node
System administrator & DevOps › CMDB record with a hashed host id
System administrator & DevOps › Trace a check in the log and find it back
and 1 more in the Use cases
Backend & web service developer › Health check endpoint for the load balancer
Debugging & error handling › A health snapshot of the server as JSON
System administrator & DevOps › Health report in JSON for the monitoring
Cluster & high-availability engineer › Compute the load signal of this node
System administrator & DevOps › CMDB record with a hashed host id
System administrator & DevOps › Trace a check in the log and find it back
and 1 more in the Use cases
metric total swap mem
Description
To show the current total swap memory
To show the current total swap memory
admin
metric total swap mem
mentdb
3072
