Thursday, May 4, 2017

Re: [Discuss-gnuradio] Process Naming

I can see that the threads are showing up with meaningful names using `top -H`.  Names like `zmq_pub_sink_c1`.  The `ps` command doesn't usually show me anything special :(  But, `top -H` does which is nice.

On Thu, May 4, 2017 at 9:46 PM, Marcus D. Leech <mleech@ripnet.com> wrote:
On 05/04/2017 09:23 PM, Dave NotTelling wrote:
How are processes named in GNU Radio?  I assumed they took on the ID of the block.  But testing has showed that not to be the case.  I was hoping to be able to see CPU usage of my blocks by running `top -H` and looking at the process names.  I also tried setting the block alias but that did nothing to the process name (not even sure what it's for honestly).  Is this doable?

Thanks!

-Dave


_______________________________________________  Discuss-gnuradio mailing list  Discuss-gnuradio@gnu.org  https://lists.gnu.org/mailman/listinfo/discuss-gnuradio  
Gnu Radio calls set_pthread_name(), but this isn't necessarily reflected in the data that any given implementation of "ps" pulls out of /proc and/or the kernel.



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


No comments:

Post a Comment