crash命令 —— whatis

简介: crash命令 —— whatis

参考:https://crash-utility.github.io/help_pages/whatis.html

用法:

  • 查看内核内核符号或者数据类型的详细定义
    whatis <数据类型>whatis <内核符号>
  • 查看内核数据类型内部成员的偏移
    whatis -o <数据类型>
  • 列出内核里所有大小为size的数据结构
    whatis -r <size>
  • 列出内核里所有大小在一个区间的数据结构
    whatis -r 256-512
  • 列出内核里所有包含某个数据类型的结构体,这里的包含可以是直接包含,也可以包含指向这个类型的结构体的指针
    whatis -m <数据类型>


目录
打赏
0
1
1
0
113
分享
相关文章
|
6月前
crash命令 —— sym
crash命令 —— sym
|
6月前
|
crash命令 —— runq
crash命令 —— runq
|
6月前
crash命令 —— fuser
crash命令 —— fuser
|
6月前
|
crash命令 —— ps
crash命令 —— ps
|
6月前
crash命令 —— kmem
crash命令 —— kmem
|
6月前
crash命令 —— p
crash命令 —— p
|
6月前
crash命令 —— ptov
crash命令 —— ptov
|
6月前
crash命令 —— waitq
crash命令 —— waitq
|
6月前
crash命令 —— ptob/btop
crash命令 —— ptob/btop