tmux-cpu
tmux-cpu copied to clipboard
gpu info not showing
The status bar shows No GPU
even though the GPU can be accessed by nvidia-smi
which is available at /usr/bin
included in $PATH
.
I am using tmux v2.6
I login to this compute node via a login node. The tmux
session was opened on the login node but I guess it is supposed to update after the update-interval and get info from the compute node. Also, there are no changes even if I refresh the status bar manually.
Basically the issue it seems is that the login node is not able to receive information from the compute node about the updates in PATH and GPU.
odd.
you could add PATH="/usr/bin:$PATH"
to the top of $HOME/.tmux/plugins/tmux-cpu/scripts/helpers.sh
Hey @casperdcl! I am wondering if this plugin can show info only from local machine (where tmux is installed and launched) or it could also work with remote machine.
i.e. I am running tmux on a machine without GPU, but after connecting to a machine with GPU the panel is not updating and still showing info from the local machine:
Reloading the status bar does not solve this issue.
I've also tried to add
PATH="/usr/bin:$PATH"
(from your previous comment, btw shouldn't it be like EXPORT PATH=...
?), but in this case, the actual values are not shown in the panel at all: