Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

show system variables

Status
Not open for further replies.

mahalingam1

IS-IT--Management
Dec 7, 2007
75
Hi all, i want know how can i show the system variables.

I know a few variables can be show using sysdef command, but the variable that i interested to does not appear.

i'm interested in pt_cnt variable.

I'm think i can use the adb command but i'm not sure what option can i use, and i think this command It is quite dangerous.

Please anyone can helpme??

Thanks in advance and regards
 
To find system variables on a running system use the following:

Check out the man pages:
man adb

Then use:
adb -k /dev/ksyms /dev/mem

<variable>/D (the man pages explain /D

<ctrl-d> (to quit out of adb


I hope that helps.

Mike
 
You can also use the undocumented netstat -k <variable_name>, which may be safer.

Annihilannic.
 
Hi Annihilannic and Mike042. Thanks for your information.

Cheers


Mahalingam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top