File: proced.el.html

Proced makes an Emacs buffer containing a listing of the current system processes. You can use the normal Emacs commands to move around in this buffer, and special Proced commands to operate on the processes listed. See proced-mode for getting started.

To do:
- Interactive temporary customizability of flags in proced-grammar-alist
- Allow "sudo kill PID", "sudo renice PID"
  proced-send-signal operates on multiple processes one by one.
  With "sudo" we want to execute one "kill" or "renice" command
  for all marked processes. Is there a sudo-call-process?

Thoughts and Ideas
- Currently, process-attributes returns the list of
  command-line arguments of a process as one concatenated string.
  This format is compatible with shell-command. Also, under
  MS-Windows, the command-line arguments are actually stored as a
  single string, so that it is impossible to reverse-engineer it back
  into separate arguments. Alternatively, process-attributes
  could (try to) return a list of strings that correspond to individual
  command-line arguments. Then one could feed such a list of
  command-line arguments into call-process or start-process.
  Are there real-world applications when such a feature would be useful?
  What about something like proced-restart-pid?

Defined variables (36)

proced-after-send-signal-hookNormal hook run after sending a signal to processes by ‘proced-send-signal’.
proced-auto-update-flagNon-nil for auto update of a Proced buffer.
proced-auto-update-intervalTime interval in seconds for auto updating Proced buffers.
proced-auto-update-timerStores if Proced auto update timer is already installed.
proced-availableNon-nil means Proced is known to work on this system.
proced-custom-attributesList of functions defining custom attributes.
proced-descendNon-nil if proced listing is sorted in descending order.
proced-field-help-echoHelp string shown when mouse is over a refinable field.
proced-filterCurrent filter of proced listing.
proced-filter-alistAlist of process filters.
proced-formatCurrent format of Proced listing.
proced-format-alistAlist of formats of listing.
proced-goal-attributeIf non-nil, key of the attribute that defines the ‘goal-column’.
proced-grammar-alistAlist of rules for handling Proced attributes.
proced-header-help-echoHelp string shown when mouse is over a sortable header.
proced-header-lineHeaders in Proced buffer as a string.
proced-help-stringHelp string for Proced.
proced-log-bufferName of Proced Log buffer.
proced-marker-charIn Proced, the current mark character.
proced-menuProced Menu.
proced-mode-abbrev-tableAbbrev table for ‘proced-mode’.
proced-mode-hookHook run after entering Proced mode.
proced-mode-mapKeymap for Proced commands.
proced-mode-syntax-tableSyntax table for ‘proced-mode’.
proced-post-display-hookNormal hook run after displaying or updating a Proced buffer.
proced-process-alistAlist of processes displayed by Proced.
proced-process-treeProced process tree (internal variable).
proced-re-markRegexp matching a marked line.
proced-renice-commandName of renice command.
proced-signal-functionName of signal function.
proced-signal-listList of signals, used for minibuffer completion.
proced-sortCurrent sort scheme for proced listing.
proced-sort-internalSort scheme for listing (internal format).
proced-temp-alistTemporary alist (internal variable).
proced-tree-depthInternal variable for depth of Proced process tree.
proced-tree-flagNon-nil for display of Proced buffer as process tree.

Defined functions (69)

proced(&optional ARG)
proced-<(NUM1 NUM2)
proced-auto-update-timer()
proced-children-alist(PROCESS-ALIST)
proced-children-pids(PPID)
proced-do-mark(MARK &optional COUNT)
proced-do-mark-all(MARK)
proced-filter(PROCESS-ALIST FILTER-LIST)
proced-filter-children(PROCESS-ALIST PPID &optional OMIT-PPID)
proced-filter-interactive(SCHEME)
proced-filter-parents(PROCESS-ALIST PID &optional OMIT-PID)
proced-format(PROCESS-ALIST FORMAT)
proced-format-args(ARGS)
proced-format-interactive(SCHEME &optional REVERT)
proced-format-start(START)
proced-format-time(TIME)
proced-format-tree(TREE)
proced-format-ttname(TTNAME)
proced-header-line()
proced-help()
proced-insert-mark(MARK &optional BACKWARD)
proced-log(LOG &rest ARGS)
proced-log-summary(SIGNAL STRING)
proced-mark(&optional COUNT)
proced-mark-all()
proced-mark-children(PPID &optional OMIT-PPID)
proced-mark-parents(CPID &optional OMIT-CPID)
proced-mark-process-alist(PROCESS-ALIST &optional QUIET)
proced-marked-processes()
proced-marker-regexp()
proced-menu(ARG1)
proced-mode()
proced-move-to-goal-column()
proced-omit-process()
proced-omit-processes(&optional ARG QUIET)
proced-pid-at-point()
proced-process-attributes(&optional PID-LIST)
proced-process-tree(PROCESS-ALIST)
proced-process-tree-internal(PID-ALIST)
proced-refine(&optional EVENT)
proced-renice(PRIORITY PROCESS-ALIST)
proced-revert(&rest ARGS)
proced-send-signal(&optional SIGNAL PROCESS-ALIST)
proced-sort(PROCESS-ALIST SORTER DESCEND)
proced-sort-header(EVENT &optional ARG)
proced-sort-interactive(SCHEME &optional ARG)
proced-sort-p(P1 P2)
proced-sort-pcpu(&optional ARG)
proced-sort-pid(&optional ARG)
proced-sort-pmem(&optional ARG)
proced-sort-start(&optional ARG)
proced-sort-time(&optional ARG)
proced-sort-user(&optional ARG)
proced-string-lessp(S1 S2)
proced-success-message(ACTION COUNT)
proced-time-lessp(T1 T2)
proced-toggle-auto-update(ARG)
proced-toggle-marks()
proced-toggle-tree(ARG)
proced-tree(PROCESS-ALIST)
proced-tree-insert(PROCESS-TREE)
proced-undo()
proced-unmark(&optional COUNT)
proced-unmark-all()
proced-unmark-backward(&optional COUNT)
proced-update(&optional REVERT QUIET)
proced-why()
proced-with-processes-buffer(PROCESS-ALIST &rest BODY)
proced-xor(COND1 COND2)

Defined faces (3)

proced-markFace used for Proced marks.
proced-markedFace used for marked processes.
proced-sort-headerFace used for header of attribute used for sorting.