Source

view-process / view-process-system-specific.el

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
;;; view-process-system-specific.el --- System specific stuff for view-process

;; Copyright (C) 1995 Heiko Muenkel

;; Author: Heiko Muenkel <muenkel@tnt.uni-hannover.de>
;; Keywords: processes

;; This file is part of XEmacs.

;;; $Id$

;;  XEmacs is free software; you can redistribute it and/or modify it
;;  under the terms of the GNU General Public License as published by
;;  the Free Software Foundation; either version 2, or (at your
;;  option) any later version.

;;  XEmacs is distributed in the hope that it will be useful, but
;;  WITHOUT ANY WARRANTY; without even the implied warranty of
;;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
;;  General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with XEmacs; see the file COPYING.  if not, write to the Free
;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
;; 02111-1307, USA.

;;; Synched up with:  Emacs 20.1.

;;; Commentary:

;;	This file contains system specific stuff for the
;;	view-process-mode. It isn't necessary that each systems has
;;	an entry in this file, because there are default values which
;;	are used if no entry exists.

;; Installation:
;;   
;;	Put this file in one of your lisp load path directories.
;;

;;; Code:

(provide 'view-process-system-specific)

(defvar View-process-specific-system-list
  '(("linux" nil "bsd"
     View-process-field-name-descriptions-linux
     View-process-kill-signals-linux)
    ("sunos" "4" "bsd"
     View-process-field-name-descriptions-sunos4
     View-process-kill-signals-sunos4)
    ("sunos" "5" "system-v"
     View-process-field-name-descriptions-sunos5
     View-process-kill-signals-sunos5)
    ("irix" nil "system-v"
     View-process-field-name-descriptions-irix
     View-process-kill-signals-irix)
    ("hp-ux" nil "system-v"
     View-process-field-name-descriptions-hpux
     View-process-kill-signals-hpux)
    )
  "This is a list with all systems for which specific information about
allowed signals and about the ps output exists. Set it to nil if you don't
want to use this specific information.
The first string of each sublist is the name of the system.  The second
string is the mayor version number or nil. The third one determines
whether the ps command is BSD or System V like. The major version is only
necessary if there are BSD and System V versions with the same system
names (SUN has done such a system naming), otherwise it is nil.
The fifth entry is nil or the name of a special list with field name
descriptions. The sixth entry is nil or the name of a special list with
kill signals.")

;;; signals

(defvar View-process-kill-signals-bsd nil
  "An alist with the possible signals for the kill command for BSD
systems. It is only used, if the system type can't be determined or if
it is not in the `View-process-specific-system-list'.")

(defvar View-process-kill-signals-system-v nil
  "An alist with the possible signals for the kill command for BSD
systems. It is only used, if the system type can't be determined or if
it is not in the `View-process-specific-system-list'.")

(defvar View-process-kill-signals-sunos4
  '(("SIGHUP" "1") ("SIGINT" "2") ("SIGQUIT" "3") ("SIGILL" "4")
    ("SIGTRAP" "5") ("SIGIOT" "6") ("SIGABRT" "6") ("SIGEMT" "7")
    ("SIGFPE" "8") ("SIGKILL" "9") ("SIGBUS" "10") ("SIGSEGV" "11")
    ("SIGSYS" "12") ("SIGPIPE" "13") ("SIGALRM" "14") ("SIGTERM" "15")
    ("SIGURG" "16") ("SIGSTOP" "17") ("SIGTSTP" "18") ("SIGCONT" "19")
    ("SIGCHLD" "20") ("SIGCLD" "20") ("SIGTTIN" "21") ("SIGTTOU" "22")
    ("SIGIO" "23") ("SIGPOLL" "23") ("SIGXCPU" "24") ("SIGXFSZ" "25")
    ("SIGVTALRM" "26") ("SIGPROF" "27") ("SIGWINCH" "28")
    ("SIGLOST" "29") ("SIGUSR1" "30") ("SIGUSR2" "31")
    ("1" "1") ("2" "2") ("3" "3") ("4" "4") ("5" "5") ("6" "6") ("7" "7")
    ("8" "8") ("9" "9") ("10" "10") ("11" "11") ("12" "12") ("13" "13")
    ("14" "14") ("15" "15") ("16" "16") ("17" "17") ("18" "18")
    ("19" "19") ("20" "20") ("21" "21") ("22" "22") ("23" "23")
    ("24" "24") ("25" "25") ("26" "26") ("27" "27") ("28" "28")
    ("29" "29") ("30" "30") ("31" "31"))
  "An alist with the possible signals for the kill command for SunOS 4.
It may be that you have other signals on your system.  Try to test
it with \"kill -l\" in a shell.")
  
(defvar View-process-kill-signals-sunos5
  '(("SIGHUP" "1") ("SIGINT" "2") ("SIGQUIT" "3") ("SIGILL" "4")
    ("SIGTRAP" "5") ("SIGIOT" "6") ("SIGABRT" "6") ("SIGEMT" "7")
    ("SIGFPE" "8") ("SIGKILL" "9") ("SIGBUS" "10") ("SIGSEGV" "11")
    ("SIGSYS" "12") ("SIGPIPE" "13") ("SIGALRM" "14") ("SIGTERM" "15")
    ("SIGUSR1" "16") ("SIGUSR2" "17") ("SIGCHLD" "18") ("SIGCLD" "18")
    ("SIGPWR" "19") ("SIGWINCH" "20") ("SIGURG" "21") ("SIGPOLL" "22")
    ("SIGIO" "22") ("SIGSTOP" "23") ("SIGTSTP" "24") ("SIGCONT" "25")
    ("SIGTTIN" "26") ("SIGTTOU" "27") ("SIGVTALRM" "28") ("SIGPROF" "29")
    ("SIGXCPU" "30") ("SIGXFSZ" "31") ("SIGWAITING" "32") ("SIGLWP" "33")
    ("SIGFREEZE" "34") ("SIGTHAW" "36") ("SIGRTMIN" "36") ("SIGRTMAX" "43")
    ("1" "1") ("2" "2") ("3" "3") ("4" "4") ("5" "5") ("6" "6") ("7" "7")
    ("8" "8") ("9" "9") ("10" "10") ("11" "11") ("12" "12") ("13" "13")
    ("14" "14") ("15" "15") ("16" "16") ("17" "17") ("18" "18")
    ("19" "19") ("20" "20") ("21" "21") ("22" "22") ("23" "23")
    ("24" "24") ("25" "25") ("26" "26") ("27" "27") ("28" "28")
    ("29" "29") ("30" "30") ("31" "31") ("32" "32") ("33" "33")
    ("34" "34") ("36" "36") ("43" "43"))
  "An alist with the possible signals for the kill command for SunOS 5.
It may be that you have other signals on your system.  Try to test
it with \"kill -l\" in a shell.")
  
(defvar View-process-kill-signals-irix
  '(("SIGHUP" "1") ("SIGINT" "2") ("SIGQUIT" "3") ("SIGILL" "4")
    ("SIGTRAP" "5") ("SIGIOT" "6") ("SIGABRT" "6") ("SIGEMT" "7")
    ("SIGFPE" "8") ("SIGKILL" "9") ("SIGBUS" "10") ("SIGSEGV" "11")
    ("SIGSYS" "12") ("SIGPIPE" "13") ("SIGALRM" "14") ("SIGTERM" "15")
    ("SIGUSR1" "16") ("SIGUSR2" "17") ("SIGCLD" "18") ("SIGCHLD" "18")
    ("SIGPWR" "19") ("SIGWINCH" "20") ("SIGURG" "21") ("SIGPOLL" "22")
    ("SIGIO" "22") ("SIGSTOP" "23") ("SIGTSTP" "24") ("SIGCONT" "25")
    ("SIGTTIN" "26") ("SIGTTOU" "27") ("SIGVTALRM" "28") ("SIGPROF" "29")
    ("SIGXCPU" "30") ("SIGXFSZ" "31") ("SIG32" "32")
    ("1" "1") ("2" "2") ("3" "3") ("4" "4") ("5" "5") ("6" "6") ("7" "7")
    ("8" "8") ("9" "9") ("10" "10") ("11" "11") ("12" "12") ("13" "13")
    ("14" "14") ("15" "15") ("16" "16") ("17" "17") ("18" "18")
    ("19" "19") ("20" "20") ("21" "21") ("22" "22") ("23" "23")
    ("24" "24") ("25" "25") ("26" "26") ("27" "27") ("28" "28")
    ("29" "29") ("30" "30") ("31" "31") ("32" "32"))
  "An alist with the possible signals for the kill command for IRIX.
It may be that you have other signals on your system.  Try to test
it with \"kill -l\" in a shell.")
  
(defvar View-process-kill-signals-linux
  '(("SIGHUP" "1") ("SIGINT" "2") ("SIGQUIT" "3") ("SIGILL" "4")
    ("SIGTRAP" "5") ("SIGIOT" "6") ("SIGBUS" "7") ("SIGFPE" "8")
    ("SIGKILL" "9") ("SIGUSR1" "10") ("SIGSEGV" "11") ("SIGUSR2" "12")
    ("SIGPIPE" "13") ("SIGALRM" "14") ("SIGTERM" "15") ("SIGSTKFLT" "16")
    ("SIGCHLD" "17") ("SIGCONT" "18") ("SIGSTOP" "19") ("SIGTSTP" "20")
    ("SIGTTIN" "21") ("SIGTTOU" "22") ("SIGURG" "23") ("SIGXCPU" "24")
    ("SIGXFSZ" "25") ("SIGVTALRM" "26") ("SIGPROF" "27") ("SIGWINCH" "28")
    ("SIGIO" "29") ("SIGPWR" "30")
    ("1" "1") ("2" "2") ("3" "3") ("4" "4") ("5" "5") ("6" "6") ("7" "7")
    ("8" "8") ("9" "9") ("10" "10") ("11" "11") ("12" "12") ("13" "13")
    ("14" "14") ("15" "15") ("16" "16") ("17" "17") ("18" "18") ("19" "19")
    ("20" "20") ("21" "21") ("22" "22") ("23" "23") ("24" "24")
    ("25" "25") ("26" "26") ("27" "27") ("28" "28") ("29" "29") ("30" "30"))
  "An alist with the possible signals for the kill command for linux.
It may be that you have other signals on your system.  Try to test
it with \"kill -l\" in a shell, or better, see <asm/signal.h>")

;; all Linux signals
;(defvar View-process-kill-signals
;  '(("SIGHUP" "1") ("SIGINT" "2") ("SIGQUIT" "3") ("SIGILL" "4")
;    ("SIGTRAP" "5") ("SIGIOT" "6") ("SIGBUS" "7") ("SIGFPE" "8")
;    ("SIGKILL" "9") ("SIGUSR1" "10") ("SIGSEGV" "11") ("SIGUSR2" "12")
;    ("SIGPIPE" "13") ("SIGALRM" "14") ("SIGTERM" "15") ("SIGCHLD" "17")
;    ("SIGCONT" "18") ("SIGSTOP" "19") ("SIGTSTP" "20") ("SIGTTIN" "21")
;    ("SIGTTOU" "22") ("SIGIO" "23") ("SIGXCPU" "24") ("SIGXFSZ" "25")
;    ("SIGVTALRM" "26") ("SIGPROF" "27") ("SIGWINCH" "28") ("SIGPWR" "30")
;    ("1" "1") ("2" "2") ("3" "3") ("4" "4") ("5" "5") ("6" "6") ("7" "7")
;    ("8" "8") ("9" "9") ("10" "10") ("11" "11") ("12" "12") ("13" "13")
;    ("14" "14") ("15" "15") ("17" "17") ("18" "18") ("19" "19")
;    ("20" "20") ("21" "21") ("22" "22") ("23" "23") ("24" "24")
;    ("25" "25") ("26" "26") ("27" "27") ("28" "28") ("30" "30"))
;  "An alist with the possible signals for the kill command.
;It may be that you have other signals on your system. Try to test
;it with \"kill -l\" in a shell.")

(defvar View-process-kill-signals-hpux
  '(("SIGHUP" "1") ("SIGINT" "2") ("SIGQUIT" "3") ("SIGILL" "4")
    ("SIGTRAP" "5") ("SIGIOT" "6") ("SIGABRT" "6") ("SIGEMT" "7")
    ("SIGFPE" "8") ("SIGKILL" "9") ("SIGBUS" "10") ("SIGSEGV" "11")
    ("SIGSYS" "12") ("SIGPIPE" "13") ("SIGALRM" "14") ("SIGTERM" "15")
    ("SIGUSR1" "16") ("SIGUSR2" "17") ("SIGCLD" "18") ("SIGCHLD" "18")
    ("SIGPWR" "19") ("SIGVTALRM" "20") ("SIGPROF" "21") ("SIGIO" "22")
    ("SIGWINCH" "23") ("SIGSTOP" "24") ("SIGTSTP" "25") ("SIGCONT" "26")
    ("SIGTTIN" "27") ("SIGTTOU" "28") ("SIGURG" "29") ("SIGLOST" "30")
    ("1" "1") ("2" "2") ("3" "3") ("4" "4") ("5" "5") ("6" "6") ("7" "7")
    ("8" "8") ("9" "9") ("10" "10") ("11" "11") ("12" "12") ("13" "13")
    ("14" "14") ("15" "15") ("16" "16") ("17" "17") ("18" "18")
    ("19" "19") ("20" "20") ("21" "21") ("22" "22") ("23" "23")
    ("24" "24") ("25" "25") ("26" "26") ("27" "27") ("28" "28")
    ("29" "29") ("30" "30") ("31" "31") ("32" "32"))
  "An alist with the possible signals for the kill command for HP-UX.
It may be that you have other signals on your system.  Try to test
it with \"kill -l\" in a shell.")

;;; process field descriptions

;; more general descriptions for BSD and System V
 
(defvar View-process-field-name-descriptions-bsd
  '(
    ("CP" "Short-term CPU  utilization  factor  (used  in scheduling). ")
    ("F" "Flags  (in  hex) associated with process as in <sys/proc.h>. ")
    ("LIM"  ("Soft limit on memory used. "
	     ("xx" "xx=no limit. ")))
    ("RE" "Residency  time (seconds in core)")
    ("SIZE" "Virtual image size, size data+stack (in KByte).")
    ("SL" "Sleep time of the process (seconds blocked).")
    ("STAT" ("Status. "
	     ("R" "R=runnable. ")
	     ("S" "S=sleeping < 20s. ")
	     ("D" "D=un-interruptible wait (eg disk or NFS I/O). ")
	     ("T" "T=stopped. ")
	     ("Z" "Z=zombie (terminated). ")
	     ("W" "W=Swapped out. ")
	     ("I" "I=idle, sleeping > 20s. ")
	     ("P" "P=Page Wait." )
	     ("N" "N=started with nice. ")
	     (">" ">=exceeded memory limit. ")
	     ("SW" "S=sleeping. W=waiting on an event. ")
	     ("IW" "I=intermediate status. W=waiting on an event. ")))
    ("SZ" "Virtual image size, size data+stack (in KByte). ")
    ("WCHAN" "Event on which process is waiting. ")
    )
  "Help list with the descriptions of ps fields for BSD systems.")

(defvar View-process-field-name-descriptions-linux
  '(
    ("USER" "Effective user id.") ("UID" "Effective user id.")
    ("RUSER" "Real user id.") ("RUID" "Real user id.")
    ("SUSER" "Saved user id.") ("SUID" "Saved user id.")
    ("FSUSER" "Filesystem user id.") ("FSUID" "Filesystem user id.")
    ("GROUP" "Effective group id.") ("GID" "Effective group id.")
    ("RGROUP" "Real group id.") ("RGID" "Real group id.")
    ("SGROUP" "Saved group id.") ("SGID" "Saved group id.")
    ("FSGROUP" "Filesystem group id.") ("FSGID" "Filesystem group id.")
    ("PID" "Process id.") ("PPID" "Parent process id.")
    ("PGID" "Process group id.") ("TPGID" "Terminal process group id, (-1 if none).")
    ("SID" "Session id.")
    ("NI" "Nice.") ("PRI" "Priority.")
    ("TIME" "CPU time, both user and system, in seconds.")
    ("CTIME" "Cumulative CPU time, both user and system, in seconds.")
    ("ELAPSED" "Time between process start and now, in seconds.")
    ("UTIME" "User time, in seconds.") ("CUTIME" "Cumulative user time, in seconds.")
    ("STIME" "System time, in seconds.") ("CSTIME" "Cumulative system time, in seconds.")
    ("%CPU" "Percent cpu.")
    ("TT" "Controlling tty, or ? if none.")
    ("COMMAND" "The command name of the process.")
    ("VSZ" "Virtual size.") ("RSS" "Resident set size.")
    ("%MEM" "Percentage of real memory, derived from RSS.")
    ("STAT" ("State: "
	     ("R" "'R'=runnable. ")
	     ("RN" "'R'=runnable. 'N'=Nice > 0 (lower priority). ")
	     ("R<" "'R'=runnable. '<'=Nice < 0 (super privileged task). ")
 	     ("S" "'S'=sleeping. ")
	     ("D" "'D'=un-interruptible wait (eg disk or NFS I/O). ")
	     ("T" "'T'=stopped or traced. ")
	     ("Z" "'Z'=zombie (terminated). ")
	     ("W" "'W'=no resident pages. ")
	     ("SW" "'S'=sleeping. 'W'=no resident pages. ")
	     ("SW<" "'S'=sleeping. 'W'=no resident pages. '<'=Nice < 0 (super privileged task) ")
	     ("S<" "'S'=sleeping. '<'=Nice < 0 (super privileged task). ")
	     ("SN" "'S'=sleeping. 'N'=Nice > 0 (lower priority). ")
	     ("N" "'N'=Nice > 0 (lower priority) ")
	     ("<" "'<'=Nice < 0 (super privileged task) ")
	     (">" "'>'=exceeded soft limit. ")))
    ("START" "Starting time.") ("FLAGS" "Process flags <linux/sched.h>.")
    ("MINFL" "Minor page faults.") ("MAJFL" "Major page faults.")
    ("TMOUT" "Timeout.") ("ALARM" "Alarm.")
    ("S_CODE" "Address of start of code segment.")
    ("E_CODE" "Address of end of code segment.")
    ("STACKP" "Address of the stack bottom of the process.")
    ("ESP" "Stack pointer.") ("EIP" "Stack pointer.")
    ("WCHAN" "Wait channel in which process is sleeping. ")
    ("BLOCKED" "Blocked signals mask.")
    ("IGNORED" "Ignored signals mask.")
    ("CATCHED" "Catched signals mask.")
    ("SIGNAL" "Pending signals mask.")
    ("ENVIRONMENT" "Process environment.")
    ("LCK" "Pages locked in i/o, kb.")
    ("DATA" "Data size.") ("STACK" "Stack size.")
    ("EXE" "Executable size.") ("LIB" "Library size.")
    ("SIZE" "The virtual size of the process.")
    ("RES" "The resident size of the process.")
    ("SHRD" "The size of all shared pages, (lib, code, data).")
    ("TRS" "Text resident size.")
    ("DRS" "Data resident size.")
    ("DT" "Dirty pages.")
    ("LRS" "Library resident size. (a.out).")
    ("SWAP" "Non-resident size of the process.")
    )
  "Help list with the descriptions of ps fields for Linux systems.
See: `manual-entry' ps_fields(7), ps(1), and top(1) for more information.")

(defvar View-process-field-name-descriptions-system-v
  '(
    ("C" "Processor utilization for scheduling. ")
    ("CLS" "Scheduling class. ")
    ("F" "Flags  (in  hex) No meaning should be currently ascribed to them. ")
    ("PRI" "Priority, without -c: no > => prio <, with -c: no > => prio > .")
    ("S" ("State. "
	  ("O" "O=Process is running on a processor. ")
	  ("S" "S=Sleeping, process is waiting for an event. ")
	  ("R" "R=Runnable, process is on run queue. ")
	  ("I" "I=Idle, process is being created. ")
	  ("Z" "Z=Zombie state, process terminated and parent not waiting. ")
	  ("T" "T=Traced, process stopped by a signal, parent is tracing it. ")
	  ("X" "X=SXBRK  state:  process is waiting for more primary memory. ")
	  ))
    ("STIME" "Start time. ")
    ("SZ" "Size (in Pages) of the swappable process's image in main memory. ")
    ("WCHAN" "Event on which process is waiting or in SXBRK state. ")
    )
  "Help list with the descriptions of ps fields for System V.")

;; for specific systems

(defvar View-process-field-name-descriptions-sunos4
  '(
    ("CP" "Short-term CPU  utilization  factor  (used  in scheduling). ")
    ("F" "Flags  (in  hex) associated with process as in <sys/proc.h>. ")
    ("LIM"  ("Soft limit on memory used. "
	     ("xx" "xx=no limit. ")))
    ("RE" "Residency  time (seconds in core)")
    ("SIZE" "Virtual image size, size data+stack (in KByte).")
    ("SL" "Sleep time of the process (seconds blocked).")
    ("STAT" ("Status. "
	     ("R" "R=runnable. ")
	     ("S" "S=sleeping < 20s. ")
	     ("D" "D=un-interruptible wait (eg disk or NFS I/O). ")
	     ("T" "T=stopped. ")
	     ("Z" "Z=zombie (terminated). ")
	     ("W" "W=Swapped out. ")
	     ("I" "I=idle, sleeping > 20s. ")
	     ("P" "P=Page Wait." )
	     ("N" "N=started with nice. ")
	     (">" ">=exceeded memory limit. ")
	     ("SW" "S=sleeping. W=waiting on an event. ")
	     ("IW" "I=intermediate status. W=waiting on an event. ")))
    ("SZ" "Virtual image size, size data+stack (in KByte). ")
    ("WCHAN" "Event on which process is waiting. ")
    )
  "Help list with the descriptions of ps fields for SunOS 4.")

(defvar View-process-field-name-descriptions-sunos5
  '(
    ("C" "Processor utilization for scheduling. ")
    ("CLS" "Scheduling class. ")
    ("F" "Flags  (in  hex) No meaning should be currently ascribed to them. ")
    ("PRI" "Priority, without -c: no > => prio <, with -c: no > => prio > .")
    ("S" ("State. "
	  ("O" "O=Process is running on a processor. ")
	  ("S" "S=Sleeping, process is waiting for an event. ")
	  ("R" "R=Runnable, process is on run queue. ")
	  ("I" "I=Idle, process is being created. ")
	  ("Z" "Z=Zombie state, process terminated and parent not waiting. ")
	  ("T" "T=Traced, process stopped by a signal, parent is tracing it. ")
	  ("X" "X=SXBRK  state:  process is waiting for more primary memory. ")
	  ))
    ("STIME" "Start time. ")
    ("SZ" "Size (in Pages) of the swappable process's image in main memory. ")
    ("WCHAN" "Event on which process is waiting or in SXBRK state. ")
    )
  "Help list with the descriptions of ps fields for SunOS 5.")

(defvar View-process-field-name-descriptions-irix
  '(
    ("F" ("Flags. "
	  ("01" "01=Process is a system (resident) process. ")
	  ("02" "02=Process is being traced. ")
	  ("04" "04=Stopped process has been given to parent via wait. ")
	  ("08" "08=Process is sleeping at a non-interruptible priority. ")
	  ("10" "10=Process is in core. ")
	  ("20" "20=Process user area is in core. ")
	  ("40" "40=Process has enabled atomic operator emulation. ")
	  ("80" "80=Process in stream poll or select. ")))
    ("C" "Processor utilization for scheduling. ")
    ("CLS" "Scheduling class. ")
    ("COMD" "The command name. ")
    ("P" "Number of processor on which the process is executing. ")
    ("RSS" "Total resident  size (in pages/4096 Bytes) of process. ")
    ("S" ("State. "
	  ("0" "0=Process is running on a processor. ")
	  ("S" "S=Process is sleeping, waiting for a resource. ")
	  ("R" "R=Process is running. ")
	  ("Z" "Z=Process is terminated and parent not waiting. ")
	  ("T" "T=Process is stopped. ")
	  ("I" "I=Process is in intermediate state of creation. ")
	  ("X" "X=Process is waiting for memory. ")))
    ("STIME" "The starting time of the process. ")
    ("SZ" "Total size (in pages/4096 Bytes) of the process. ")
    ("WCHAN" "Event on which process is waiting. ")
    )
  "Help list with the descriptions of ps fields for IRIX.")

(defvar View-process-field-name-descriptions-hpux
  '(
    ("F" ("Flags. "
	  ("00" "00=Process is swapped. ")
	  ("01" "01=Process is in core. ")
	  ("02" "01=Process is a system process. ")
	  ("04" "04=Process is locked in core (e.g., for physical I/O). ")
	  ("10" "10=Process is being traced by another process. ")
	  ("20" "20=Process is being traced by another process. ")
	  ;; another tracing flag
	  ))
    ("UID"
 "Real user ID number of the process owner.  Login name under the -f option. ")
    ("PID" "The process ID of the process. ")
    ("PPID" "The process ID of the parent process. ")
    ("PRI" "The priority of the process; higher numbers mean lower priority. ")
    ("NI" "Nice value; used in priority computation. ")
    ("ADDR" "Memory address of the process, if resident, or disk address. ")
    ("TTY" "The controlling terminal for the process. ")
    ("TIME" "The cumulative execution time for the process [min:sec]. ")
    ("STIME"
     "Starting time of the process, or starting date if elapsed > 24h. ")
    ("C" "Processor utilization for scheduling. ")
    ("COMD" "The command name. ")
    ("COMMAND" "The command name. ")
    ("S" ("State. "
	  ("0" "0=Process is non-existing. ")
	  ("S" "S=Process is sleeping. ")
	  ("W" "Process is waiting for a resource. ")
	  ("R" "R=Process is running. ")
	  ("Z" "Z=Process is terminated and parent not waiting. ")
	  ("T" "T=Process is stopped. ")
	  ("I" "I=Process is in intermediate state of creation. ")
	  ("X" "X=Process is waiting for memory. ")))
    ("SZ" "Total size (in pages/4096 Bytes) of the process. ")
    ("WCHAN" "Event on which process is waiting. ")
    )
  "Help list with the descriptions of ps fields for HP-UX.")

;;; view-process-system-specific.el ends here.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.