165
|
1 ;;; view-process-system-specific.el --- System specific stuff for view-process
|
|
2
|
|
3 ;; Copyright (C) 1995 Heiko Muenkel
|
|
4
|
|
5 ;; Author: Heiko Muenkel <muenkel@tnt.uni-hannover.de>
|
|
6 ;; Keywords: processes
|
|
7
|
|
8 ;; This file is part of XEmacs.
|
|
9
|
177
|
10 ;;; $Id: view-process-system-specific.el,v 1.3 1997/07/26 22:09:50 steve Exp $
|
165
|
11
|
|
12 ;; XEmacs is free software; you can redistribute it and/or modify it
|
|
13 ;; under the terms of the GNU General Public License as published by
|
|
14 ;; the Free Software Foundation; either version 2, or (at your
|
|
15 ;; option) any later version.
|
|
16
|
|
17 ;; XEmacs is distributed in the hope that it will be useful, but
|
|
18 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
20 ;; General Public License for more details.
|
|
21
|
|
22 ;; You should have received a copy of the GNU General Public License
|
|
23 ;; along with XEmacs; see the file COPYING. if not, write to the Free
|
|
24 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
25 ;; 02111-1307, USA.
|
|
26
|
|
27 ;;; Synched up with: Emacs 20.1.
|
|
28
|
|
29 ;;; Commentary:
|
|
30
|
|
31 ;; This file contains system specific stuff for the
|
|
32 ;; view-process-mode. It isn't necessary, that each systems has
|
|
33 ;; an entry in this file, because there are default values, which
|
|
34 ;; are used, if no entry exists.
|
|
35
|
|
36 ;; Installation:
|
|
37 ;;
|
|
38 ;; Put this file in one of you lisp load path directories.
|
|
39 ;;
|
|
40
|
|
41 ;;; Code:
|
|
42
|
|
43 (provide 'view-process-system-specific)
|
|
44
|
|
45 (defvar View-process-specific-system-list
|
|
46 '(("linux" nil "bsd"
|
177
|
47 View-process-field-name-descriptions-linux
|
165
|
48 View-process-kill-signals-linux)
|
|
49 ("sunos" "4" "bsd"
|
|
50 View-process-field-name-descriptions-sunos4
|
|
51 View-process-kill-signals-sunos4)
|
|
52 ("sunos" "5" "system-v"
|
|
53 View-process-field-name-descriptions-sunos5
|
|
54 View-process-kill-signals-sunos5)
|
|
55 ("irix" nil "system-v"
|
|
56 View-process-field-name-descriptions-irix
|
|
57 View-process-kill-signals-irix)
|
|
58 ("hp-ux" nil "system-v"
|
|
59 View-process-field-name-descriptions-hpux
|
|
60 View-process-kill-signals-hpux)
|
|
61 )
|
|
62 "This is a list with all systems, for which specific information about
|
|
63 allowed signals and about the ps output exists. Set it to nil, if you don't
|
|
64 want to use this specific information.
|
|
65 The first string of each sublist is the name of the system, the second
|
|
66 string is the mayor version number or nil. The third one determines,
|
|
67 if the ps command is BSD or System V like. The mayor version is only
|
|
68 necessary, if there are BSD and System V versions with the same system
|
|
69 names (SUN has done such a stupid system naming.), otherwise it is nil.
|
|
70 The fifth entry is nil or the name of a special list with field name
|
|
71 descriptions. The sixth entry is nil or the name of a special list with
|
|
72 kill signals.")
|
|
73
|
|
74 ;;; signals
|
|
75
|
|
76 (defvar View-process-kill-signals-bsd nil
|
|
77 "An alist with the possible signals for the kill command for BSD
|
|
78 systems. It is only used, if the system type can't be determined or if
|
|
79 it is not in the `View-process-specific-system-list'.")
|
|
80
|
|
81 (defvar View-process-kill-signals-system-v nil
|
|
82 "An alist with the possible signals for the kill command for BSD
|
|
83 systems. It is only used, if the system type can't be determined or if
|
|
84 it is not in the `View-process-specific-system-list'.")
|
|
85
|
|
86 (defvar View-process-kill-signals-sunos4
|
|
87 '(("SIGHUP" "1") ("SIGINT" "2") ("SIGQUIT" "3") ("SIGILL" "4")
|
|
88 ("SIGTRAP" "5") ("SIGIOT" "6") ("SIGABRT" "6") ("SIGEMT" "7")
|
|
89 ("SIGFPE" "8") ("SIGKILL" "9") ("SIGBUS" "10") ("SIGSEGV" "11")
|
|
90 ("SIGSYS" "12") ("SIGPIPE" "13") ("SIGALRM" "14") ("SIGTERM" "15")
|
|
91 ("SIGURG" "16") ("SIGSTOP" "17") ("SIGTSTP" "18") ("SIGCONT" "19")
|
|
92 ("SIGCHLD" "20") ("SIGCLD" "20") ("SIGTTIN" "21") ("SIGTTOU" "22")
|
|
93 ("SIGIO" "23") ("SIGPOLL" "23") ("SIGXCPU" "24") ("SIGXFSZ" "25")
|
|
94 ("SIGVTALRM" "26") ("SIGPROF" "27") ("SIGWINCH" "28")
|
|
95 ("SIGLOST" "29") ("SIGUSR1" "30") ("SIGUSR2" "31")
|
|
96 ("1" "1") ("2" "2") ("3" "3") ("4" "4") ("5" "5") ("6" "6") ("7" "7")
|
|
97 ("8" "8") ("9" "9") ("10" "10") ("11" "11") ("12" "12") ("13" "13")
|
|
98 ("14" "14") ("15" "15") ("16" "16") ("17" "17") ("18" "18")
|
|
99 ("19" "19") ("20" "20") ("21" "21") ("22" "22") ("23" "23")
|
|
100 ("24" "24") ("25" "25") ("26" "26") ("27" "27") ("28" "28")
|
|
101 ("29" "29") ("30" "30") ("31" "31"))
|
|
102 "An alist with the possible signals for the kill command for SunOS 4.
|
|
103 It may be that you've other signals on your system. Try to test
|
|
104 it with \"kill -l\" in a shell.")
|
|
105
|
|
106 (defvar View-process-kill-signals-sunos5
|
|
107 '(("SIGHUP" "1") ("SIGINT" "2") ("SIGQUIT" "3") ("SIGILL" "4")
|
|
108 ("SIGTRAP" "5") ("SIGIOT" "6") ("SIGABRT" "6") ("SIGEMT" "7")
|
|
109 ("SIGFPE" "8") ("SIGKILL" "9") ("SIGBUS" "10") ("SIGSEGV" "11")
|
|
110 ("SIGSYS" "12") ("SIGPIPE" "13") ("SIGALRM" "14") ("SIGTERM" "15")
|
|
111 ("SIGUSR1" "16") ("SIGUSR2" "17") ("SIGCHLD" "18") ("SIGCLD" "18")
|
|
112 ("SIGPWR" "19") ("SIGWINCH" "20") ("SIGURG" "21") ("SIGPOLL" "22")
|
|
113 ("SIGIO" "22") ("SIGSTOP" "23") ("SIGTSTP" "24") ("SIGCONT" "25")
|
|
114 ("SIGTTIN" "26") ("SIGTTOU" "27") ("SIGVTALRM" "28") ("SIGPROF" "29")
|
|
115 ("SIGXCPU" "30") ("SIGXFSZ" "31") ("SIGWAITING" "32") ("SIGLWP" "33")
|
|
116 ("SIGFREEZE" "34") ("SIGTHAW" "36") ("SIGRTMIN" "36") ("SIGRTMAX" "43")
|
|
117 ("1" "1") ("2" "2") ("3" "3") ("4" "4") ("5" "5") ("6" "6") ("7" "7")
|
|
118 ("8" "8") ("9" "9") ("10" "10") ("11" "11") ("12" "12") ("13" "13")
|
|
119 ("14" "14") ("15" "15") ("16" "16") ("17" "17") ("18" "18")
|
|
120 ("19" "19") ("20" "20") ("21" "21") ("22" "22") ("23" "23")
|
|
121 ("24" "24") ("25" "25") ("26" "26") ("27" "27") ("28" "28")
|
|
122 ("29" "29") ("30" "30") ("31" "31") ("32" "32") ("33" "33")
|
|
123 ("34" "34") ("36" "36") ("43" "43"))
|
|
124 "An alist with the possible signals for the kill command for SunOS 5.
|
|
125 It may be that you've other signals on your system. Try to test
|
|
126 it with \"kill -l\" in a shell.")
|
|
127
|
|
128 (defvar View-process-kill-signals-irix
|
|
129 '(("SIGHUP" "1") ("SIGINT" "2") ("SIGQUIT" "3") ("SIGILL" "4")
|
|
130 ("SIGTRAP" "5") ("SIGIOT" "6") ("SIGABRT" "6") ("SIGEMT" "7")
|
|
131 ("SIGFPE" "8") ("SIGKILL" "9") ("SIGBUS" "10") ("SIGSEGV" "11")
|
|
132 ("SIGSYS" "12") ("SIGPIPE" "13") ("SIGALRM" "14") ("SIGTERM" "15")
|
|
133 ("SIGUSR1" "16") ("SIGUSR2" "17") ("SIGCLD" "18") ("SIGCHLD" "18")
|
|
134 ("SIGPWR" "19") ("SIGWINCH" "20") ("SIGURG" "21") ("SIGPOLL" "22")
|
|
135 ("SIGIO" "22") ("SIGSTOP" "23") ("SIGTSTP" "24") ("SIGCONT" "25")
|
|
136 ("SIGTTIN" "26") ("SIGTTOU" "27") ("SIGVTALRM" "28") ("SIGPROF" "29")
|
|
137 ("SIGXCPU" "30") ("SIGXFSZ" "31") ("SIG32" "32")
|
|
138 ("1" "1") ("2" "2") ("3" "3") ("4" "4") ("5" "5") ("6" "6") ("7" "7")
|
|
139 ("8" "8") ("9" "9") ("10" "10") ("11" "11") ("12" "12") ("13" "13")
|
|
140 ("14" "14") ("15" "15") ("16" "16") ("17" "17") ("18" "18")
|
|
141 ("19" "19") ("20" "20") ("21" "21") ("22" "22") ("23" "23")
|
|
142 ("24" "24") ("25" "25") ("26" "26") ("27" "27") ("28" "28")
|
|
143 ("29" "29") ("30" "30") ("31" "31") ("32" "32"))
|
|
144 "An alist with the possible signals for the kill command for IRIX.
|
|
145 It may be that you've other signals on your system. Try to test
|
|
146 it with \"kill -l\" in a shell.")
|
|
147
|
|
148 (defvar View-process-kill-signals-linux
|
|
149 '(("SIGHUP" "1") ("SIGINT" "2") ("SIGQUIT" "3") ("SIGILL" "4")
|
|
150 ("SIGTRAP" "5") ("SIGIOT" "6") ("SIGBUS" "7") ("SIGFPE" "8")
|
|
151 ("SIGKILL" "9") ("SIGUSR1" "10") ("SIGSEGV" "11") ("SIGUSR2" "12")
|
177
|
152 ("SIGPIPE" "13") ("SIGALRM" "14") ("SIGTERM" "15") ("SIGSTKFLT" "16")
|
|
153 ("SIGCHLD" "17") ("SIGCONT" "18") ("SIGSTOP" "19") ("SIGTSTP" "20")
|
|
154 ("SIGTTIN" "21") ("SIGTTOU" "22") ("SIGURG" "23") ("SIGXCPU" "24")
|
|
155 ("SIGXFSZ" "25") ("SIGVTALRM" "26") ("SIGPROF" "27") ("SIGWINCH" "28")
|
|
156 ("SIGIO" "29") ("SIGPWR" "30")
|
165
|
157 ("1" "1") ("2" "2") ("3" "3") ("4" "4") ("5" "5") ("6" "6") ("7" "7")
|
|
158 ("8" "8") ("9" "9") ("10" "10") ("11" "11") ("12" "12") ("13" "13")
|
177
|
159 ("14" "14") ("15" "15") ("16" "16") ("17" "17") ("18" "18") ("19" "19")
|
165
|
160 ("20" "20") ("21" "21") ("22" "22") ("23" "23") ("24" "24")
|
177
|
161 ("25" "25") ("26" "26") ("27" "27") ("28" "28") ("29" "29") ("30" "30"))
|
165
|
162 "An alist with the possible signals for the kill command for linux.
|
|
163 It may be that you've other signals on your system. Try to test
|
177
|
164 it with \"kill -l\" in a shell, or better, see <asm/signal.h>")
|
165
|
165
|
|
166 ;; all Linux signals
|
|
167 ;(defvar View-process-kill-signals
|
|
168 ; '(("SIGHUP" "1") ("SIGINT" "2") ("SIGQUIT" "3") ("SIGILL" "4")
|
|
169 ; ("SIGTRAP" "5") ("SIGIOT" "6") ("SIGBUS" "7") ("SIGFPE" "8")
|
|
170 ; ("SIGKILL" "9") ("SIGUSR1" "10") ("SIGSEGV" "11") ("SIGUSR2" "12")
|
|
171 ; ("SIGPIPE" "13") ("SIGALRM" "14") ("SIGTERM" "15") ("SIGCHLD" "17")
|
|
172 ; ("SIGCONT" "18") ("SIGSTOP" "19") ("SIGTSTP" "20") ("SIGTTIN" "21")
|
|
173 ; ("SIGTTOU" "22") ("SIGIO" "23") ("SIGXCPU" "24") ("SIGXFSZ" "25")
|
|
174 ; ("SIGVTALRM" "26") ("SIGPROF" "27") ("SIGWINCH" "28") ("SIGPWR" "30")
|
|
175 ; ("1" "1") ("2" "2") ("3" "3") ("4" "4") ("5" "5") ("6" "6") ("7" "7")
|
|
176 ; ("8" "8") ("9" "9") ("10" "10") ("11" "11") ("12" "12") ("13" "13")
|
|
177 ; ("14" "14") ("15" "15") ("17" "17") ("18" "18") ("19" "19")
|
|
178 ; ("20" "20") ("21" "21") ("22" "22") ("23" "23") ("24" "24")
|
|
179 ; ("25" "25") ("26" "26") ("27" "27") ("28" "28") ("30" "30"))
|
|
180 ; "An alist with the possible signals for the kill command.
|
|
181 ;It may be that you've other signals on your system. Try to test
|
|
182 ;it with \"kill -l\" in a shell.")
|
|
183
|
|
184 (defvar View-process-kill-signals-hpux
|
|
185 '(("SIGHUP" "1") ("SIGINT" "2") ("SIGQUIT" "3") ("SIGILL" "4")
|
|
186 ("SIGTRAP" "5") ("SIGIOT" "6") ("SIGABRT" "6") ("SIGEMT" "7")
|
|
187 ("SIGFPE" "8") ("SIGKILL" "9") ("SIGBUS" "10") ("SIGSEGV" "11")
|
|
188 ("SIGSYS" "12") ("SIGPIPE" "13") ("SIGALRM" "14") ("SIGTERM" "15")
|
|
189 ("SIGUSR1" "16") ("SIGUSR2" "17") ("SIGCLD" "18") ("SIGCHLD" "18")
|
|
190 ("SIGPWR" "19") ("SIGVTALRM" "20") ("SIGPROF" "21") ("SIGIO" "22")
|
|
191 ("SIGWINCH" "23") ("SIGSTOP" "24") ("SIGTSTP" "25") ("SIGCONT" "26")
|
|
192 ("SIGTTIN" "27") ("SIGTTOU" "28") ("SIGURG" "29") ("SIGLOST" "30")
|
|
193 ("1" "1") ("2" "2") ("3" "3") ("4" "4") ("5" "5") ("6" "6") ("7" "7")
|
|
194 ("8" "8") ("9" "9") ("10" "10") ("11" "11") ("12" "12") ("13" "13")
|
|
195 ("14" "14") ("15" "15") ("16" "16") ("17" "17") ("18" "18")
|
|
196 ("19" "19") ("20" "20") ("21" "21") ("22" "22") ("23" "23")
|
|
197 ("24" "24") ("25" "25") ("26" "26") ("27" "27") ("28" "28")
|
|
198 ("29" "29") ("30" "30") ("31" "31") ("32" "32"))
|
|
199 "An alist with the possible signals for the kill command for HP-UX.
|
|
200 It may be that you've other signals on your system. Try to test
|
|
201 it with \"kill -l\" in a shell.")
|
|
202
|
|
203 ;;; process field descriptions
|
|
204
|
|
205 ;; more general descriptions for BSD and System V
|
|
206
|
|
207 (defvar View-process-field-name-descriptions-bsd
|
|
208 '(
|
|
209 ("CP" "Short-term CPU utilization factor (used in scheduling). ")
|
|
210 ("F" "Flags (in hex) associated with process as in <sys/proc.h>. ")
|
|
211 ("LIM" ("Soft limit on memory used. "
|
|
212 ("xx" "xx=no limit. ")))
|
|
213 ("RE" "Residency time (seconds in core)")
|
|
214 ("SIZE" "Virtual image size, size data+stack (in KByte).")
|
|
215 ("SL" "Sleep time of the process (seconds blocked).")
|
|
216 ("STAT" ("Status. "
|
|
217 ("R" "R=runnable. ")
|
|
218 ("S" "S=sleeping < 20s. ")
|
|
219 ("D" "D=un-interruptible wait (eg disk or NFS I/O). ")
|
|
220 ("T" "T=stopped. ")
|
|
221 ("Z" "Z=zombie (terminated). ")
|
|
222 ("W" "W=Swapped out. ")
|
|
223 ("I" "I=idle, sleeping > 20s. ")
|
|
224 ("P" "P=Page Wait." )
|
|
225 ("N" "N=started with nice. ")
|
|
226 (">" ">=exceeded memory limit. ")
|
|
227 ("SW" "S=sleeping. W=waiting on an event. ")
|
|
228 ("IW" "I=intermediate status. W=waiting on an event. ")))
|
|
229 ("SZ" "Virtual image size, size data+stack (in KByte). ")
|
|
230 ("WCHAN" "Event on which process is waiting. ")
|
|
231 )
|
|
232 "Help list with the descriptions of ps fields for BSD systems.")
|
|
233
|
177
|
234 (defvar View-process-field-name-descriptions-linux
|
|
235 '(
|
|
236 ("USER" "Effective user id.") ("UID" "Effective user id.")
|
|
237 ("RUSER" "Real user id.") ("RUID" "Real user id.")
|
|
238 ("SUSER" "Saved user id.") ("SUID" "Saved user id.")
|
|
239 ("FSUSER" "Filesystem user id.") ("FSUID" "Filesystem user id.")
|
|
240 ("GROUP" "Effective group id.") ("GID" "Effective group id.")
|
|
241 ("RGROUP" "Real group id.") ("RGID" "Real group id.")
|
|
242 ("SGROUP" "Saved group id.") ("SGID" "Saved group id.")
|
|
243 ("FSGROUP" "Filesystem group id.") ("FSGID" "Filesystem group id.")
|
|
244 ("PID" "Process id.") ("PPID" "Parent process id.")
|
|
245 ("PGID" "Process group id.") ("TPGID" "Terminal process group id, (-1 if none).")
|
|
246 ("SID" "Session id.")
|
|
247 ("NI" "Nice.") ("PRI" "Priority.")
|
|
248 ("TIME" "CPU time, both user and system, in seconds.")
|
|
249 ("CTIME" "Cumulative CPU time, both user and system, in seconds.")
|
|
250 ("ELAPSED" "Time between process start and now, in seconds.")
|
|
251 ("UTIME" "User time, in seconds.") ("CUTIME" "Cumulative user time, in seconds.")
|
|
252 ("STIME" "System time, in seconds.") ("CSTIME" "Cumulative system time, in seconds.")
|
|
253 ("%CPU" "Percent cpu.")
|
|
254 ("TT" "Controlling tty, or ? if none.")
|
|
255 ("COMMAND" "The command name of the process.")
|
|
256 ("VSZ" "Virtual size.") ("RSS" "Resident set size.")
|
|
257 ("%MEM" "Percentage of real memory, derived from RSS.")
|
|
258 ("STAT" ("State: "
|
|
259 ("R" "'R'=runnable. ")
|
|
260 ("S" "'S'=sleeping. ")
|
|
261 ("D" "'D'=un-interruptible wait (eg disk or NFS I/O). ")
|
|
262 ("T" "'T'=stopped or traced. ")
|
|
263 ("Z" "'Z'=zombie (terminated). ")
|
|
264 ("W" "'W'=no resident pages. ")
|
|
265 ("SW" "'S'=sleeping. 'W'=no resident pages. ")
|
|
266 ("SW<" "'S'=sleeping. 'W'=no resident pages. '<'=Nice < 0 (super priveledged task) ")
|
|
267 ("N" "'N'=Nice > 0 (lower priority) ")
|
|
268 ("<" "'<'=Nice < 0 (super priveledged task) ")
|
|
269 (">" "'>'=exceeded soft limit. ")))
|
|
270 ("START" "Starting time.") ("FLAGS" "Process flags <linux/sched.h>.")
|
|
271 ("MINFL" "Minor page faults.") ("MAJFL" "Major page faults.")
|
|
272 ("TMOUT" "Timeout.") ("ALARM" "Alarm.")
|
|
273 ("S_CODE" "Address of start of code segment.")
|
|
274 ("E_CODE" "Address of end of code segment.")
|
|
275 ("STACKP" "Address of the process's stack bottom.")
|
|
276 ("ESP" "Stack pointer.") ("EIP" "Stack pointer.")
|
|
277 ("WCHAN" "Wait channel in which process is sleeping. ")
|
|
278 ("BLOCKED" "Blocked signals mask.")
|
|
279 ("IGNORED" "Ignored signals mask.")
|
|
280 ("CATCHED" "Catched signals mask.")
|
|
281 ("SIGNAL" "Pending signals mask.")
|
|
282 ("ENVIRONMENT" "Process environment.")
|
|
283 ("LCK" "Pages locked in i/o, kb.")
|
|
284 ("DATA" "Data size.") ("STACK" "Stack size.")
|
|
285 ("EXE" "Executable size.") ("LIB" "Library size.")
|
|
286 ("SIZE" "The virtual size of the process.")
|
|
287 ("RES" "The resident size of the process.")
|
|
288 ("SHRD" "The size of all shared pages, (lib, code, data).")
|
|
289 ("TRS" "Text resident size.")
|
|
290 ("DRS" "Data resident size.")
|
|
291 ("DT" "Dirty pages.")
|
|
292 ("LRS" "Library resident size. (a.out).")
|
|
293 ("SWAP" "Non-resident size of the process.")
|
|
294 )
|
|
295 "Help list with the descriptions of ps fields for Linux systems.
|
|
296 See: `manual-entry' ps_fields(7), ps(1), and top(1) for more information.")
|
|
297
|
165
|
298 (defvar View-process-field-name-descriptions-system-v
|
|
299 '(
|
|
300 ("C" "Processor utilization for scheduling. ")
|
|
301 ("CLS" "Scheduling class. ")
|
|
302 ("F" "Flags (in hex) No meaning should be currently ascribed to them. ")
|
|
303 ("PRI" "Priority, without -c: no > => prio <, with -c: no > => prio > .")
|
|
304 ("S" ("State. "
|
|
305 ("O" "O=Process is running on a processor. ")
|
|
306 ("S" "S=Sleeping, process is waiting for an event. ")
|
|
307 ("R" "R=Runnable, process is on run queue. ")
|
|
308 ("I" "I=Idle, process is being created. ")
|
|
309 ("Z" "Z=Zombie state, process terminated and parent not waiting. ")
|
|
310 ("T" "T=Traced, process stopped by a signal, parent is tracing it. ")
|
|
311 ("X" "X=SXBRK state: process is waiting for more primary memory. ")
|
|
312 ))
|
|
313 ("STIME" "Start time. ")
|
|
314 ("SZ" "Size (in Pages) of the swappable process's image in main memory. ")
|
|
315 ("WCHAN" "Event on which process is waiting or in SXBRK state. ")
|
|
316 )
|
|
317 "Help list with the descriptions of ps fields for System V.")
|
|
318
|
|
319 ;; for specifc systems
|
|
320
|
|
321 (defvar View-process-field-name-descriptions-sunos4
|
|
322 '(
|
|
323 ("CP" "Short-term CPU utilization factor (used in scheduling). ")
|
|
324 ("F" "Flags (in hex) associated with process as in <sys/proc.h>. ")
|
|
325 ("LIM" ("Soft limit on memory used. "
|
|
326 ("xx" "xx=no limit. ")))
|
|
327 ("RE" "Residency time (seconds in core)")
|
|
328 ("SIZE" "Virtual image size, size data+stack (in KByte).")
|
|
329 ("SL" "Sleep time of the process (seconds blocked).")
|
|
330 ("STAT" ("Status. "
|
|
331 ("R" "R=runnable. ")
|
|
332 ("S" "S=sleeping < 20s. ")
|
|
333 ("D" "D=un-interruptible wait (eg disk or NFS I/O). ")
|
|
334 ("T" "T=stopped. ")
|
|
335 ("Z" "Z=zombie (terminated). ")
|
|
336 ("W" "W=Swapped out. ")
|
|
337 ("I" "I=idle, sleeping > 20s. ")
|
|
338 ("P" "P=Page Wait." )
|
|
339 ("N" "N=started with nice. ")
|
|
340 (">" ">=exceeded memory limit. ")
|
|
341 ("SW" "S=sleeping. W=waiting on an event. ")
|
|
342 ("IW" "I=intermediate status. W=waiting on an event. ")))
|
|
343 ("SZ" "Virtual image size, size data+stack (in KByte). ")
|
|
344 ("WCHAN" "Event on which process is waiting. ")
|
|
345 )
|
|
346 "Help list with the descriptions of ps fields for SunOS 4.")
|
|
347
|
|
348 (defvar View-process-field-name-descriptions-sunos5
|
|
349 '(
|
|
350 ("C" "Processor utilization for scheduling. ")
|
|
351 ("CLS" "Scheduling class. ")
|
|
352 ("F" "Flags (in hex) No meaning should be currently ascribed to them. ")
|
|
353 ("PRI" "Priority, without -c: no > => prio <, with -c: no > => prio > .")
|
|
354 ("S" ("State. "
|
|
355 ("O" "O=Process is running on a processor. ")
|
|
356 ("S" "S=Sleeping, process is waiting for an event. ")
|
|
357 ("R" "R=Runnable, process is on run queue. ")
|
|
358 ("I" "I=Idle, process is being created. ")
|
|
359 ("Z" "Z=Zombie state, process terminated and parent not waiting. ")
|
|
360 ("T" "T=Traced, process stopped by a signal, parent is tracing it. ")
|
|
361 ("X" "X=SXBRK state: process is waiting for more primary memory. ")
|
|
362 ))
|
|
363 ("STIME" "Start time. ")
|
|
364 ("SZ" "Size (in Pages) of the swappable process's image in main memory. ")
|
|
365 ("WCHAN" "Event on which process is waiting or in SXBRK state. ")
|
|
366 )
|
|
367 "Help list with the descriptions of ps fields for SunOS 5.")
|
|
368
|
|
369 (defvar View-process-field-name-descriptions-irix
|
|
370 '(
|
|
371 ("F" ("Flags. "
|
|
372 ("01" "01=Process is a system (resident) process. ")
|
|
373 ("02" "02=Process is being traced. ")
|
|
374 ("04" "04=Stopped process has been given to parent via wait. ")
|
|
375 ("08" "08=Process is sleeping at a non-interruptible priority. ")
|
|
376 ("10" "10=Process is in core. ")
|
|
377 ("20" "20=Process user area is in core. ")
|
|
378 ("40" "40=Process has enabled atomic operator emulation. ")
|
|
379 ("80" "80=Process in stream poll or select. ")))
|
|
380 ("C" "Processor utilization for scheduling. ")
|
|
381 ("CLS" "Scheduling class. ")
|
|
382 ("COMD" "The command name. ")
|
|
383 ("P" "Number of processor on which the process is executing. ")
|
|
384 ("RSS" "Total resident size (in pages/4096 Bytes) of process. ")
|
|
385 ("S" ("State. "
|
|
386 ("0" "0=Process is running on a processor. ")
|
|
387 ("S" "S=Process is sleeping, waiting for a resource. ")
|
|
388 ("R" "R=Process is running. ")
|
|
389 ("Z" "Z=Process is terminated and parent not waiting. ")
|
|
390 ("T" "T=Process is stopped. ")
|
|
391 ("I" "I=Process is in intermediate state of creation. ")
|
|
392 ("X" "X=Process is waiting for memory. ")))
|
|
393 ("STIME" "The starting time of the process. ")
|
|
394 ("SZ" "Total size (in pages/4096 Bytes) of the process. ")
|
|
395 ("WCHAN" "Event on which process is waiting. ")
|
|
396 )
|
|
397 "Help list with the descriptions of ps fields for IRIX.")
|
|
398
|
|
399 (defvar View-process-field-name-descriptions-hpux
|
|
400 '(
|
|
401 ("F" ("Flags. "
|
|
402 ("00" "00=Process is swapped. ")
|
|
403 ("01" "01=Process is in core. ")
|
|
404 ("02" "01=Process is a system process. ")
|
|
405 ("04" "04=Process is locked in core (e.g., for physical I/O). ")
|
|
406 ("10" "10=Process is being traced by another process. ")
|
|
407 ("20" "20=Process is being traced by another process. ")
|
|
408 ;; another tracing flag
|
|
409 ))
|
|
410 ("UID"
|
|
411 "Real user ID number of the process owner. Login name under the -f option. ")
|
|
412 ("PID" "The process ID of the process. ")
|
|
413 ("PPID" "The process ID of the parent process. ")
|
|
414 ("PRI" "The priority of the process; higher numbers mean lower priority. ")
|
|
415 ("NI" "Nice value; used in priority computation. ")
|
|
416 ("ADDR" "Memory address of the process, if resident, or disk address. ")
|
|
417 ("TTY" "The controlling terminal for the process. ")
|
|
418 ("TIME" "The cumulative execution time for the process [min:sec]. ")
|
|
419 ("STIME"
|
|
420 "Starting time of the process, or starting date if elapsed > 24h. ")
|
|
421 ("C" "Processor utilization for scheduling. ")
|
|
422 ("COMD" "The command name. ")
|
|
423 ("COMMAND" "The command name. ")
|
|
424 ("S" ("State. "
|
|
425 ("0" "0=Process is non-existing. ")
|
|
426 ("S" "S=Process is sleeping. ")
|
|
427 ("W" "Process is waiting for a resource. ")
|
|
428 ("R" "R=Process is running. ")
|
|
429 ("Z" "Z=Process is terminated and parent not waiting. ")
|
|
430 ("T" "T=Process is stopped. ")
|
|
431 ("I" "I=Process is in intermediate state of creation. ")
|
|
432 ("X" "X=Process is waiting for memory. ")))
|
|
433 ("SZ" "Total size (in pages/4096 Bytes) of the process. ")
|
|
434 ("WCHAN" "Event on which process is waiting. ")
|
|
435 )
|
|
436 "Help list with the descriptions of ps fields for HP-UX.")
|
|
437
|
|
438 ;;; view-process-system-specific.el ends here.
|