Skip to content

Commit

Permalink
Merge pull request NAG-DevOps#43 from carlos-encs/master
Browse files Browse the repository at this point in the history
seff added
  • Loading branch information
smokhov authored Apr 25, 2024
2 parents 384a433 + dc4a5d9 commit 334ee8d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions doc/scheduler-scripting.tex
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,37 @@ \subsection{Common Job Management Commands Summary}
default format in the \api{SACCT\_FORMAT} environment variable
in your \texttt{.cshrc} or \texttt{.bashrc} files.

\item
\texttt{seff [job-ID]}: reports on the efficiency of a job's cpu and memory utilization.
Don't execute it on RUNNING jobs (only on completed/finished jobs), efficiency statistics may be misleading.

If you define the following directives in your batch script, you will receive seff output in your email when your job is finished.
\small
\begin{verbatim}
#SBATCH --mail-type=ALL
#SBATCH [email protected]
## Replace USER_NAME with your encs username.
\end{verbatim}
\normalsize

Output example:
\small
\begin{verbatim}
Job ID: XXXXX
Cluster: speed
User/Group: user1/user1
State: COMPLETED (exit code 0)
Nodes: 1
Cores per node: 4
CPU Utilized: 00:04:29
CPU Efficiency: 0.35% of 21:32:20 core-walltime
Job Wall-clock time: 05:23:05
Memory Utilized: 2.90 GB
Memory Efficiency: 2.90% of 100.00 GB
\end{verbatim}
\normalsize


\end{itemize}


Expand Down
Binary file modified doc/speed-manual.pdf
Binary file not shown.

0 comments on commit 334ee8d

Please sign in to comment.