[R] Changing the name of the "R" process in top

Joshua Wiley jwiley.psych at gmail.com
Sat May 28 21:10:49 CEST 2011


Hi Matt,

Not sure about renaming it but what about something like:

$ ps -aux | grep R

each process will have a unique PID that you can use to tell them
apart (possibly even the call that started it, but I am not presently
in a position to test and do not remember for certain).

HTH,

Josh

On Sat, May 28, 2011 at 11:48 AM, Matthew Keller <mckellercran at gmail.com> wrote:
> Hi all,
>
> Perhaps this is more of a unix question, but I'll give it a try here.
> I am running 9 different R processes at the same time (called from a
> shell script using R CMD BATCH).  When I use the top program to
> monitor how they are doing, it is impossible to tell which R process
> is related to which R script. Is there a way to rename a specific
> instantiation of an R process in top with another, more informative
> name, e.g., something like R-script1 R-script2 etc?
>
> Thank you,
>
> Matt
>
> --
> Matthew C Keller
> Asst. Professor of Psychology
> University of Colorado at Boulder
> www.matthewckeller.com
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Joshua Wiley
Ph.D. Student, Health Psychology
University of California, Los Angeles
http://www.joshuawiley.com/



More information about the R-help mailing list