Use the “`-f“` flag with…

Use the -f flag with tail to monitor file in real-time.

E.g.

tail -f logfile.txt

Mox is down

View completed job stats on Mox

Use sacct.

Example:

sacct -S2017-01-01 -E2018-06-27 -o jobid,start,end,state,maxrss,elapsed -u samwhite

This will display all jobs that between the specified start (-S) and end (-E) dates.

  • -o : Output format. Takes a comma-separated list of fields to display. Displays in order that values are listed. See man page for full list.

  • jobid : JobID

  • start : Date/time job was started.

  • end : Date/time job was ended.

  • state : Job state (e.g. completed, failed, etc.)

  • maxrss : Max RAM used during job.

  • elapsed : Total wall time elapsed for job to run.

  • -u samwhite : Specify user who’s history you want to view.

View running job stats on Mox

Command:

sstat jobid.batch

Replace jobid with the assigned job number. Can limit output by using --format argument.

Example to view maximum RAM used by running job:

sstat 181987.batch --format maxrss

Copy/rsync to/from Mox w/o password

The tips below require the use off SSH keys between Mox and your computer/NAS of choice.

Pro-tip from UW IT:

To avoid having to enter UW NetID password every time one wants to copy to/from Mox, always initiate transfers from Mox.

For recurring copying (i.e. rsync), set up cron job on Mox to run rsync to desired computer/NAS.