PMDABPFTRACE - Online Linux Manual PageSection : 1
Updated : PCP
Source : Performance Co-Pilot

NAMEpmdabpftrace − bpftrace PMDA

DESCRIPTIONpmdabpftrace is a Performance Co-Pilot (PCP) Performance Metrics Domain Agent (PMDA) which exports metrics from bpftrace(8) scripts.

CONFIGURATIONpmdabpftrace reads an optional ini-style configuration file: $PCP_PMDAS_DIR/bpftrace/bpftrace.conf This file may contain [bpftrace] and [dynamic_scripts] sections. If you enable the dynamic scripts functionality, please refer to https://pcp.io/docs/lab.auth.html on how to setup authentication. This is highly recommended, as otherwise anyone could run any bpftrace(8) script as root. [bpftrace] section specifies values for the following settings (their default values are shown in parenthesis): bpftrace_path (bpftrace)  Path to the bpftrace(8) executable. script_expiry_time (60)  Unnamed scripts are removed after this period of time (in seconds) in case there has been no requests for their values. max_throughput (2097152)  Maximum throughput of bpftrace scripts in bytes. [dynamic_scripts] section specifies values for the following settings (their default values are shown in parenthesis): enabled (false)  A boolean value to specify whether script should be started on demand, by executing pmStore (3) bpftrace.control.register. This feature needs to be enabled for the PCP bpftrace datasource in grafana-pcp. auth_enabled (true)  A boolean value to specify whether authentication is required or not. Please see the note above on authentication setup. allowed_users (root)  A comma-separated list of usernames which are allowed to register bpftrace(8) scripts.

INSTALLATIONTo install, the following must be done as root: # cd $PCP_PMDAS_DIR/bpftrace # ./InstallTo uninstall, the following must be done as root: # cd $PCP_PMDAS_DIR/bpftrace # ./Removepmdabpftrace is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is installed or removed.

FILES$PCP_PMDAS_DIR/bpftrace/bpftrace.conf  configuration file for the pmdabpftrace agent $PCP_PMDAS_DIR/bpftrace/Install  installation script for the pmdabpftrace agent $PCP_PMDAS_DIR/bpftrace/Remove  undo installation script for the pmdabpftrace agent $PCP_LOG_DIR/pmcd/bpftrace.log  default log file for messages from the pmdabpftrace agent Note that the usual/default value for $PCP_PMDAS_DIR is /var/lib/pcp/pmdas and the default for $PCP_LOG_DIR is /var/log/pcp but these settings are platform dependent.

PCP ENVIRONMENTEnvironment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5).

SEE ALSOPCPIntro(1), pmcd(1) and bpftrace(8).
0
Johanes Gumabo
Data Size   :   13,969 byte
man-pmdabpftrace.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 188,503
Visitor ID   :     :  
Visitor IP   :   3.147.48.226   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.