[DDB] show pcpu ....
Julian Elischer
julian at elischer.org
Sun Jan 16 23:02:13 PST 2005
Wilkinson, Alex wrote:
> Can anyone point me to an explanation of 'show pcpu' ?
>
> It is first introduced here:
>
> http://www.freebsd.org/releases/5.0R/DP1/relnotes-i386.html
Each processor has a memory section that contains a separate and different
copy of the per-cpu structure (struct pcpu).
The fields of this structure are usually accessed via the PCPU_GET()
and PCPU_SET() macros. curthread (or curproc in earlier systems)
is defined in terms of thiese macros.
"show pcpu" shows the values of the particular insatanc of this structure
for the cpu on which the ddb is running.
>
> With a link to ddb(4) man page:
>
> http://www.freebsd.org/cgi/man.cgi?query=ddb&sektion=4&manpath=FreeBSD+5.0-current
>
> However, the man page says nothing whatsoever about 'show pcpu'.
>
> Anyone ?
>
> - aW
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
More information about the freebsd-current
mailing list