LSCFG(8)
okay bestie, welcome to the lscfg(8) manual page π
β grab a snack, this one's actually useful π
β¨ NAME β¨
lscfg β list hardware configuration πΈ
β¨ SYNOPSIS β¨
lscfg [-v | --verbose] [-p | --specific] [-l<name> | --list=<name>]
[-d<database-file> | --data=<database-file>] [-z<database-archive>
| --zip=<database-archive>] [-h | --help]
β¨ DESCRIPTION β¨
So this program is part of the lsvpd package for Linux, and that package is a (partial) reimplementation of AIX's lsvpd and its related commands β like, they brought the vibe over to Linux, no cap π«Ά
lscfg lists hardware configuration info for the system and all its components, and the output is in a human readable format. Cute, right?
Here's the tea though, and this is important β: this implementation is merely a pretty-printer for info that's already been stored in lscfg's hardware inventory database at boot time and at hot-plug time. So it's not out here discovering anything new for you β it's just making what's already there look gorgeous β¨ Which means the vpdupdate(8) command must have been executed prior to running lscfg. Like, non-negotiable. If you skipped that step, bestie, there's nothing to print π
Some IBM POWER systems feature dynamic VPD (that's Vital Product Data, iykyk π₯). And lscfg will only list this VPD when it's invoked by the root user. When invoked by another user, this VPD will be omitted β but the other VPD will still be listed, so you're not fully left on read π
β¨ OPTIONS β¨
-v,--verboseβ show Vital Product Data (VPD) for components, where available. The receipts, basically π§Ύ-p,--specificβ list platform-specific information in a separate section, where available. Main character energy for your specific platform π-l<name>,--list=<name>β only show configuration information for the component with the given operating system name (i.e. theAXfield inlsvpdoutput). Note that name may include wildcards, such as*and?β however, such wildcards should be protected from the shell π (yes, your shell will absolutely eat them if you're not careful, protect them fr fr)-d<database-file>,--data=<database-file>β use<database-file>as the hardware inventory database, rather than the default file (/var/lib/lsvpd/vpd.db). This option is useful for producing output for previous hardware inventory databases that have been replaced by the system β like time-travelling back to your old hardware era π¦-z<database-archive>,--zip=<database-archive>β use<database-archive>as the hardware inventory database, rather than the default directory (/var/lib/lsvpd/). Heads up though: the archive is atar(1)archive that has been compressed usinggzip(1), and it must contain a single directory containing at least a file calledsystem-idπ This option is useful for producing output for old hardware inventory databases that have been archived by the system.-h,--helpβ display a help screen and quit. The classic escape hatch, we stan π
β¨ FILES β¨
/var/lib/lsvpd/vpd.dbβ database file used bylscfg. This is the default one, the home base, the main character file π
β¨ SEE ALSO β¨
lsvpd(8), lsmcode(8), lsvio(8), vpdupdate(8) β go read those too, they're the friend group πΈ
β¨ AUTHORS β¨
Eric Munson <ebmunson@us.ibm.com>. Brad Peters <bpeters@us.ibm.com>.
Copyright (c) 2002 - 2013 IBM. π’
and that's the whole page bestie, we ate and left zero crumbs π
β¨ β this was the lscfg(8) manual, so go forth and list that hardware configuration, mwah π«Άπ
π¦ where this page comes from
- opensuse-leap 16.0: lsvpd 1.7.15-160000.3.2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms