Skip to content

Releases: r-lib/ps

v1.5.0

07 Dec 16:13
Compare
Choose a tag to compare
  • New function ps_shared_libs() to list the loaded shared libraries
    of a process, on Windows.

  • New function ps_shared_lib_users() to list all processes that
    loaded a certain shared library, on Windows.

  • New function ps_descent() to query the ancestry of a process.

v1.4.0

07 Oct 11:58
Compare
Choose a tag to compare
  • ps is now under the MIT license.

  • Process functions now default to the calling R process. So e.g. you can
    write simply ps_connections() to list all network connections of the
    current process, instead of ps_connections(ps_handle()).

  • New ps_get_nice() and ps_set_nice() functions to get and set the
    priority of a process (#89).

  • New ps_system_memory() and ps_system_swap() functions, to
    return information about system memory and swap usage.

  • New ps_disk_partitions() and ps_disk_usage() functions, they
    return information about file systems, similarly to the mount and
    df Unix commands.

v.1.3.4

11 Aug 14:42
Compare
Choose a tag to compare
  • ps_cpu_count() now reports the correct number on Windows, even if
    the package binary was built on a Windows version with a different
    API (#77).

v1.3.3

08 May 10:31
Compare
Choose a tag to compare
  • New function errno() returns a table of errno.h error codes and
    their description.

  • ps now compiles again on Solaris.

v1.3.2

16 Feb 11:29
Compare
Choose a tag to compare
  • ps now compiles again on unsupported platforms like Solaris.

v1.3.1

12 Feb 13:34
Compare
Choose a tag to compare
  • Fixed an installation problem on some Windows versions, where the
    output of cmd /c ver looks different (#69).

v1.3.0

21 Dec 15:03
Compare
Choose a tag to compare
  • New ps_cpu_count() function returns the number of logical or
    physical processors.

v1.2.1

07 Nov 09:38
Compare
Choose a tag to compare

ps 1.2.1

  • Fix a crash on Linux, that happened at load time (#50).

v1.2.0

07 Nov 09:37
Compare
Choose a tag to compare

ps 1.2.0

  • New ps_connections() to list network connections. The
    CleanupReporter() testthat reporter can check for leftover open
    network connections in test cases.

  • ps_open_files() does not include open sockets now on Linux, they are
    rather included in ps_connections().

  • CleanupReporter() now ignores /dev/urandom, some packages (curl,
    openssl, etc.) keep this file open.

  • Fix ps() printing without the tibble package (#43).

  • Fix compilation with ICC (#39).

  • Fix a crash on Linux (#47).

v1.1.0

07 Nov 09:37
Compare
Choose a tag to compare

ps 1.1.0

  • New ps_num_fds() returns the number of open files/handles.

  • New ps_open_files() lists all open files of a process.

  • New ps_interrupt() interrupts a process. It sends a SIGINT signal on
    POSIX systems, and it can send CTRL+C or CTRL+BREAK events on Windows.

  • New ps_users() lists users connected to the system.

  • New ps_mark_tree(), ps_find_tree(), ps_kill_tree(),
    with_process_cleanup(): functions to mark and clean up child
    processes.

  • New CleanupReporter, to be used with testthat: it checks for
    leftover child processes and open files in test_that() blocks.