New function errno()
returns a table of errno.h
error codes and their description.
ps now compiles again on Solaris.
cmd /c ver
looks different (#69).ps_cpu_count()
function returns the number of logical or physical processors.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).
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.
First released version.