|
|
1.1 ! root 1: .TH PS 1 ! 2: .CT 1 proc_man sa_mortals ! 3: .SH NAME ! 4: ps \(mi process status ! 5: .SH SYNOPSIS ! 6: .B ps ! 7: [ ! 8: .BI afhnlrux\fR[\fPFt name\fR][\fP num \fR] ! 9: ... ! 10: ] ! 11: .SH DESCRIPTION ! 12: .I Ps ! 13: prints information about processes. ! 14: Normally, only the user's ! 15: non-shell processes are reported. ! 16: .PP ! 17: All output formats include, for each process, the process id, its ! 18: control terminal, status, cpu time, and command. ! 19: The status is given ! 20: by a sequence of letters: ! 21: .ta \w'W'u+1m \n(LLu/2u +\w'W'u+1m ! 22: .PP ! 23: \f5R\f1 Running. \f5T\f1 Stopped. ! 24: .br ! 25: \f5P\f1 Waiting for a page. \f5S\f1 Sleeping (< 20 seconds). ! 26: .br ! 27: \f5I\f1 Idle (> 20 seconds). \f5N\f1 Process is `nice'; see \f2nice\f1(1). ! 28: .br ! 29: \f5W\f1 Swapped out. ! 30: .PP ! 31: .LR R , ! 32: .LR T , ! 33: .LR P , ! 34: .LR S , ! 35: and ! 36: .L I ! 37: are mutually exclusive. ! 38: .PP ! 39: Options are given in blank-separated clusters: ! 40: .nr xx \w'\f2number'u+1m/1n ! 41: .TP \n(xx ! 42: .B a ! 43: Give information about all users (ordinarily ! 44: only one's own processes are displayed). ! 45: .PD 0 ! 46: .TP ! 47: .BI F file ! 48: Display all processes having the ! 49: .IR file ! 50: open; ! 51: this option must be the last in a cluster. ! 52: .TP ! 53: .B f ! 54: Display file descriptors (with prepended process id). ! 55: .TP ! 56: .B ff ! 57: Display file descriptors (omitting process id). ! 58: .TP ! 59: .B h ! 60: Print column headers. ! 61: .TP ! 62: .B l ! 63: (long) Print the process size in kilobytes, ! 64: resident set size, parent process id, and wait channel. ! 65: .TP ! 66: .B n ! 67: Print unsorted ! 68: (output is normally sorted by process id). ! 69: .TP ! 70: .B r ! 71: Print processes which match the current real or effective user id ! 72: (normally only processes matching the current effective user id ! 73: are printed). ! 74: .TP ! 75: .BI t s ! 76: Print processes whose control stream is ! 77: .I s, ! 78: where ! 79: .I s ! 80: is either ! 81: .L . ! 82: (for user's tty), or one of the forms printed by ! 83: .I ps, ! 84: e.g. ! 85: .L 03 ! 86: for ! 87: .FR /dev/tty03 , ! 88: .L conso ! 89: for console, ! 90: .L dk12 ! 91: for ! 92: .FR /dev/dk/dk12 , ! 93: .L t? ! 94: for processes with no tty, etc. ! 95: This option must be the last in a cluster. ! 96: .TP ! 97: .B u ! 98: Include a name of the ! 99: effective userid and cpu share in percent; sort by usage. ! 100: .TP ! 101: .B x ! 102: Include shell and ! 103: .IR init (8) ! 104: processes. ! 105: (A stopped shell is reported without ! 106: .BR x .) ! 107: .TP ! 108: .I num ! 109: Print the designated process; ! 110: must be the last option in a cluster. ! 111: .PD ! 112: .PP ! 113: Multiple ! 114: .BR F ", " t ", and" ! 115: .I n ! 116: options are allowed; the union of all selections is printed. ! 117: .SH FILES ! 118: .TF /usr/net/friends+1m ! 119: .TP ! 120: .F /proc ! 121: process images ! 122: .TP ! 123: .F /dev/drum ! 124: swap device ! 125: .TP ! 126: .F /dev/kmem ! 127: kernel memory ! 128: .TP ! 129: .F /dev ! 130: searched to find tty names ! 131: .TP ! 132: .F /dev/dk ! 133: searched to find dk names ! 134: .TP ! 135: .F /etc/fstab ! 136: searched to find local file system names ! 137: .SH "SEE ALSO" ! 138: .IR kill (1), ! 139: .IR nice (2), ! 140: .IR proc (4), ! 141: .IR load (1) ! 142: .SH BUGS ! 143: Things can change while ! 144: .I ps ! 145: is running.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.