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

ps_uids

User ids and group ids of the process


Description

User ids and group ids of the process. Both return integer vectors with names: real, effective and saved.

Usage

ps_uids(p = ps_handle())

ps_gids(p = ps_handle())

Arguments

p

Process handle.

Details

Both work for zombie processes.

They are not implemented on Windows, they throw a not_implemented error.

Value

Named integer vector of length 3, with names: real, effective and saved.

See Also

ps_username() returns a user name and works on all platforms.

Examples

p <- ps_handle()
p
ps_uids(p)
ps_gids(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.