Learn R Programming

installr (version 0.17.8)

get_tasklist: Get the running processes in windows task manager

Description

Returns a data.frame with the current running processes (Windows only).

Usage

get_tasklist(...)

Arguments

...
not used.

Value

a data.frame with the current running processes.

References

tasklist details from microsoft homepage: http://technet.microsoft.com/en-us/library/bb491010.aspx

See Also

get_tasklist, get_Rscript_PID, get_pid, kill_pid, kill_all_Rscript_s, pskill kill_pid, kill_all_Rscript_s

Examples

Run this code
## Not run: 
# # create several running processes of Rscript (to shitdown)
# system("Rscript -e repeat{2+2}", wait = FALSE) # this process should be stuck   
# system("Rscript -e repeat{2+2}", wait = FALSE) # this process should be stuck   
# # here are there pid numbers:
# get_Rscript_PID() 
# # let's kill them:
# kill_all_Rscript_s()
# # they are gone...
# get_Rscript_PID() # we no longer have Rscripts running
# ## End(Not run)

Run the code above in your browser using DataLab