Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attaching to a node running a job in order to inspect processes, e.g. top #68

Open
ctb opened this issue Apr 15, 2024 · 0 comments
Open

Comments

@ctb
Copy link
Member

ctb commented Apr 15, 2024

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:

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)

per https://ask.cyberinfrastructure.org/t/how-to-attach-to-a-running-job-to-run-top-on-compute-node/912

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant