Linux sh52.ich-4.com 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64
LiteSpeed
Server IP : 198.143.147.58 & Your IP : 216.73.217.21
Domains :
Cant Read [ /etc/named.conf ]
User : actualbuzz
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
include /
pcp /
Delete
Unzip
Name
Size
Permission
Date
Action
archive.h
1.82
KB
-rw-r--r--
2025-09-22 09:40
builddefs
30.24
KB
-rw-r--r--
2025-09-22 09:40
buildrules
5.03
KB
-rw-r--r--
2025-09-22 09:40
config.h
20.09
KB
-rw-r--r--
2025-09-22 09:40
config32.h
877
B
-rw-r--r--
2025-09-22 09:40
config64.h
885
B
-rw-r--r--
2025-09-22 09:40
deprecated.h
5.29
KB
-rw-r--r--
2025-09-22 09:40
dict.h
7.28
KB
-rw-r--r--
2025-09-22 09:40
impl.h
942
B
-rw-r--r--
2025-09-22 09:40
import.h
4.29
KB
-rw-r--r--
2025-09-22 09:40
ini.h
5.22
KB
-rw-r--r--
2025-09-22 09:40
mmv_dev.h
4.5
KB
-rw-r--r--
2025-09-22 09:40
mmv_stats.h
7.12
KB
-rw-r--r--
2025-09-22 09:40
platform32.h
712
B
-rw-r--r--
2025-09-22 09:40
platform64.h
710
B
-rw-r--r--
2025-09-22 09:40
platform_defs.h
10.71
KB
-rw-r--r--
2025-09-22 09:40
pmafm.h
1.37
KB
-rw-r--r--
2025-09-22 09:40
pmapi.h
53.62
KB
-rw-r--r--
2025-09-22 09:40
pmda.h
31.48
KB
-rw-r--r--
2025-09-22 09:40
pmdaroot.h
3.81
KB
-rw-r--r--
2025-09-22 09:40
pmdbg.h
106
B
-rw-r--r--
2025-09-22 09:40
pmhttp.h
1.33
KB
-rw-r--r--
2025-09-22 09:40
pmjson.h
1.83
KB
-rw-r--r--
2025-09-22 09:40
pmtime.h
3.3
KB
-rw-r--r--
2025-09-22 09:40
pmwebapi.h
17.71
KB
-rw-r--r--
2025-09-22 09:40
sds.h
9
KB
-rw-r--r--
2025-09-22 09:40
trace.h
3.88
KB
-rw-r--r--
2025-09-22 09:40
trace_dev.h
2.63
KB
-rw-r--r--
2025-09-22 09:40
Save
Rename
/* * Copyright (C) 2013,2016,2018,2021 Red Hat. * Copyright (C) 2009 Aconex. All Rights Reserved. * Copyright (C) 2001,2009 Silicon Graphics, Inc. All Rights Reserved. * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * This library is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public * License for more details. */ #ifndef PCP_MMV_STATS_H #define PCP_MMV_STATS_H #ifdef __cplusplus extern "C" { #endif #define MMV_NAMEMAX 64 #define MMV_LABELMAX 244 #define MMV_STRINGMAX 256 typedef enum mmv_metric_type { MMV_TYPE_NOSUPPORT = PM_TYPE_NOSUPPORT, MMV_TYPE_I32 = PM_TYPE_32, /* 32-bit signed integer */ MMV_TYPE_U32 = PM_TYPE_U32, /* 32-bit unsigned integer */ MMV_TYPE_I64 = PM_TYPE_64, /* 64-bit signed integer */ MMV_TYPE_U64 = PM_TYPE_U64, /* 64-bit unsigned integer */ MMV_TYPE_FLOAT = PM_TYPE_FLOAT, /* 32-bit floating point */ MMV_TYPE_DOUBLE = PM_TYPE_DOUBLE,/* 64-bit floating point */ MMV_TYPE_STRING = PM_TYPE_STRING,/* NULL-terminate string */ MMV_TYPE_ELAPSED = 9, /* 64-bit elapsed time */ } mmv_metric_type_t; typedef enum mmv_metric_sem { MMV_SEM_COUNTER = PM_SEM_COUNTER, MMV_SEM_INSTANT = PM_SEM_INSTANT, MMV_SEM_DISCRETE = PM_SEM_DISCRETE, } mmv_metric_sem_t; enum { MMV_INDOM_NULL = PM_INDOM_NULL }; typedef struct mmv_instances { __int32_t internal; /* Internal instance ID */ char external[MMV_NAMEMAX]; /* External instance ID */ } mmv_instances_t; typedef struct mmv_instances2 { __int32_t internal; /* Internal instance ID */ const char * external; /* External instance ID */ } mmv_instances2_t; typedef struct mmv_indom { __uint32_t serial; /* Unique identifier */ __uint32_t count; /* Number of instances */ mmv_instances_t * instances; /* Internal/external IDs */ char * shorttext; /* Short help text string */ char * helptext; /* Long help text string */ } mmv_indom_t; typedef struct mmv_indom2 { __uint32_t serial; /* Unique identifier */ __uint32_t count; /* Number of instances */ mmv_instances2_t * instances; /* Internal/external IDs */ char * shorttext; /* Short help text string */ char * helptext; /* Long help text string */ } mmv_indom2_t; typedef struct mmv_metric { char name[MMV_NAMEMAX]; __uint32_t item; /* Unique identifier */ mmv_metric_type_t type; mmv_metric_sem_t semantics; pmUnits dimension; __uint32_t indom; /* Indom serial */ char * shorttext; /* Short help text string */ char * helptext; /* Long help text string */ } mmv_metric_t; typedef struct mmv_metric2 { char * name; __uint32_t item; /* Unique identifier */ mmv_metric_type_t type; mmv_metric_sem_t semantics; pmUnits dimension; __uint32_t indom; /* Indom serial */ char * shorttext; /* Short help text string */ char * helptext; /* Long help text string */ } mmv_metric2_t; typedef struct mmv_label { __uint32_t flags; /* PM_LABEL_TYPE, flag optional */ __uint32_t identity; /* Indom, Cluster or item ID */ __int32_t internal; /* Instance ID or PM_IN_NULL */ char payload[MMV_LABELMAX]; } mmv_label_t; typedef enum mmv_stats_flags { MMV_FLAG_NOPREFIX = 0x1, /* Don't prefix metric names by filename */ MMV_FLAG_PROCESS = 0x2, /* Indicates process check on PID needed */ MMV_FLAG_SENTINEL = 0x4, /* Sentinel values == no-value-available */ } mmv_stats_flags_t; typedef enum mmv_value_type { MMV_STRING_TYPE = 0x1, MMV_NUMBER_TYPE = 0x2, MMV_BOOLEAN_TYPE = 0x3, MMV_NULL_TYPE = 0x4, MMV_ARRAY_TYPE = 0x5, MMV_MAP_TYPE = 0x6, } mmv_value_type_t; #ifdef HAVE_BITFIELDS_LTOR #define MMV_UNITS(a,b,c,d,e,f) {a,b,c,d,e,f,0} #else #define MMV_UNITS(a,b,c,d,e,f) {0,f,e,d,c,b,a} #endif struct mmv_registry; typedef struct mmv_registry mmv_registry_t; extern mmv_registry_t * mmv_stats_registry(const char *, int, mmv_stats_flags_t); extern int mmv_stats_add_indom(mmv_registry_t *, int, const char *, const char *); extern int mmv_stats_add_metric(mmv_registry_t *, const char *, int, mmv_metric_type_t, mmv_metric_sem_t, pmUnits, int, const char *, const char *); extern int mmv_stats_add_instance(mmv_registry_t *, int, int, const char *); extern int mmv_stats_add_registry_label(mmv_registry_t *, const char *, const char *, mmv_value_type_t, int); extern int mmv_stats_add_indom_label(mmv_registry_t *, int, const char *, const char *, mmv_value_type_t, int); extern int mmv_stats_add_metric_label(mmv_registry_t *, int, const char *, const char *, mmv_value_type_t, int); extern int mmv_stats_add_instance_label(mmv_registry_t *, int, int, const char *, const char *, mmv_value_type_t, int); extern void * mmv_stats_start(mmv_registry_t *); extern void mmv_stats_free(mmv_registry_t *); extern pmAtomValue * mmv_lookup_value_desc(void *, const char *, const char *); /* * Use these interfaces for updating metrics prefentially to * the by-metric-name lookup based interfaces (see below). */ extern void mmv_inc(void *, pmAtomValue *); /* increment by one */ extern void mmv_add(void *, pmAtomValue *, void *); extern void mmv_inc_atomvalue(void *, pmAtomValue *, pmAtomValue *); extern void mmv_inc_value(void *, pmAtomValue *, double); extern void mmv_set(void *, pmAtomValue *, void *); extern void mmv_set_atomvalue(void *, pmAtomValue *, pmAtomValue *); extern void mmv_set_value(void *, pmAtomValue *, double); extern void mmv_set_string(void *, pmAtomValue *, const char *, int); /* * Above interfaces are more efficient than the following, * especially as the number of metrics increases and/or the * rate of updating metric values increases. */ extern void mmv_stats_add(void *, const char *, const char *, double); extern void mmv_stats_inc(void *, const char *, const char *); extern void mmv_stats_set(void *, const char *, const char *, double); extern void mmv_stats_add_fallback(void *, const char *, const char *, const char *, double); extern void mmv_stats_inc_fallback(void *, const char *, const char *, const char *); extern pmAtomValue * mmv_stats_interval_start(void *, pmAtomValue *, const char *, const char *); extern void mmv_stats_interval_end(void *, pmAtomValue *); extern void mmv_stats_set_string(void *, const char *, const char *, const char *); extern void mmv_stats_set_strlen(void *, const char *, const char *, const char *, size_t); /* Deprecated init and stop routines - use a registry instead */ extern void * mmv_stats_init(const char *, int, mmv_stats_flags_t, const mmv_metric_t *, int, const mmv_indom_t *, int); extern void * mmv_stats2_init(const char *, int, mmv_stats_flags_t, const mmv_metric2_t *, int, const mmv_indom2_t *, int); extern void mmv_stats_stop(const char *, void *); #ifdef __cplusplus } #endif #endif /* PCP_MMV_STATS_H */