I want to monitor and show the memory usage of GPU each second. I can get the feedback data about the memory of GPU using the ‘nvidia-smi’ command in Linux. Anyone knows how to implement it? Thanks.
Hi Xiang,
That's a pretty broad question, so I can't give more than general pointers. There are two basic options:
"pulling" the data into the client with an AjaxDataSource (or possibly a custom data source you could write), an example here:
https://github.com/bokeh/bokeh/blob/master/examples/plotting/file/ajax_source.py
"pushing" the data into the client with a Bokeh server. An example here:
https://github.com/bokeh/bokeh/blob/master/examples/app/fourier_animated.py
Bryan
···
On Dec 16, 2015, at 4:16 PM, Xiang Li <[email protected]> wrote:
I want to monitor and show the memory usage of GPU each second. I can get the feedback data about the memory of GPU using the 'nvidia-smi' command in Linux. Anyone knows how to implement it? Thanks.
--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/f331ea80-6cef-41ad-a73f-b72dbe8065ea%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.