Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ps_handle

Create a process handle


Description

Create a process handle

Usage

ps_handle(pid = NULL, time = NULL)

## S3 method for class 'ps_handle'
as.character(x, ...)

## S3 method for class 'ps_handle'
format(x, ...)

## S3 method for class 'ps_handle'
print(x, ...)

Arguments

pid

Process id. Integer scalar. NULL means the current R process.

time

Start time of the process. Usually NULL and ps will query the start time.

x

Process handle.

...

Not used currently.

Value

ps_handle() returns a process handle (class ps_handle).

See Also

Examples

p <- ps_handle()
p

ps

List, Query, Manipulate System Processes

v1.6.0
MIT + file LICENSE
Authors
Jay Loden [aut], Dave Daeschler [aut], Giampaolo Rodola' [aut], Gábor Csárdi [aut, cre], RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.