On 10-Sep-01 Dag-Erling Smorgrav wrote:
> Julian Elischer <[EMAIL PROTECTED]> writes:
>> Marcel Moolenaar wrote:
>> > BTW: Do we have handy functions for use in the remote debugger, such
>> > as show_proc, show_vm or whatever, that dump important information
>> > in a readable form?
>> Matt has a cool set of macros as does Grog.
> I have a couple of macros I've used for debugging KLDs, which may
> serve as templates or inspiration for someone to write e.g. a "ps"
> macro (it shouldn't be too different from the "kldstat" macro, just
> walk the process table and print formatted info for every process)

Grog has a ps macro.  Look in sys/modules/vinum IIRC.


John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to