From: Christian Goeschel Ndjomouo Date: Tue, 2 Sep 2025 18:56:32 +0000 (-0400) Subject: lscpu: (man) document the LSCPU_{CACHES_}COLUMNS environment variables X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5c2a28647291891f38a5991c6393f63f91f4db7;p=thirdparty%2Futil-linux.git lscpu: (man) document the LSCPU_{CACHES_}COLUMNS environment variables Signed-off-by: Christian Goeschel Ndjomouo --- diff --git a/sys-utils/lscpu.1.adoc b/sys-utils/lscpu.1.adoc index c8694e767..ce48b9ff4 100644 --- a/sys-utils/lscpu.1.adoc +++ b/sys-utils/lscpu.1.adoc @@ -104,11 +104,23 @@ Display physical IDs for all columns with topology elements (core, socket, etc.) + The CPU logical numbers are not affected by this option. +== ENVIRONMENT + +LSCPU_COLUMNS=:: +Specifies a comma-separated list of output columns to print. All columns listed by *--list-columns* for the options *-e* and *-p* can be used. + +LSCPU_CACHES_COLUMNS=:: +Same as *LSCPU_COLUMNS* with the difference that columns only listed for the *-C* option can be used. + include::man-common/help-version.adoc[] == COLUMNS -A list of valid column labels can be viewed with the *--help* option. +A list of valid column labels can be viewed with the *--list-columns* option. + +== NOTES + +The default output is subject to change. So whenever possible, you should avoid using default output in your scripts. == BUGS