Open ctb opened 7 months ago
what if you are running something on a node and you want to figure out how to inspect it, by e.g. using top to look at its memory and CPU usage?
top
something like:
srun -p high2 --pty -w cpu-3-57 --time=5:00:00 /bin/bash
will attach to node cpu-3-57 for five minutes, and let you run things on that node with otherwise default memory etc parameters (for me, 2 GB of RAM, 2 CPUs, 1 node)
cpu-3-57
per https://ask.cyberinfrastructure.org/t/how-to-attach-to-a-running-job-to-run-top-on-compute-node/912
what if you are running something on a node and you want to figure out how to inspect it, by e.g. using
top
to look at its memory and CPU usage?something like:
will attach to node
cpu-3-57
for five minutes, and let you run things on that node with otherwise default memory etc parameters (for me, 2 GB of RAM, 2 CPUs, 1 node)per https://ask.cyberinfrastructure.org/t/how-to-attach-to-a-running-job-to-run-top-on-compute-node/912