user subcommand

The user subcommand (alias u) displays data from the kernel user structure.

Format

user [-ad] [-cr] [-f] [-w] [-s] [-ru] [-t] [-ut] [-64] [-32] [-s32] threadslot/eaddr

Parameters

Item Description
-ad Prints user adpsace information only.
-cr Prints credential information only.
-f Prints file information only.
-ru Prints profiling, resource, or limit information only.
-s Prints signal information only.
-t Prints timers information only.
-ut Prints user-thread information only.
-64 Prints 64-bit user information only.
-mc Prints miscellaneous user information only.
-w Prints Workload Manager (WLM) information only.
-32 Prints 32-bit STAB only.
-s32 Prints 32-bit signal information for a 64-bit process.

Examples

The user command displays the user structure as uthread and ublock, for a thread identified by its slot number or thread slot address. When the slot or address is not specified, it displays the user structure for the current thread. The options listed for the user command limit the output to some sections of the user structure.



Example of detailed output:
---------------------------------

KDB(0)> u
User thread context [F00000002FF47600]:
   save.... @ F00000002FF47600   fpr..... @ F00000002FF47900
   kstack  .... F00000002FF47600
Uthread VMX state:
   vmxstate...00<<VMX NOT USED
Uthread System call state:
   msr........800000000000D032
   errnopp....0FFFFFFFFFFFFFE8   error......00000000
   context....0000000000000000
   sigssz.....0000000000000000   sc_flags...00
   stkb.......0000000000000000   scnum......0153 cancelable? N
   scsave[0]..BADC0FFEE0DDF00D   scsave[1]..0000000000000000
   scsave[2]..0000000000001000   scsave[3]..090000000003BFE0
   scsave[4]..FFFFFFFFFFFFFFFF   scsave[5]..000000002000148C
   scsave[6]..FFFFFFFFFFFFFFFF   scsave[7]..00000000DEADBEEF
   flags: ASSERTSIG CHKWAKE
   kstack.....F00000002FF47600   audsvc.....0000000000000000
   amr........3FFC000000000003   amrstack...F00000002FFCD000
Uthread Miscellaneous stuff:
   fstid.....00000000   ioctlrv...00000000

...   ...   ...
Note: For all kdb subcommands, only a few output might be useful for AIX® users, because most of the output columns requires knowledge about of the corresponding subsystem's internals (in this case, process management).