PEPC-ASPM(1)
π the aspm command π
okay bestie, sit down, hydrate, because we're about to talk about the aspm command and it's genuinely so good. this is section 1 of the General Commands Manual, and yes, that means it's a real executable you can just... run. iconic behavior fr fr.
β¨ General options β¨
these are the glow-up options that work no matter what you're doing with aspm. learn them, love them.
-hβ show a short help message and then dip. that's it, that's the whole job. π-qβ be quiet. like, only print the important stuff (warnings and such). main character silence. π€«-dβ print debugging information. turn this on when you wanna know everything.--debug-modules MODNAME[,MODNAME1,...]β okay so-dturns on all the debug messages, which is a lot. this option narrows them down to just the modules you name. for example,-d --debug-modules MSRwill only show debug messages from theMSRmodule. targeted. precise. slay.--versionβ print the version number and exit. the classic.-H HOSTNAME,--host HOSTNAMEβ host name or IP address of the target system. thepepccommand gets executed on that system using SSH instead of running locally. if you don't specify it, the command just runs locally. no cap.-U USERNAME,--username USERNAMEβ the name of the user to use for logging into the remote host over SSH. by default it looks up the user name in SSH configuration files. if it's not found there, it uses the current user name. π«Ά-K PRIVKEY,--priv-key PRIVKEYβ path to the private SSH key for logging into the remote host. if you don't specify it, keys configured for the host in SSH configuration files (e.g.~/.ssh/config) are used. if no keys are configured there, standard key files (e.g.~/.ssh/id_rsa) and the SSH agent are tried. the backup plans have backup plans.-D DATASET,--dataset DATASETβ this one is for debugging and testing. it specifies the dataset to use for emulating the host you're running the command on. the datasets live in thepepcsource code repository.
the argument can be a dataset path or a name. if you give it by name, these locations get searched for the dataset:
./tests/emul-datain the program's directory$PEPC_DATA_PATH/tests/emul-data$VIRTUAL_ENV/share/pepc/tests/emul-data$HOME/.local/share/pepc/tests/emul-data/usr/local/share/pepc/tests/emul-data/usr/share/pepc/tests/emul-data
--force-colorβ force colorized output even if the output stream is not a terminal (this adds ANSI escape codes). rainbow mode, activated. π--print-man-pathβ print thepepcmanual pages directory path and exit. add this path to theMANPATHenvironment variable to make the manual pages available to themantool. iykyk.
π Subcommand info π
retrieve PCI ASPM information for the system. she's nosy and we love her for it. πΈ
--policyβ retrieve the current global PCI ASPM policy from/sys/module/pcie_aspm/parameters/policy. the"default"policy indicates the system's default.--policiesβ retrieve the list of available PCI ASPM policies from/sys/module/pcie_aspm/parameters/policy.--device ADDRβ specify the PCI device address for the--l1-aspmoption. example:0000:00:02.0.--l1-aspmβ retrieve the L1 ASPM status (on/off) for the PCI device specified by--device. it reads from/sys/bus/pci/devices/{device}/link/l1_aspm.
π¦ Subcommand config π¦
configure PCI ASPM settings. and listen β if you provide no parameter at all, the current value(s) will be displayed instead. she's helpful like that. π
--policy [POLICY]β set the global PCI ASPM policy by writing to/sys/module/pcie_aspm/parameters/policy. use"default"to reset the policy back to the system's default setting.--device ADDRβ specify the PCI device address for the--l1-aspmoption. example:0000:00:02.0.--l1-aspm [OPTION]β enable or disable L1 ASPM for the PCI device specified by--device. this happens via/sys/bus/pci/devices/{device}/link/l1_aspm. the valid values are'on','off','enable','disable','true', or'false'. six whole options, pick your fighter. π
reminder bestie:--device ADDRshows up in bothinfoandconfigbecause it's the setup for--l1-aspmin each of them. it's not a typo, it's just how she's built. π
and that's the whole page, no notes, ate and left no crumbs. this was PEPC-ASPM(1) from the General Commands Manual β section 1, general commands, periodt. πβ¨π¦
π¦ where this page comes from
- epel 10: python3-pepc 2.0.7-2.el10_3 Β· BSD-3-Clause
- epel 9: python3-pepc 2.0.7-3.el9 Β· BSD-3-Clause
- fedora 44: python3-pepc 2.0.7-2.fc44 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms