]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lscpu: (man) document the LSCPU_{CACHES_}COLUMNS environment variables
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Tue, 2 Sep 2025 18:56:32 +0000 (14:56 -0400)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Tue, 2 Sep 2025 19:33:26 +0000 (15:33 -0400)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
sys-utils/lscpu.1.adoc

index c8694e767abbfe78e0a278a3a55541500ab3eb77..ce48b9ff45d205cea69f75413a98cdc6b5d18e72 100644 (file)
@@ -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