character strings of "ALL", specifying which
process status fields are desired.
usefile
logical; if true, system writes to a
temporary file and that is scaned subsequently.
ps.cmd
character string, giving the “ps” command name to be used.
verbose
logical ...
warn.multi
logical ...
Details
Use man ps on your respective Unix system, to see what fields are
supported exactly. Unix dialects do differ here, and,
SunOS-Solaris even has more than one ps command...
Value
Note, that Sys.sizes() currently returns two integers which are
“common” to Solaris and Linux.
Author(s)
Martin Maechler
See Also
Sys.info, Sys.getpid,
proc.time.
Examples
(.pid <- Sys.getpid()) ## process ID of current process
Sys.sizes(.pid)
## The default process statistics about the running R process
try( Sys.ps() )