-bash-3.00$ /usr/ccs/bin/nm /dev/ksyms |grep maxpgioIn the above example the third column tells us that this maxpgio is 8 byte object therefore we need to use /E
[23962] | 25553712| 8|OBJT |GLOB |0 |ABS |maxpgio
[root@db31:/] mdb -k
Loading modules: [ unix krtld genunix specfs dtrace ufs sd pcisch ip sctp usba fcp fctl ssd md fcip cpc random crypto logindmux ptm nfs ]
> maxpgio/E
maxpgio:
maxpgio: 40
> maxpgio/J
maxpgio:
maxpgio: 28
Use the option /J when you want the value to be displayed as hex.
No comments:
Post a Comment