Skip to content

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

@ctb

Description

@ctb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions