MentDB, The digital brain.  About me Home
Back / All functions / Metric

You have a lot of metric functions.

metric sessionsmetric index filesmetric data filesmetric systemmetric count cmdmetric count sessionmetric cmdmetric cpumetric current cpu jvmmetric current cpu systemmetric current free memmetric current free swap memmetric current mem jvmmetric current used memmetric current used swap memmetric datemetric file system rootsmetric java vendormetric java versionmetric memmetric sessmetric sessionmetric system architecturemetric system namemetric system nb processormetric system versionmetric total memmetric total swap mem

metric sessions

Description

    To show all 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

metric index files <page> <nbByPage>

Description

    To show all stats about index files

Parameters

    page:   The page - integer>0 - required
    nbByPage:   The number by page - integer>0 - required
admin
metric index files 1 2
mentdb
Total block: 1000x16=16000
Total size: 1000x200=200000b
|----------------------------- 6% - 0 - used: 1, free: 15, total block: 16, size: 200b
------------------------------ 0% - 1 - used: 0, free: 16, total block: 16, size: 200b

metric data files <page> <nbByPage>

Description

    To show all stats about data files

Parameters

    page:   The page - integer>0 - required
    nbByPage:   The number by page - integer>0 - required
admin
metric data files 1 2
mentdb
------------------------------ 0% - 0 - used: 3699, free: 9996301, total block: 10000000, size: 458676b, max size: 1240Mb, last unused block: -1, nb unused block: 0

metric system

Description

    To show all stats about system

admin
metric system
mentdb
AI: Liza Payet
ID: NNeWO1VGLmeI
MentDB: v_alpha-0.3.1
Author: Jimmitry PAYET, Programmer Analyst
Contact: contact@jpayet.re
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: 7490/8192M, 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

metric count cmd

Description

    To count the number of command executed at the last 31 days

admin
metric count cmd
mentdb
14

metric count session

Description

    To count the number of session opened at the last 31 days

admin
metric count session
mentdb
5

metric cmd

Description

    To show the number of command executed at the last 31 days

admin
metric cmd
mentdb
[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,18]

metric cpu

Description

    To show all cpu values at the last 10m/24h

admin
metric cpu
mentdb
[[1459140133990,0.0],[1459143173857,9.6],[1459143773878,3.0],[1459144373901,3.9],[1459144973920,7.6],[1459145573941,8.4],[1459146173960,7.2],[1459146773980,5.4],[1459147374003,3.1],[1459147974024,7.0]]

metric current cpu jvm

Description

    To show current jvm cpu value

admin
metric current cpu jvm
mentdb
0.0

metric current cpu system

Description

    To show current system cpu value

admin
metric current cpu system
mentdb
9.0

metric current free mem

Description

    To show current free memory value

admin
metric current free mem
mentdb
503

metric current free swap mem

Description

    To show current free swap memory value

admin
metric current free swap mem
mentdb
1093

metric current mem jvm

Description

    To show current jvm memory status

admin
metric current mem jvm
mentdb
32/123/1820

metric current used mem

Description

    To show current usable memory value

admin
metric current used mem
mentdb
7690

metric current used swap mem

Description

    To show current used swap memory value

admin
metric current used swap mem
mentdb
1978

metric date

Description

    To show all dates at the last 31 days

admin
metric date
mentdb
[2016-02-27, 2016-02-28, 2016-02-29, 2016-03-01, 2016-03-02, 2016-03-03, 2016-03-04, 2016-03-05, 2016-03-06, 2016-03-07, 2016-03-08, 2016-03-09, 2016-03-10, 2016-03-11, 2016-03-12, 2016-03-13, 2016-03-14, 2016-03-15, 2016-03-16, 2016-03-17, 2016-03-18, 2016-03-19, 2016-03-20, 2016-03-21, 2016-03-22, 2016-03-23, 2016-03-24, 2016-03-25, 2016-03-26, 2016-03-27, 2016-03-28]

metric file system roots

Description

    To show statistics to all system roots

admin
metric file system roots
mentdb
[{"usedSpace":"148708","freeSpace":"89539","absolutePath":"\/","totalSpace":"238248"}]

metric java vendor

Description

    To show the Java vendor

admin
metric java vendor
mentdb
Oracle Corporation

metric java version

Description

    To show the Java version

admin
metric java version
mentdb
1.8.0_25

metric mem

Description

    To show all mem values at the last 10m/24h

admin
metric mem
mentdb
[[1459140133991,81],[1459143173857,84],[1459143773878,84],[1459144373901,88],[1459144973920,89],[1459145573941,89],[1459146173960,89],[1459146773980,87],[1459147374003,87],[1459147974024,87],[1459148574049,93]]

metric sess

Description

    To show the number of session opened at the last 31 days

admin
metric sess
mentdb
[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,5]

metric session

Description

    To show the number of session opened at the last 31 days

admin
metric session
mentdb
[[1456516800000,0],[1456603200000,0],[1456689600000,0],[1456776000000,0],[1456862400000,0],[1456948800000,0],[1457035200000,0],[1457121600000,0],[1457208000000,0],[1457294400000,0],[1457380800000,0],[1457467200000,0],[1457553600000,0],[1457640000000,0],[1457726400000,0],[1457812800000,0],[1457899200000,0],[1457985600000,0],[1458072000000,0],[1458158400000,0],[1458244800000,0],[1458331200000,0],[1458417600000,0],[1458504000000,0],[1458590400000,0],[1458676800000,0],[1458763200000,0],[1458849600000,0],[1458936000000,0],[1459022400000,0],[1459108800000,5]]

metric system architecture

Description

    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

admin
metric system name
mentdb
Mac OS X

metric system nb processor

Description

    To show the processor number of the operating system

admin
metric system nb processor
mentdb
4

metric system version

Description

    To show the version of the operating system

admin
metric system version
mentdb
10.10.5

metric total mem

Description

    To show current total memory value

admin
metric total mem
mentdb
8192

metric total swap mem

Description

    To show current total swap memory value

admin
metric total swap mem
mentdb
3072




© 2012-2017 - Jimmitry Payet.