.nr X lsmsr - Online Linux Manual PageSection : 8
Updated : July 2008
Source : x86utils

NAMElsmsr − show MSR information for x86 CPUs

SYNOPSISlsmsr [−hv] [−a [−c cpu_nr] [−f family] [−l] [−r name|address] [−V verbosity] [MSR]

DESCRIPTIONlsmsr is a tool to display information for machine specific registers of x86 CPUs. Following CPUs are supported: AMD family 0xf and family 0x10. For Intel and other AMD CPUs just a some common MSRs is supported.

OPTIONS-a, --all  Show information for all MSRs known to the tool for that CPU family. -c cpu_nr, --cpu cpu_nr  Select CPU (by number) for which MSR information should be displayed (default: 0). -f fam, --family fam  Specify CPU family. Normally CPU family is auto-detected. You can use this option to disable auto-detection, e.g. for debugging purposes. -l, --list  Show definition (address, field description) of selected MSR(s). -r name|address, --register name|address  Specify MSR (by name or address in hex) for which MSR information should be displayed. -V num, --verbosity num  Select verbosity of output format (between 0 and 4, default: 0) -h, --help  Print help message and exit. -v, --version  Display version info and exit.

Examples.IP "" 0 Show all MSRs beginning with 'MTRR' and force CPU family to 0x10  # lsmsr -l -f 0x10 MTRR
 MTRRcap : 0x000000fe
 MTRRphysBase0 : 0x00000200
 MTRRphysMask0 : 0x00000201
 MTRRphysBase1 : 0x00000202
 MTRRphysMask1 : 0x00000203
 MTRRphysBase2 : 0x00000204
 MTRRphysMask2 : 0x00000205
 MTRRphysBase3 : 0x00000206
 MTRRphysMask3 : 0x00000207
 MTRRphysBase4 : 0x00000208
 MTRRphysMask4 : 0x00000209
 MTRRphysBase5 : 0x0000020a
 MTRRphysMask5 : 0x0000020b
 MTRRphysBase6 : 0x0000020c
 MTRRphysMask6 : 0x0000020d
 MTRRphysBase7 : 0x0000020e
 MTRRphysMask7 : 0x0000020f
 MTRRfix64K_00000 : 0x00000250
 MTRRfix16K_80000 : 0x00000258
 MTRRfix16K_A0000 : 0x00000259
 MTRRfix4K_C0000 : 0x00000268
 MTRRfix4K_C8000 : 0x00000269
 MTRRfix4K_D0000 : 0x0000026a
 MTRRfix4K_D8000 : 0x0000026b
 MTRRfix4K_E0000 : 0x0000026c
 MTRRfix4K_E8000 : 0x0000026d
 MTRRfix4K_F0000 : 0x0000026e
 MTRRfix4K_F8000 : 0x0000026f
 MTRRdefType : 0x000002ff .IP ""0 Show 'MTRRcap MSR in verbose one-line mode  # lsmsr -r MTRRcap -V 1
 MTRRcap = 0x0000000000000508 (MtrrCapVCnt=0x8, MtrrCapFix=0x1, MtrrCapWc=0x1) .IP "" 0 Show 'MTRRdefType' in verbose multi-line mode  # lsmsr -r MTRRdefType -V 3
 MTRRdefType = 0x0000000000000c00
   MtrrDefMemType=0
   MtrrDefTypeFixEn=0x1
   MtrrDefTypeEn=0x1 .IP "" 0 Show definition of MSR 0x200 in verbose multi-line mode (including reserved fields)  # lsmsr -r 0x200 -V 4 -l
 MTRRphysBase0: 0x00000200
   0-7:Type
   8-11:res
   12-39:PhyBase
   40-63:res .IP "" 0 List all known MSRs for family 0xf  # lsmsr -f 0xf -l -a
 TSC : 0x00000010; time-stamp counter
 APIC_BASE : 0x0000001b; APIC base address
 ...
 MTRRphysBase0 : 0x00000200; base of variable MTRR (0)
 MTRRphysMask0 : 0x00000201; mask of variable MTRR (0)
 MTRRphysBase1 : 0x00000202; base of variable MTRR (1)
 MTRRphysMask1 : 0x00000203; mask of variable MTRR (1)
 ...
 MTRRfix4K_F0000 : 0x0000026e
 MTRRfix4K_F8000 : 0x0000026f
 PAT : 0x00000277; page attribute table
 MTRRdefType : 0x000002ff

Authorlsmsr and this manual page was written by Andreas Herrmann <andreas.herrman3@amd.com>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License version 2.

REPORTING BUGSPlease send bug reports to <andreas.herrmann3@amd.com>.
0
Johanes Gumabo
Data Size   :   11,217 byte
man-lsmsr.8Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 204,164
Visitor ID   :     :  
Visitor IP   :   18.119.109.60   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (rof_nr|48|lsmsr.8|4|2|.nr X )         (rof_IP|28|lsmsr.8|61|0|.IP "" 0 )         (rof_IP|28|lsmsr.8|94|0|.IP ""0 )         (rof_IP|28|lsmsr.8|99|0|.IP "" 0 )         (rof_IP|28|lsmsr.8|107|0|.IP "" 0 )         (rof_IP|28|lsmsr.8|116|0|.IP "" 0 )