LogImport(3)
π LogImport(3) π
okay bestie, so this is LogImport(3) from the User Contributed Perl Documentation and it's genuinely one of the most useful little pages you'll ever read, no cap.
πΈ NAME πΈ
PCP::LogImport β a Perl module for importing performance data to create a Performance Co-Pilot archive. it's giving "data goes in, archive comes out", and we're obsessed. β¨
π SYNOPSIS π
use PCP::LogImport;
that's it. that's the whole vibe. one line and you're in. π
π¦ DESCRIPTION π¦
So the PCP::LogImport module is holding the language bindings for building Perl applications that import performance data from a file or a real-time source, and then create a Performance Co-Pilot (PCP) archive that's suitable for use with the PCP tools. like, it's literally the glow-up pipeline for your perf data. π
And the routines in this module? they're wrappers around the libpcp_import library, plus some of the routines from the libpcp library. so you get all that power without having to rawdog the C API. iconic behaviour, fr fr. π₯
β¨ SEE ALSO β¨
okay this list is LONG but every single one of these is part of the family, so let's go:
pmiAddInstance(3)pmiAddMetric(3)pmiEnd(3)pmiErrStr(3)pmiGetHandle(3)pmiID(3)pmID_build(3)pmid_build(3)pmiInDom(3)pmInDom_build(3)pmiPutResult(3)pmiPutValue(3)pmiPutValueHandle(3)pmiPutMark(3)pmiPutText(3)pmiPutLabel(3)pmiStart(3)pmiSetHostname(3)pmiSetTimezone(3)pmiSetVersion(3)pmiUnits(3)pmiExtraUnits(3)pmiUseContext(3)pmiWrite(3) and pmSetDebug(3).
and if you still have questions after reading every single one of those (valid, honestly), the PCP mailing list pcp@groups.io can be used for questions about this module. bestie support group behaviour. π«Ά
Further details can be found at https://pcp.io β go look, it's a whole thing. π
π AUTHOR π
Ken McDonell, <kenj@kenj.id.au>
Copyright (C) 2010 by Ken McDonell. Copyright (C) 2018,2022 Red Hat.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 (see the "COPYING" file in the PCP source tree for further details).
and that's the whole page, babe. π
source/version check:perl v5.42.3, dated2026-10-19, and yes this isLogImport(3)β go forth and import that data, you absolute legend. β
π¦ where this page comes from
- fedora 43: perl-PCP-LogImport 7.2.2-2.fc43 Β· GPL-2.0-or-later
- fedora 44: perl-PCP-LogImport 7.2.2-2.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms