DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

user - Display the user structure

SYNOPSIS

user address
User address

DESCRIPTION

The user macro takes one argument, that of a user struct. First, run the proc macro and use the segu address as an argument.

The user structure is defined in /usr/include/sys/user.h.

Typical output looks like this: (in 1.1.1 and 1.3)

 S> user F0FC0000
  [E0004000]  comm "in.rlogind"
  psargs = "in.rlogind "
   uid 00000.  proc D14BDA00  tsize 00000000  ticks 0119725863.  qsav E00055E8
   gid 00000.    ap E00050B0  dsize 00000000    tss E00057B4
  ruid 00000.  cdir D114C7F8  ssize 00000000  sztss 00232.
  rgid 00000.  rdir 00000000    ar0 E0004E34  error 000.
  syscall 00087.  args are:
    080453AC 00000002 FFFFFFFF 080473C0 00000004 00003000 00000000 00000000
The 1.2 macro shows or by using User in 1.3:
S> User F0FC0000
  PER PROCESS USER AREA FOR PROCESS D1508600
        command: uci psargs: uci
        proc slot: 015  start: Thu Jul 27 07:04:11 1995
        mem: 96,  type: exec su-user
        proc/text lock:none
        error 0000    ticks 0000046621.
        syscall 0004  args are:
          0000000C 08056B38 00000005 08047E40 00000004 00003000 00000000 00000000
        vnode of current directory: D1230E88

  PROCESS MISC:
  OPEN FILES AND POFILE FLAGS:
        [00]: F D13E9B80, 0      [01]: F D13F4400, 0
        [02]: F D13E9280, 1000000      [03]: F D1528E80, 10000
        [04]: F D153CA80, 1000100      [05]: F D153CA00, 10001
        [06]: F D153C600, 100      [07]: F D153C380, 1
        [08]: F D1541700, 0      [09]: F D1541780, 0
        [10]: F D153D400, 0      [11]: F D1521280, 0
        [12]: F D155F780, 0      [13]: F D1587F00, 0
  FILE I/O:
        u_base: 00000000, file offset: 0, bytes: 0,
        segment: data, cmask: 0000
  RESOURCE LIMITS:
        cpu time: unlimited/unlimited
        file size: 134217728/8388608
        swap size: 16777216/16777216
        stack size: 16777216/16777216
        coredump size: 16777216/16777216
        file descriptors: 128/128
        address space: 16777216/16777216
        file mode(s):
  SIGNAL DISPOSITION:
        00: 8001EEF0  01: 8004FC18  02:  default  03:  default  04:  default
        04:  default  05:  default  06:  default  07:  default  08:  default
        08:  default  09:  default  10:  default  11:  default  12: 8001EEF0
        12: 8001EEF0  13: 8001EEF0  14: 8001EEF0  15: 8001EEF0  16: 8001EEF0
        16: 8001EEF0  17:  default  18: 8001EEF0  19: 8001EEF0  20: 8001EEF0
        20: 8001EEF0  21: 8004FC94  22:  default  23: 8001EEF0  24: 8001EEF0
        24: 8001EEF0  25: 8001EEF0  26: 8001EEF0  27: 8001EEF0  28: 8001EEF0
        28: 8001EEF0  29:  ignore   30:  ignore   31:  default  32: 80021AF8
        32: 80021AF8  33:  default  34:  default  35:  default  36:  default
The User macro in 1.3 can be used to show the same information as the 1.2 user macro.

DEFINED IN

user.k

SEE ALSO

proc

APPENDIX A: Alphabetic Index of Macros