Skip to content

Data frame with the currently running processes.

Usage

ps(user = NULL, after = NULL, columns = NULL)

Arguments

user

Username, to filter the results to matching processes.

after

Start time (POSIXt), to filter the results to processes that started after this.

columns

Columns to include in the result. If NULL (the default), then a default set of columns are returned, see below. The columns are shown in the same order they are specified in columns, but each column is included at most once. Use "*" to include all possible columns, and prefix a column name with - to remove it.

Value

Data frame, see columns below.

Details

Columns shown by default, if columns is not given or NULL:

  • pid: Process ID.

  • ppid: Process ID of parent process.

  • name: Process name.

  • username: Name of the user (real uid on POSIX).

  • status: I.e. running, sleeping, etc.

  • user: User CPU time.

  • system: System CPU time.

  • rss: Resident set size, the amount of memory the process currently uses. Does not include memory that is swapped out. It does include shared libraries.

  • vms: Virtual memory size. All memory the process has access to.

  • created: Time stamp when the process was created.

  • ps_handle: ps_handle objects, in a list column.

Additional columns that can be requested via columns:

Use "*" in columns to include all columns.