首页 > 其他分享 >sos.dll 命令

sos.dll 命令

时间:2024-07-30 15:59:05浏览次数:14  
标签:logging modules dll content 命令 sos ----------------------------- Displays thread

0:000> !sos.help

-------------------------------------------------------------------------------

SOS is a debugger extension DLL designed to aid in the debugging of managed

programs. Functions are listed by category, then roughly in order of

importance. Shortcut names for popular functions are listed in parenthesis.

Type "!help <functionname>" for detailed info on that function.

 

Object Inspection                  Examining code and stacks

-----------------------------      -----------------------------

DumpObj (do)                       Threads (clrthreads)

DumpALC (dumpalc)                  ThreadState

DumpArray (da)                      IP2MD

DumpDelegate                       U

DumpStackObjects (dso)               DumpStack

DumpHeap                          EEStack

DumpVC                            ClrStack

GCRoot                             GCInfo

ObjSize                             EHInfo

FinalizeQueue                       BPMD (bpmd)

PrintException (pe)                   COMState

TraverseHeap

 

Examining CLR data structures      Diagnostic Utilities

-----------------------------      -----------------------------

DumpDomain                         VerifyHeap

EEHeap                              VerifyObj

Name2EE                             FindRoots

SyncBlk                              HeapStat

DumpMT                             GCWhere

DumpClass                           ListNearObj (lno)

DumpMD                            GCHandles

Token2EE                            GCHandleLeaks

EEVersion                            FinalizeQueue (fq)

DumpModule                         FindAppDomain

ThreadPool (tp)                       SaveModule

DumpAssembly                       ProcInfo

DumpSigElem                        StopOnException (soe)

DumpRuntimeTypes                   DumpLog

DumpSig                            VMMap

RCWCleanupList                      VMStat

DumpIL                             MinidumpMode

DumpRCW                          AnalyzeOOM (ao)

DumpCCW                          SuppressJitOptimization

 

Examining the GC history           Other

-----------------------------      -----------------------------

HistInit                           SetHostRuntime (sethostruntime)

HistRoot                          SetSymbolServer (setsymbolserver)

HistObj                           SetClrPath (setclrpath)

HistObjFind                        SOSFlush

HistClear                          SOSStatus (sosstatus)

                                   FAQ

                                   Help (soshelp)

 

Usage:

  >!ext [command]

 

Commands:

  clrmodules                                 Lists the managed modules in the process.

  dumpasync, DumpAsync                     Displays information about async "stacks" on the garbage-collected heap.

  dcd, dumpconcurrentdictionary <address>       Displays concurrent dictionary content.

  dcq, dumpconcurrentqueue <address>          Displays concurrent queue content.

  dg, dumpgen <generation>              Displays heap content for the specified generation.

  logopen <path>                             Enables console file logging.

  logclose <path>                            Disables console file logging.

  logging <path>                             Enables/disables internal diagnostic logging.

  lm, modules                                Displays the native modules in the process.

  r, registers                               Displays the thread's registers.

  runtimes                                   Lists the runtimes in the target or changes the default runtime.

  setclrpath <path>                          Sets the path to load coreclr DAC/DBI files.

  setsymbolserver, SetSymbolServer <url>     Enables and sets symbol server support for symbols and module download.

  loadsymbols <url>                          Loads symbols for all modules.

  sosstatus                                  Displays internal status or resets the internal cached state.

  setthread, threads <thread>                Displays threads or sets the current thread.

  parallelstacks, pstacks                    Displays the merged threads stack similarly to the Visual Studio 'Parallel Stacks' panel.

  taskstate, tks <address>                   Displays a Task state in a human readable format.

  threadpoolqueue, tpq                       Displays queued ThreadPool work items.

  ti, timerinfo                              Displays information about running timers.

 

标签:logging,modules,dll,content,命令,sos,-----------------------------,Displays,thread
From: https://www.cnblogs.com/lily-2/p/18332633

相关文章

  • Linux系统防火墙常用命令(包含开放或关闭端口)
    1、查询端口是否已开启,命令如下:firewall-cmd--zone=public--query-port=80/tcp#查看80/tcp端口2、在Linux防火墙上开放端口,命令如下:firewall-cmd--zone=public--add-port=80/tcp--permanent#开放80/tcp端口(--permanent永久生效,没有此参数重启后失效)3、在Linux防火......
  • Windows系统CMD和PowerShell常用命令
    目录CMDPowerShellCMD检查端口查看所有端口:netstat-ano带过滤器:netstat-ano|findstr<端口号>检查进程进程列表:tasklist带过滤器:tasklist|findstr<进程名或PID>杀掉进程:taskkill/f/t/im<PID或服务名>文件处理重命名文件ren<路径\文件名>删除文件......
  • sudo是让非root的用户运行只有root才有权限执行的命令
    sudo是什么意思?sudo的中文意思--《百度百科》在linux中,sudo全称“superuserdo”,意思为“干超级用户才能干的事”,是一个系统权限管理命令,可以让非root的用户运行只有root才有权限执行的命令“dpkg”是“DebianPackager”的简写。为“Debian”专门开发的套件管理系统......
  • 即使使用 docker run -dit 命令,python-Docker 容器也会在运行两秒后退出
    我想从此处使用Dockerfile测试自定义kubernetes调度程序:FROMpython:3.7RUNpipinstallkubernetesCOPYscheduler.py/scheduler.pyCMDpython/scheduler.py一旦创建了映像和容器:dockerbuild-tapp.dockercontainerrun-d-it--namemy-sched......
  • Python CDLL 无法加载两次
    我正在尝试用python创建一个密码管理器,但遇到了一个问题,一旦加载了一种类型的dll,我就无法加载不同的dll,在这个示例中,我加载了一个dll,并尝试解密加密的密码数据,它工作正常,直到我加载另一个不同的nss3.dll文件,此时它给我一个错误:“过程入口点HeapAlloc无法位于动态链......
  • Windows 上预构建的 libraqm DLL 在哪里?
    我想使用Pillow垂直书写文字。源代码如下。fromPILimportImage,ImageDrawimg=Image.new("RGB",(30,30),(255,255,255))draw=ImageDraw.Draw(img)draw.text((0,0),"ab",(0,0,0),direction="ttb")img.save("test.png",&q......
  • Linux Shell远程执行命令
    shell远程执行:    经常需要远程到其他节点上执行一些shell命令,如果分别ssh到每台主机上再去执行很麻烦,因此能有个集中管理的方式就好了。一下介绍两种shell命令远程执行的方法。 前提条件:配置ssh免密码登陆对于简单的命令:如果是简单执行几个命令,则:ssh......
  • Linux系统中常用的文件查看命令
    本章将和大家分享Linux系统中常用的文件查看命令。废话不多说,下面我们直接进入主题。一、cat命令1、文件处理cat命令连接文件并打印到标准输出设备上,cat经常用来显示文件的内容,类似于下的type命令。注意:当文件较大时,文本在屏幕上迅速闪过(滚屏),用户往往看不清所显示的内容。因此......
  • k8s命令行工具扩展
    工具kubectxwhat?切换context、namespace$kubectxminikubeSwitchedtocontext"minikube".$kubenskube-systemContext"test"set.Activenamespaceis"kube-system".fzfwhat?fzf:fuzzyfinder,一个通用的命令行模糊搜索工具主要用来列举env、cont......
  • 电脑技巧 | 你想拥有这样的自定义工具栏命令按钮吗?QTTabBar帮助你实现!
      【电脑技巧】第90期:你想拥有这样的自定义工具栏命令按钮吗?QTTabBar帮助你实现!    ......