comparison lisp/modes/view-process-system-specific.el @ 177:6075d714658b r20-3b15

Import from CVS: tag r20-3b15
author cvs
date Mon, 13 Aug 2007 09:51:16 +0200
parents 5a88923fcbfe
children
comparison
equal deleted inserted replaced
176:6866abce6aaf 177:6075d714658b
5 ;; Author: Heiko Muenkel <muenkel@tnt.uni-hannover.de> 5 ;; Author: Heiko Muenkel <muenkel@tnt.uni-hannover.de>
6 ;; Keywords: processes 6 ;; Keywords: processes
7 7
8 ;; This file is part of XEmacs. 8 ;; This file is part of XEmacs.
9 9
10 ;;; $Id: view-process-system-specific.el,v 1.2 1997/06/26 02:31:06 steve Exp $ 10 ;;; $Id: view-process-system-specific.el,v 1.3 1997/07/26 22:09:50 steve Exp $
11 11
12 ;; XEmacs is free software; you can redistribute it and/or modify it 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 13 ;; under the terms of the GNU General Public License as published by
14 ;; the Free Software Foundation; either version 2, or (at your 14 ;; the Free Software Foundation; either version 2, or (at your
15 ;; option) any later version. 15 ;; option) any later version.
42 42
43 (provide 'view-process-system-specific) 43 (provide 'view-process-system-specific)
44 44
45 (defvar View-process-specific-system-list 45 (defvar View-process-specific-system-list
46 '(("linux" nil "bsd" 46 '(("linux" nil "bsd"
47 nil 47 View-process-field-name-descriptions-linux
48 View-process-kill-signals-linux) 48 View-process-kill-signals-linux)
49 ("sunos" "4" "bsd" 49 ("sunos" "4" "bsd"
50 View-process-field-name-descriptions-sunos4 50 View-process-field-name-descriptions-sunos4
51 View-process-kill-signals-sunos4) 51 View-process-kill-signals-sunos4)
52 ("sunos" "5" "system-v" 52 ("sunos" "5" "system-v"
147 147
148 (defvar View-process-kill-signals-linux 148 (defvar View-process-kill-signals-linux
149 '(("SIGHUP" "1") ("SIGINT" "2") ("SIGQUIT" "3") ("SIGILL" "4") 149 '(("SIGHUP" "1") ("SIGINT" "2") ("SIGQUIT" "3") ("SIGILL" "4")
150 ("SIGTRAP" "5") ("SIGIOT" "6") ("SIGBUS" "7") ("SIGFPE" "8") 150 ("SIGTRAP" "5") ("SIGIOT" "6") ("SIGBUS" "7") ("SIGFPE" "8")
151 ("SIGKILL" "9") ("SIGUSR1" "10") ("SIGSEGV" "11") ("SIGUSR2" "12") 151 ("SIGKILL" "9") ("SIGUSR1" "10") ("SIGSEGV" "11") ("SIGUSR2" "12")
152 ("SIGPIPE" "13") ("SIGALRM" "14") ("SIGTERM" "15") ("SIGCHLD" "17") 152 ("SIGPIPE" "13") ("SIGALRM" "14") ("SIGTERM" "15") ("SIGSTKFLT" "16")
153 ("SIGCONT" "18") ("SIGSTOP" "19") ("SIGTSTP" "20") ("SIGTTIN" "21") 153 ("SIGCHLD" "17") ("SIGCONT" "18") ("SIGSTOP" "19") ("SIGTSTP" "20")
154 ("SIGTTOU" "22") ("SIGIO" "23") ("SIGXCPU" "24") ("SIGXFSZ" "25") 154 ("SIGTTIN" "21") ("SIGTTOU" "22") ("SIGURG" "23") ("SIGXCPU" "24")
155 ("SIGVTALRM" "26") ("SIGPROF" "27") ("SIGWINCH" "28") ("SIGPWR" "30") 155 ("SIGXFSZ" "25") ("SIGVTALRM" "26") ("SIGPROF" "27") ("SIGWINCH" "28")
156 ("SIGIO" "29") ("SIGPWR" "30")
156 ("1" "1") ("2" "2") ("3" "3") ("4" "4") ("5" "5") ("6" "6") ("7" "7") 157 ("1" "1") ("2" "2") ("3" "3") ("4" "4") ("5" "5") ("6" "6") ("7" "7")
157 ("8" "8") ("9" "9") ("10" "10") ("11" "11") ("12" "12") ("13" "13") 158 ("8" "8") ("9" "9") ("10" "10") ("11" "11") ("12" "12") ("13" "13")
158 ("14" "14") ("15" "15") ("17" "17") ("18" "18") ("19" "19") 159 ("14" "14") ("15" "15") ("16" "16") ("17" "17") ("18" "18") ("19" "19")
159 ("20" "20") ("21" "21") ("22" "22") ("23" "23") ("24" "24") 160 ("20" "20") ("21" "21") ("22" "22") ("23" "23") ("24" "24")
160 ("25" "25") ("26" "26") ("27" "27") ("28" "28") ("30" "30")) 161 ("25" "25") ("26" "26") ("27" "27") ("28" "28") ("29" "29") ("30" "30"))
161 "An alist with the possible signals for the kill command for linux. 162 "An alist with the possible signals for the kill command for linux.
162 It may be that you've other signals on your system. Try to test 163 It may be that you've other signals on your system. Try to test
163 it with \"kill -l\" in a shell.") 164 it with \"kill -l\" in a shell, or better, see <asm/signal.h>")
164 165
165 ;; all Linux signals 166 ;; all Linux signals
166 ;(defvar View-process-kill-signals 167 ;(defvar View-process-kill-signals
167 ; '(("SIGHUP" "1") ("SIGINT" "2") ("SIGQUIT" "3") ("SIGILL" "4") 168 ; '(("SIGHUP" "1") ("SIGINT" "2") ("SIGQUIT" "3") ("SIGILL" "4")
168 ; ("SIGTRAP" "5") ("SIGIOT" "6") ("SIGBUS" "7") ("SIGFPE" "8") 169 ; ("SIGTRAP" "5") ("SIGIOT" "6") ("SIGBUS" "7") ("SIGFPE" "8")
227 ("IW" "I=intermediate status. W=waiting on an event. "))) 228 ("IW" "I=intermediate status. W=waiting on an event. ")))
228 ("SZ" "Virtual image size, size data+stack (in KByte). ") 229 ("SZ" "Virtual image size, size data+stack (in KByte). ")
229 ("WCHAN" "Event on which process is waiting. ") 230 ("WCHAN" "Event on which process is waiting. ")
230 ) 231 )
231 "Help list with the descriptions of ps fields for BSD systems.") 232 "Help list with the descriptions of ps fields for BSD systems.")
233
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.")
232 297
233 (defvar View-process-field-name-descriptions-system-v 298 (defvar View-process-field-name-descriptions-system-v
234 '( 299 '(
235 ("C" "Processor utilization for scheduling. ") 300 ("C" "Processor utilization for scheduling. ")
236 ("CLS" "Scheduling class. ") 301 ("CLS" "Scheduling class. ")