MentDB, The digital brain.  Download About me Home
Back / All functions / Stat
stat sessionsstat index filesstat data filesstat systemstat count cmdstat count sessionstat cmdstat cpustat current cpu jvmstat current cpu systemstat current free memstat current free swap memstat current mem jvmstat current used memstat current used swap memstat datestat file system rootsstat java vendorstat java versionstat memstat sessstat sessionstat system architecturestat system namestat system nb processorstat system versionstat total memstat total swap mem

stat sessions

Description
    To show all metrics about sessions
admin
stat 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

stat 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
stat 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

stat 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
stat 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

stat system

Description
    To show all stats about system
admin
stat system
mentdb
AI: Liza Payet
MentDB: v_0.1.3, Jimmitry Payet, Programmer Analyst
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: 14.7%, Used jvm mem: 40/208/1820M, Used mem: 7947/8192M, Used swap mem: 1714/3072M
Cpu on 24 hours: [0.0]
Mem on 24 hours: [87]
File system roots:
- [/] 73%, usedSpace: 173991M, freeSpace: 64257M, totalSpace: 238248M

stat count cmd

Description
    To count the number of command executed at the last 31 days
admin
stat count cmd
mentdb
14

stat count session

Description
    To count the number of session opened at the last 31 days
admin
stat count session
mentdb
5

stat cmd

Description
    To show the number of command executed at the last 31 days
admin
stat 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]

stat cpu

Description
    To show all cpu values at the last 10m/24h
admin
stat 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]]

stat current cpu jvm

Description
    To show current jvm cpu value
admin
stat current cpu jvm
mentdb
0.0

stat current cpu system

Description
    To show current system cpu value
admin
stat current cpu system
mentdb
9.0

stat current free mem

Description
    To show current free memory value
admin
stat current free mem
mentdb
503

stat current free swap mem

Description
    To show current free swap memory value
admin
stat current free swap mem
mentdb
1093

stat current mem jvm

Description
    To show current jvm memory status
admin
stat current mem jvm
mentdb
32/123/1820

stat current used mem

Description
    To show current usable memory value
admin
stat current used mem
mentdb
7690

stat current used swap mem

Description
    To show current used swap memory value
admin
stat current used swap mem
mentdb
1978

stat date

Description
    To show all dates at the last 31 days
admin
stat 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]

stat file system roots

Description
    To show statistics to all system roots
admin
stat file system roots
mentdb
[{"usedSpace":"148708","freeSpace":"89539","absolutePath":"\/","totalSpace":"238248"}]

stat java vendor

Description
    To show the Java vendor
admin
stat java vendor
mentdb
Oracle Corporation

stat java version

Description
    To show the Java version
admin
stat java version
mentdb
1.8.0_25

stat mem

Description
    To show all mem values at the last 10m/24h
admin
stat mem
mentdb
[[1459140133991,81],[1459143173857,84],[1459143773878,84],[1459144373901,88],[1459144973920,89],[1459145573941,89],[1459146173960,89],[1459146773980,87],[1459147374003,87],[1459147974024,87],[1459148574049,93]]

stat sess

Description
    To show the number of session opened at the last 31 days
admin
stat 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]

stat session

Description
    To show the number of session opened at the last 31 days
admin
stat 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]]

stat system architecture

Description
    To show the architecture of the operating system
admin
stat system architecture
mentdb
x86_64

stat system name

Description
    To show the name of the operating system
admin
stat system name
mentdb
Mac OS X

stat system nb processor

Description
    To show the processor number of the operating system
admin
stat system nb processor
mentdb
4

stat system version

Description
    To show the version of the operating system
admin
stat system version
mentdb
10.10.5

stat total mem

Description
    To show current total memory value
admin
stat total mem
mentdb
8192

stat total swap mem

Description
    To show current total swap memory value
admin
stat total swap mem
mentdb
3072




© 2012-2017 - Jimmitry Payet.