Skip to content

Releases: r-lib/ps

ps 1.8.0

13 Sep 07:57
Compare
Choose a tag to compare
  • 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(), and ps_interrupt() can now operate on multiple processes,
    if passed a list of process handles.

  • ps_kill() and ps_kill_tree() have a new grace argument.
    On Unix, if this argument is not zero, then ps_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 with SIGKILL.

  • ps_status() (and thus ps()) 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

03 Jul 06:34
Compare
Choose a tag to compare
  • ps_cpu_times() values are now correct on newer arm64 macOS.

ps 1.7.6

21 Jan 20:51
Compare
Choose a tag to compare
  • ps_name() now does not fail in the rare case when ps_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

19 Apr 08:30
Compare
Choose a tag to compare

No user visible changes.

ps 1.7.4

03 Apr 07:13
Compare
Choose a tag to compare
  • ps::ps_get_cpu_affinity() now works for other processes on Linux, not only
    the calling process.

ps 1.7.3

30 Mar 12:03
Compare
Choose a tag to compare
  • The output of ps_disk_usage(), ps_disk_partitions() and
    ps_shared_lib_users() now do not include a spurious stringsAsFactors
    column.

ps 1.7.2

27 Oct 07:36
Compare
Choose a tag to compare
  • ps_system_memory()$percent now returns a number scaled between 0 and 100
    on Windows, rather than between 0 and 1 (#131, @francisbarton).

v1.7.1

18 Jun 08:47
Compare
Choose a tag to compare
  • ps now returns data frames instead of tibbles. While data frames and
    tibbles are very similar, they are not completely compatible. To convert
    the output of ps to tibbles call the tibble::as_tibble() function
    on them.

  • ps() now does not fail if both user and after are specified (#129).

ps 1.7.0

23 Apr 18:58
Compare
Choose a tag to compare
  • ps now compiles on platforms that enable OpenMP (#109).

  • New functions ps_get_cpu_affinity() and ps_set_cpu_affinity() to query
    and set CPU affinity (#123).

  • ps_memory_info() now does not mix up rss and vms on Linux.

  • ps_memory_info() now reports memory in bytes instead of pages on Linux (#115)

v1.6.0

28 Feb 22:53
Compare
Choose a tag to compare
  • New function ps_system_cpu_times() to calculate system CPU times.

  • New function ps_loadavg() to show the Unix style load average.