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

ps_cmdline

Command line of the process


Description

Command line of the process, i.e. the executable and the command line arguments, in a character vector. On Unix the program might change its command line, and some programs actually do it.

Usage

ps_cmdline(p = ps_handle())

Arguments

p

Process handle.

Details

For a zombie process it throws a zombie_process error.

Value

Character vector.

See Also

Examples

p <- ps_handle()
p
ps_name(p)
ps_exe(p)
ps_cmdline(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.