DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

stack - Displays the proc, tss and stack for a process

SYNOPSIS

stack address
stack+ address
dstack address

DESCRIPTION

The stack macro takes one argument, the address of a process. It displays the same information as the proc and tss macros as well as showing the stack for the process.

The stack+ macro is the same as the stack macro, but sets up the nx command to print the same information about the next process pointed to by the given process.

The dstack macro will loop, printing the verbose stack information about the other processes chained from the next pointer of the given proc.

Typical output looks like this:


  S> stack D10C1200
  [D10C1200]   SLEEP(D12C0C00)  flag 2010: LOAD ULOAD
  pid 13598.   pri 4C   sig 00000000  ign 651E0002  kbd -  ubd -    uid 00103.
  ppid 13593.  csig 00  mask 00000000  cid 00000002  run -          usiz 0002
  pgrp 13592.  cflt 00  hold 00000000   as D12B36C0  mutx D10C138C  segu F13B0000
  u.u_psargs = "rlogin unity -l isvunix "

  TSS for process: D10C1200
  [E00057B4]  cr3 00002000  eip swtch+A8
  eflags 00000006: PF IOPL=0
  link 0000  stk0 0160:E0004E80  stk1 0160:E0004E80  stk2 0160:E0004E80
  eax 00FB6063  edx 00000148  esp E0204438  esi D12E1E80
  ecx 00000000  ebx D024C334  ebp E0004C54  edi D10C1200
  es,cs,ss,ds,fs,gs,ldt,base 0160 0158 0160 0160 0000 0000 0140 680000

  Stack for process: D10C1200
  E0204438    D02839F8            pfbuffers
  E020443C    D0283DF8
  E0204440    D02839F8

DEFINED IN

trace.k

SEE ALSO

activeprocs, proc, trace, tss

APPENDIX A: Alphabetic Index of Macros