Releases: r-lib/ps
ps 1.8.1
ps 1.8.0
-
New
ps_apps()
function to list all running applications on macOS. -
New function
ps_disk_io_counters()
to query disk I/O counters
(#145, @michaelwalshe). -
New
ps_fs_info()
to query information about the file system of one
or more files or directories. -
New
ps_wait()
to start an interruptible wait on multiple processes,
with a timeout (#166). -
ps_handle()
now allowes a numeric (double) scalar as the pid, as long
as its value is integer. -
ps_send_signal()
,ps_suspend()
,ps_resume()
,ps_terminate()
,
ps_kill()
, andps_interrupt()
can now operate on multiple processes,
if passed a list of process handles. -
ps_kill()
andps_kill_tree()
have a newgrace
argument.
On Unix, if this argument is not zero, thenps_kill()
first sends a
TERM
signal, and waits for the processes to quit gracefully, via
ps_wait()
. The processes that are still alive after the grace period
are then killed withSIGKILL
. -
ps_status()
(and thusps()
) is now better at getting the correct
status of processes on macOS. This usually requires calling the external
ps
tool. See?ps_status()
on how to opt out from the new
behavior (#31).
ps 1.7.7
ps_cpu_times()
values are now correct on newer arm64 macOS.
ps 1.7.6
-
ps_name()
now does not fail in the rare case whenps_cmdline()
returns an empty vector (#150). -
ps_system_cpu_times()
now returns CPU times divided by the HZ as reported by CLK_TCK, in-line with other OS's and the per-process version. (#144, @michaelwalshe).
ps 1.7.5
No user visible changes.
ps 1.7.4
ps::ps_get_cpu_affinity()
now works for other processes on Linux, not only
the calling process.
ps 1.7.3
- The output of
ps_disk_usage()
,ps_disk_partitions()
and
ps_shared_lib_users()
now do not include a spuriousstringsAsFactors
column.
ps 1.7.2
ps_system_memory()$percent
now returns a number scaled between 0 and 100
on Windows, rather than between 0 and 1 (#131, @francisbarton).