Communicating
1 minute read
Communicating with others
The cluster is a shared resource, and communicating with other users can help to schedule large computations.
Looking-Up Specific Users
A convenient overview of all users and their lab affiliations can be retrieved with the following command:
user_details.sh
You can search for specific users by running:
MATCH1='username1' # Searches by real name, and username, and email address and PI name
MATCH2='username2'
user_details.sh | grep -P "$MATCH1|$MATCH2"
Listing Users with Active Jobs on the Cluster To get a list of usernames:
squeue --format '%u' | sort | uniq
To get the list of real names:
grep <(user_details.sh | awk '{print $2,$3,$4}') -f <(squeue --format '%u' --noheader | sort | uniq) | awk '{print $1,$2}'
To get the list of emails:
grep <(user_details.sh | awk '{print $4,$5}') -f <(squeue --format '%u' --noheader | sort | uniq) | awk '{print $2}'
Last modified July 8, 2021: added aliases from old site (9ab14f0)