Package: ps 1.7.7.9000

Gábor Csárdi

ps: List, Query, Manipulate System Processes

List, query and manipulate all system processes, on 'Windows', 'Linux' and 'macOS'.

Authors:Jay Loden [aut], Dave Daeschler [aut], Giampaolo Rodola' [aut], Gábor Csárdi [aut, cre], Posit Software, PBC [cph, fnd]

ps_1.7.7.9000.tar.gz
ps_1.7.7.9000.zip(r-4.5)ps_1.7.7.9000.zip(r-4.4)ps_1.7.7.9000.zip(r-4.3)
ps_1.7.7.9000.tgz(r-4.4-arm64)ps_1.7.7.9000.tgz(r-4.4-x86_64)ps_1.7.7.9000.tgz(r-4.3-arm64)ps_1.7.7.9000.tgz(r-4.3-x86_64)
ps_1.7.7.9000.tar.gz(r-4.5-noble)ps_1.7.7.9000.tar.gz(r-4.4-noble)
ps_1.7.7.9000.tgz(r-4.4-emscripten)ps_1.7.7.9000.tgz(r-4.3-emscripten)
ps.pdf |ps.html
ps/json (API)
NEWS

# Install ps in R:
install.packages('ps', repos = c('https://r-lib.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/r-lib/ps/issues

On CRAN:

60 exports 72 stars 14.59 score 0 dependencies 2000 dependents 3 mentions 612.7k downloads

Last updated 13 hours agofrom:bbee400a8c

Exports:CleanupReportererrnopsps_boot_timeps_childrenps_cmdlineps_connectionsps_cpu_countps_cpu_timesps_create_timeps_cwdps_descentps_disk_partitionsps_disk_usageps_environps_environ_rawps_exeps_find_treeps_get_cpu_affinityps_get_niceps_gidsps_handleps_interruptps_is_runningps_is_supportedps_killps_kill_treeps_loadavgps_mark_treeps_memory_full_infops_memory_infops_nameps_num_fdsps_num_threadsps_open_filesps_os_typeps_parentps_pidps_pidsps_ppidps_resumeps_send_signalps_set_cpu_affinityps_set_niceps_shared_lib_usersps_shared_libsps_statusps_suspendps_system_cpu_timesps_system_memoryps_system_swapps_terminalps_terminateps_tty_sizeps_uidsps_usernameps_usersps_windows_nice_valuessignalswith_process_cleanup

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
testthat reporter that checks if child processes are cleaned up in testsCleanupReporter
List of 'errno' error codeserrno
Process tableps
Boot time of the systemps_boot_time
List of child processes (process objects) of the process. Note that this typically requires enumerating all processes on the system, so it is a costly operation.ps_children
Command line of the processps_cmdline
List network connections of a processps_connections
Number of logical or physical CPUsps_cpu_count
CPU times of the processps_cpu_times
Start time of a processps_create_time
Process current working directory as an absolute path.ps_cwd
Query the ancestry of a processps_descent
List all mounted partitionsps_disk_partitions
Disk usage statistics, per partitionps_disk_usage
Environment variables of a processps_environ ps_environ_raw
Full path of the executable of a processps_exe
Query or set CPU affinityps_get_cpu_affinity ps_set_cpu_affinity
Create a process handleas.character.ps_handle format.ps_handle print.ps_handle ps_handle
Interrupt a processps_interrupt
Checks whether a process is runningps_is_running
Kill a processps_kill
Return the average system load over the last 1, 5 and 15 minutes as a tuple.ps_loadavg
Mark a process and its (future) child treeps_find_tree ps_kill_tree ps_mark_tree with_process_cleanup
Memory usage informationps_memory_full_info ps_memory_info
Process nameps_name
Number of open file descriptorsps_num_fds
Number of threadsps_num_threads
Open files of a processps_open_files
Query the type of the OSps_is_supported ps_os_type
Pid of a process handleps_pid
Ids of all processes on the systemps_pids
Parent pid or parent process of a processps_parent ps_ppid
Resume (continue) a stopped processps_resume
Send signal to a processps_send_signal
List all processes that loaded a shared libraryps_shared_lib_users
List the dynamically loaded libraries of a processps_shared_libs
Current process statusps_status
Suspend (stop) the processps_suspend
System CPU times.ps_system_cpu_times
Statistics about system memory usageps_system_memory
System swap memory statisticsps_system_swap
Terminal device of the processps_terminal
Terminate a Unix processps_terminate
Query the size of the current terminalps_tty_size
User ids and group ids of the processps_gids ps_uids
Owner of the processps_username
List users connected to the systemps_users
Get or set the priority of a processps_get_nice ps_set_nice ps_windows_nice_values
List of all supported signalssignals