Solaris mdb magic: Difference between revisions
From Lolly's Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Kategorie:Solaris|Modular Debugger]] | |||
=Verschiedene kleine mdb Tricks= | =Verschiedene kleine mdb Tricks= | ||
Line 31: | Line 32: | ||
do_tcp_fusion: 0 = 0x0 | do_tcp_fusion: 0 = 0x0 | ||
</pre> | </pre> | ||
Revision as of 14:33, 8 January 2015
Verschiedene kleine mdb Tricks
Memory usage
# echo ::memstat|mdb -k Page Summary Pages MB %Tot ------------ ---------------- ---------------- ---- Kernel 2855874 11155 69% Anon 50119 195 1% Exec and libs 4754 18 0% Page cache 22972 89 1% Free (cachelist) 11948 46 0% Free (freelist) 1221894 4773 29% Total 4167561 16279 Physical 4078747 15932
Kernelparameter abfragen
Syntax: echo '<Parameter>/D' | mdb -k
# echo 'ncsize/D' | mdb -k ncsize: ncsize: 70485
Kernelparameter setzen
Syntax: echo '<Parameter>/W<Value>' | mdb -wk
# echo 'do_tcp_fusion/W0' | mdb -wk do_tcp_fusion: 0 = 0x0