From bc7a8ea1f8a81cb0260eff4f894b5d6ebf518a3b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 29 Apr 2026 16:38:23 +0200 Subject: new package --- REFLECTION | 363 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 363 insertions(+) create mode 100644 REFLECTION (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..f269dcb --- /dev/null +++ b/REFLECTION @@ -0,0 +1,363 @@ +Extension [ extension #125 statgrab version 2.2.0 ] { + + - Constants [16] { + Constant [ int SG_FULL_DUPLEX ] { 0 } + Constant [ int SG_HALF_DUPLEX ] { 1 } + Constant [ int SG_UNKNOWN_DUPLEX ] { 2 } + Constant [ int SG_PS_SORT_NAME ] { 0 } + Constant [ int SG_PS_SORT_PID ] { 1 } + Constant [ int SG_PS_SORT_UID ] { 2 } + Constant [ int SG_PS_SORT_GID ] { 3 } + Constant [ int SG_PS_SORT_SIZE ] { 4 } + Constant [ int SG_PS_SORT_RES ] { 5 } + Constant [ int SG_PS_SORT_CPU ] { 6 } + Constant [ int SG_PS_SORT_TIME ] { 7 } + Constant [ int SG_PROCESS_STATE_RUNNING ] { 0 } + Constant [ int SG_PROCESS_STATE_SLEEPING ] { 1 } + Constant [ int SG_PROCESS_STATE_STOPPED ] { 2 } + Constant [ int SG_PROCESS_STATE_ZOMBIE ] { 3 } + Constant [ int SG_PROCESS_STATE_UNKNOWN ] { 4 } + } + + - Functions { + Function [ function sg_cpu_percent_usage ] { + + - Parameters [1] { + Parameter #0 [ int $source = 0 ] + } + - Return [ array|false ] + } + Function [ function sg_cpu_totals ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + Function [ function sg_cpu_diff ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + Function [ function sg_diskio_stats ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + Function [ function sg_diskio_stats_diff ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + Function [ function sg_fs_stats ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + Function [ function sg_general_stats ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + Function [ function sg_load_stats ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + Function [ function sg_memory_stats ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + Function [ function sg_swap_stats ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + Function [ function sg_network_stats ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + Function [ function sg_network_stats_diff ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + Function [ function sg_page_stats ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + Function [ function sg_page_stats_diff ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + Function [ function sg_process_count ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + Function [ function sg_process_stats ] { + + - Parameters [2] { + Parameter #0 [ ?int $sort_order = null ] + Parameter #1 [ int $num_entries = 0 ] + } + - Return [ array|false ] + } + Function [ function sg_user_stats ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + Function [ function sg_network_iface_stats ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + Function [ function sg_valid_filesystems ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + Function [ function sg_set_valid_filesystems ] { + + - Parameters [1] { + Parameter #0 [ array $filesystems ] + } + - Return [ bool ] + } + Function [ function sg_snapshot ] { + + - Parameters [0] { + } + - Return [ bool ] + } + Function [ function sg_error_details ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + } + + - Classes [1] { + Class [ final class Statgrab ] { + + - Constants [37] { + Constant [ public int DUPLEX_FULL ] { 0 } + Constant [ public int DUPLEX_HALF ] { 1 } + Constant [ public int DUPLEX_UNKNOWN ] { 2 } + Constant [ public int SORT_NAME ] { 0 } + Constant [ public int SORT_PID ] { 1 } + Constant [ public int SORT_UID ] { 2 } + Constant [ public int SORT_GID ] { 3 } + Constant [ public int SORT_SIZE ] { 4 } + Constant [ public int SORT_RES ] { 5 } + Constant [ public int SORT_CPU ] { 6 } + Constant [ public int SORT_TIME ] { 7 } + Constant [ public int STATE_RUNNING ] { 0 } + Constant [ public int STATE_SLEEPING ] { 1 } + Constant [ public int STATE_STOPPED ] { 2 } + Constant [ public int STATE_ZOMBIE ] { 3 } + Constant [ public int STATE_UNKNOWN ] { 4 } + Constant [ public int CPU_PERCENT_ENTIRE ] { 0 } + Constant [ public int CPU_PERCENT_LAST_DIFF ] { 1 } + Constant [ public int CPU_PERCENT_NEW_DIFF ] { 2 } + Constant [ public int HOST_STATE_UNKNOWN ] { 0 } + Constant [ public int HOST_STATE_PHYSICAL ] { 1 } + Constant [ public int HOST_STATE_VIRTUAL_MACHINE ] { 2 } + Constant [ public int HOST_STATE_PARAVIRTUAL_MACHINE ] { 3 } + Constant [ public int HOST_STATE_HARDWARE_VIRTUALIZED ] { 4 } + Constant [ public int FS_UNKNOWN ] { 0 } + Constant [ public int FS_REGULAR ] { 1 } + Constant [ public int FS_SPECIAL ] { 2 } + Constant [ public int FS_LOOPBACK ] { 4 } + Constant [ public int FS_REMOTE ] { 8 } + Constant [ public int FS_LOCAL ] { 3 } + Constant [ public int FS_ALLTYPES ] { 15 } + Constant [ public int ERROR_NONE ] { 0 } + Constant [ public int ERROR_INVALID_ARGUMENT ] { 1 } + Constant [ public int ERROR_OPEN ] { 21 } + Constant [ public int ERROR_OPENDIR ] { 22 } + Constant [ public int ERROR_PERMISSION ] { 29 } + Constant [ public int ERROR_UNSUPPORTED ] { 44 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [20] { + Method [ public method __construct ] { + + - Parameters [0] { + } + } + + Method [ public method cpu ] { + + - Parameters [1] { + Parameter #0 [ int $source = 0 ] + } + - Return [ array|false ] + } + + Method [ public method cpuStats ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + + Method [ public method cpuDiff ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + + Method [ public method disks ] { + + - Parameters [1] { + Parameter #0 [ bool $diff = false ] + } + - Return [ array|false ] + } + + Method [ public method filesystems ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + + Method [ public method host ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + + Method [ public method load ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + + Method [ public method memory ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + + Method [ public method swap ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + + Method [ public method network ] { + + - Parameters [1] { + Parameter #0 [ bool $diff = false ] + } + - Return [ array|false ] + } + + Method [ public method pages ] { + + - Parameters [1] { + Parameter #0 [ bool $diff = false ] + } + - Return [ array|false ] + } + + Method [ public method processes ] { + + - Parameters [2] { + Parameter #0 [ ?int $sort_order = null ] + Parameter #1 [ int $num_entries = 0 ] + } + - Return [ array|false ] + } + + Method [ public method processCount ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + + Method [ public method users ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + + Method [ public method interfaces ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + + Method [ public method validFilesystems ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + + Method [ public method setValidFilesystems ] { + + - Parameters [1] { + Parameter #0 [ array $filesystems ] + } + - Return [ bool ] + } + + Method [ public method snapshot ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ public method errorDetails ] { + + - Parameters [0] { + } + - Return [ array|false ] + } + } + } + } +} + -- cgit