pstat man page on Xenix

Man page or keyword search:  
man Server   1130 pages
apropos Keyword Search (all sections)
Output format
Xenix logo
[printable version]



     PSTAT(C)		      XENIX System V		      PSTAT(C)

     Name
	  pstat - Reports system information.

     Syntax
	  pstat [ -aixpf ] [ -u ubase ] [ -c corefile ] [ -n namelist
	  ] [ file ]

     Description
	  pstat interprets the contents of certain system tables.
	  pstat searches for these tables in /dev/mem and /dev/kmem.

     Options
	  The available options are as follows:

	  -a	Under -p, describe all process slots rather than just
		active ones.

	  -i	Print the inode table with these headings:
		LOC	The core location of this table entry.
		FLAGS	Miscellaneous state variables encoded thus:
			L    Locked
			U    Update time filesystem(F) must be
			     corrected
			A    Access time must be corrected
			M    File system is mounted here
			W    Wanted by another process (L flag is on)
			T    Contains a text (executable image) file
			C    Changed time must be corrected
		CNT	Number of open file table entries for this
			inode.
		DEV	Major and minor device number of file system
			in which this inode resides.
		INO	I-number within the device.
		MODE	Mode bits, see chmod(S).
		NLK	Number of links to this inode.
		UID	User ID of owner.
		SIZ/DEV Number of bytes in an ordinary file, or major
			and minor device of special file.

	  -x	Prints the text (executable code segment) table with
		these headings (-286 only):
		LOC	The core location of this table entry.
		FLAGS	Miscellaneous state variables encoded thus:
			T    ptrace(S) in effect
			W    Text not yet written on swap device
			L    Loading in progress
			K    Locked
			w    Wanted (L flag is on)
		DADDR	Disk address in swap, measured in multiples of
			BSIZE bytes.
		CADDR	Core address, measured in units of memory
			management resolution.

     Page 1					      (printed 2/7/91)

     PSTAT(C)		      XENIX System V		      PSTAT(C)

		SIZE	Size of text segment, measured in units of
			memory management resolution.
		IPTR	Core location of corresponding inode.
		CNT	Number of processes using this text segment.
		CCNT	Number of processes in core using this text
			segment.

	  -p
	  Prints process table for active processes with these
	  headings:
	  LOC	  The core location of this table entry.
	  S	  Run state encoded thus:
		  0    No process
		  1    Waiting for some event
		  3    Runnable
		  4    Being created
		  5    Being terminated
		  6    Stopped under trace
	  F	  Miscellaneous state variables, ORed together:
		  01   Loaded
		  02   The scheduler process
		  04   Locked
		  010  Swapped out
		  020  Traced
		  040  Used in tracing
		  0100 Locked in by lock(S).
	  PRI	  Scheduling priority, see nice(S).
	  SIGNAL  Signals received (signals 1-16 coded in bits 0-15).
	  UID	  Real user ID.
	  TIM	  Time resident in seconds; times over 127 coded as
		  127.
	  CPU	  Weighted integral of CPU time, for scheduler.
	  NI	  Nice level, see nice(S).
	  PGRP	  Process number of root of process group (the opener
		  of the controlling terminal).
	  PID	  The process ID number.
	  PPID	  The process ID of parent process.
	  ADDR1, ADDR2
		  If in core, the physical page frame numbers of the
		  u-area of the process. These numbers can be
		  translated into the addresses of the u-area, which
		  is split and stored in two pages.  If swapped out,
		  the position in the swap area is measured in
		  multiples of BSIZE bytes.
	  WCHAN	  Wait channel number of a waiting process.
	  LINK	  Link pointer in list of runnable processes.
	  TEXTP	  If text is pure, pointer to location of text table
		  entry (286 only).
	  INODP	  Pointer to location of shared inode (386 only).
	  CLKT	  Countdown for alarm(S) measured in seconds.

	  -t

     Page 2					      (printed 2/7/91)

     PSTAT(C)		      XENIX System V		      PSTAT(C)

	  Print table for terminals with these headings:
	  RAW	  Number of characters in raw input queue.
	  CAN	  Number of characters in canonicalized input queue.
	  OUT	  Number of characters in output queue.
	  IMODE	  Corresponds to c_iflag field in termio structure,
		  see tty(M).
	  OMODE	  Corresponds to c_oflag field in termio structure,
		  see tty(M).
	  CMODE	  Corresponds to c_cflag field in termio structure,
		  see tty(M).
	  LMODE	  Corresponds to c_lflag field in termio structure,
		  see tty(M).
	  ADDR	  Physical device address.
	  DEL	  Number of delimiters (newlines) in canonicalized
		  input queue.
	  COL	  Calculated column position of terminal.
	  STATE	  Miscellaneous state variables:
		  W    waiting for open to complete
		  O    open
		  S    has special (output) start routine
		  C    carrier is on
		  B    busy doing output
		  A    process is awaiting output
		  X    open for exclusive use
		  H    hangup on close
	  PGRP	  Process group for controlling terminal.

	  -f
	  Print the open file table with these headings:
	  LOC	  The core location of this table entry.
	  FLG	  Miscellaneous state variables:
		  R    Open for reading
		  W    Open for writing
		  P    Pipe
	  CNT	  Number of processes that know this open file.
	  INO	  The location of the inode table entry for this file.
	  OFFS	  The file offset, see lseek(S).
	  -u ubase
	  Print information about a user process.  ubase is the
	  hexadecimal location of the process in main memory.  The
	  address can be obtained by using the long listing ( -l
	  option) of the ps(C) command.
	  -c corefile
	  Use the file corefile in place of /dev/kmem.
	  -n namelist
	  Use the file namelist as an alternate namelist in place of
	  /xenix.
	  file
	  Source or tables as an alternate to /dev/mem.

     Files
	  /xenix    Namelist

     Page 3					      (printed 2/7/91)

     PSTAT(C)		      XENIX System V		      PSTAT(C)

	  /dev/mem  Default source of tables

     See Also
	  ps(C), stat(S), filesystem(F)

     Page 4					      (printed 2/7/91)

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Xenix

List of man pages available for Xenix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net