5.22 Tuning kernel

De UnixWiki
Version datée du 8 février 2013 à 13:59 par Futex (discussion | contributions) (Page créée avec « adb is a runtime debugger. Superuser can run adb with the -k option to see variables in the running kernel. If -w is specified with the -k option, superuser can change the... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche

adb is a runtime debugger. Superuser can run adb with the -k option to see variables in the running kernel. If -w is specified with the -k option, superuser can change the in-memory values of the running kernel. Any changes made in this manner are lost when the system reboots.

Exemple change maxusers value

 # adb -kw
 physmem f7c6
 maxusers/D
 maxusers:
 maxusers:       495
 maxusers/W 200
 maxusers:       0x1ef           =       0x200
 $q 

New to the Solaris 8 release is the modular debugger Exemple change maxusers value

 # mdb -kw
 Loading modules: [ unix krtld genunix ip logindmux ptm nfs ipc lofs ]
 > maxusers/D
 maxusers:
 maxusers:       495
 > maxusers/W 200
 maxusers:       0x1ef           =       0x200
 > $q