Solaris mdb magic: Difference between revisions
From Lolly's Wiki
Jump to navigationJump to search
(Die Seite wurde neu angelegt: „=Verschiedene kleine mdb Tricks= ==Memory usage== <code> # echo ::memstat|mdb -k Page Summary Pages MB %Tot ------------ -----…“) |
No edit summary |
||
Line 2: | Line 2: | ||
==Memory usage== | ==Memory usage== | ||
< | <pre> | ||
# echo ::memstat|mdb -k | # echo ::memstat|mdb -k | ||
Page Summary Pages MB %Tot | Page Summary Pages MB %Tot | ||
Line 15: | Line 15: | ||
Total 4167561 16279 | Total 4167561 16279 | ||
Physical 4078747 15932 | Physical 4078747 15932 | ||
</ | </pre> | ||
==Kernelparameter abfragen== | ==Kernelparameter abfragen== | ||
Syntax: echo '<Parameter>/D' | mdb -k | Syntax: echo '<Parameter>/D' | mdb -k | ||
< | <pre> | ||
# echo 'ncsize/D' | mdb -k | # echo 'ncsize/D' | mdb -k | ||
ncsize: | ncsize: | ||
ncsize: 70485 | ncsize: 70485 | ||
</ | </pre> | ||
==Kernelparameter setzen== | ==Kernelparameter setzen== | ||
Syntax: echo '<Parameter>/W<Value>' | mdb -wk | Syntax: echo '<Parameter>/W<Value>' | mdb -wk | ||
< | <pre> | ||
# echo 'do_tcp_fusion/W0' | mdb -wk | # echo 'do_tcp_fusion/W0' | mdb -wk | ||
do_tcp_fusion: 0 = 0x0 | do_tcp_fusion: 0 = 0x0 | ||
</ | </pre> | ||
[[Kategorie:Solaris]] | [[Kategorie:Solaris]] |
Revision as of 07:50, 23 May 2012
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