sacct

Section: Slurm Commands (1)
Updated: Slurm Commands
Index

 

NAME

sacct - displays accounting data for all jobs and job steps in the Slurm job accounting log or Slurm database
sacct-SlurmジョブアカウンティングログまたはSlurmデータベース内のすべてのジョブとジョブステップのアカウンティングデータを表示します

 

SYNOPSIS

sacct [OPTIONS...]

 

DESCRIPTION

Accounting information for jobs invoked with Slurm are either logged in the job accounting log file or saved to the Slurm database, as configured with the AccountingStorageType parameter.
Slurmで呼び出されたジョブのアカウンティング情報は、AccountingStorageTypeパラメーターで構成されているように、ジョブアカウンティングログファイルに記録されるか、Slurmデータベースに保存されます。

The sacct command displays job accounting data stored in the job accounting log file or Slurm database in a variety of forms for your analysis.
sacctコマンドは、分析のために、ジョブアカウンティングログファイルまたはSlurmデータベースに保存されているジョブアカウンティングデータをさまざまな形式で表示します。
The sacct command displays information on jobs, job steps, status, and exitcodes by default.
sacctコマンドは、デフォルトで、ジョブ、ジョブステップ、ステータス、および出口コードに関する情報を表示します。
You can tailor the output with the use of the --format= option to specify the fields to be shown.
--format =オプションを使用して出力を調整し、表示するフィールドを指定できます。

For the root user, the sacct command displays job accounting data for all users, although there are options to filter the output to report only the jobs from a specified user or group.
rootユーザーの場合、sacctコマンドはすべてのユーザーのジョブアカウンティングデータを表示しますが、指定されたユーザーまたはグループからのジョブのみをレポートするように出力をフィルタリングするオプションがあります。

For the non-root user, the sacct command limits the display of job accounting data to jobs that were launched with their own user identifier (UID) by default.
root以外のユーザーの場合、sacctコマンドは、ジョブアカウンティングデータの表示を、デフォルトで独自のユーザーID(UID)で起動されたジョブに制限します。
Data for other users can be displayed with the --allusers, --user, or --uid options.
他のユーザーのデータは、-allusers、-user、または--uidオプションを使用して表示できます。

Elapsed time fields are presented as [days-]hours:minutes:seconds[.microseconds].
経過時間フィールドは、[日-]時間:分:秒[.microseconds]として表示されます。
Only 'CPU' fields will ever have microseconds.
「CPU」フィールドのみがマイクロ秒になります。

The default input file is the file named in the AccountingStorageLoc parameter in slurm.conf.
デフォルトの入力ファイルは、slurm.confのAccountingStorageLocパラメーターで指定されたファイルです。

Note:
If designated, the slurmdbd.conf option PrivateData may further restrict the accounting data visible to users which are not SlurmUser, root, or a user with AdminLevel=Admin.
注:指定されている場合、slurmdbd.confオプションPrivateDataは、SlurmUser、root、またはAdminLevel = Adminのユーザー以外のユーザーに表示されるアカウンティングデータをさらに制限する場合があります。
See the slurmdbd.conf man page for additional details on restricting access to accounting data.
アカウンティングデータへのアクセスを制限する方法の詳細については、slurmdbd.confのマニュアルページを参照してください。
Note:
If the AccountingStorageType is set to "accounting_storage/filetxt", space characters embedded within account names, job names, and step names will be replaced by underscores.
注:AccountingStorageTypeが "accounting_storage / filetxt"に設定されている場合、アカウント名、ジョブ名、およびステップ名に埋め込まれているスペース文字はアンダースコアに置き換えられます。
If account names with embedded spaces are needed, it is recommended that a database type of accounting storage be configured.
スペースが埋め込まれたアカウント名が必要な場合は、データベースタイプのアカウンティングストレージを構成することをお勧めします。
Note:
The contents of Slurm's database are maintained in lower case.
注:Slurmのデータベースの内容は小文字で維持されます。
This may result in some sacct output differing from that of other Slurm commands.
これにより、一部のsacct出力が他のSlurmコマンドの出力と異なる場合があります。
Note:
Much of the data reported by sacct has been generated by the wait3() and getrusage() system calls.
注:sacctによって報告されるデータの多くは、wait3()およびgetrusage()システムコールによって生成されています。
Some systems gather and report incomplete information for these calls; sacct reports values of 0 for this missing data.
一部のシステムは、これらの呼び出しに関する不完全な情報を収集して報告します。sacctは、この欠落データの値0を報告します。
See your systems getrusage (3) man page for information about which data are actually available on your system.
システムで実際に使用できるデータについては、systems getrusage(3)のマニュアルページを参照してください。

 

OPTIONS

-a, --allusers
Displays all users jobs when run by user root or if PrivateData is not configured to jobs.
ユーザーrootによって実行された場合、またはPrivateDataがジョブに構成されていない場合は、すべてのユーザージョブを表示します。
Otherwise display the current user's jobs
それ以外の場合は、現在のユーザーのジョブを表示します

-A account_list , --accounts=account_list
Displays jobs when a comma separated list of accounts are given as the argument.
アカウントのコンマ区切りリストが引数として指定されている場合にジョブを表示します。

-b, --brief
Displays a brief listing, which includes the following data:
次のデータを含む簡単なリストを表示します。
jobid
status
exitcode

-c, --completion
Use job completion data instead of job accounting.
ジョブアカウンティングの代わりにジョブ完了データを使用します。
The JobCompType parameter in the slurm.conf file must be defined to a non-none option.
slurm.confファイルのJobCompTypeパラメーターは、none以外のオプションに定義する必要があります。
Does not support federated cluster information (local data only).
フェデレーションクラスター情報をサポートしていません(ローカルデータのみ)。

-C constraint_list, --constraints=constraint_list
Comma separated list to filter jobs based on what constraints/features the job requested.
ジョブが要求した制約/機能に基づいてジョブをフィルタリングするためのカンマ区切りリスト。
Multiple options will be treated as 'and' not 'or', so the job would need all constraints specified to be returned not one or the other.
複数のオプションは「または」ではなく「」として扱われるため、ジョブでは、どちらか一方ではなく、すべての制約を指定して返す必要があります。

--delimiter=characters
ASCII characters used to separate the fields when specifying the -p or -P options.
-pまたは-Pオプションを指定するときにフィールドを区切るために使用されるASCII文字。
The default delimiter is a '|'.
デフォルトの区切り文字は「|」です。
This option is ignored if -p or -P options are not specified.
-pまたは-Pオプションが指定されていない場合、このオプションは無視されます。

-D, --duplicates
If Slurm job ids are reset, some job numbers will probably appear more than once in the accounting log file but refer to different jobs.
SlurmジョブIDがリセットされると、一部のジョブ番号はアカウンティングログファイルに複数回表示される可能性がありますが、異なるジョブを参照します。
Such jobs can be distinguished by the "submit" time stamp in the data records.
このようなジョブは、データレコードの「送信」タイムスタンプによって区別できます。

When data for specific jobs are requested with the --jobs option, sacct returns the most recent job with that number.
--jobsオプションを使用して特定のジョブのデータが要求されると、sacctはその番号の最新のジョブを返します。
This behavior can be overridden by specifying --duplicates, in which case all records that match the selection criteria will be returned.
この動作は、-duplicatesを指定することでオーバーライドできます。この場合、選択基準に一致するすべてのレコードが返されます。

NOTE: Revoked federated sibling jobs are hidden unless the --duplicates option is specified.
注:-duplicatesオプションが指定されていない限り、取り消されたフェデレーション兄弟ジョブは非表示になります。

-e, --helpformat
Print a list of fields that can be specified with the --format option.
--formatオプションで指定できるフィールドのリストを出力します。

Fields available:

Account             AdminComment        AllocCPUS           AllocGRES
AllocNodes          AllocTRES           AssocID             AveCPU
AveCPUFreq          AveDiskRead         AveDiskWrite        AvePages
AveRSS              AveVMSize           BlockID             Cluster
Comment             Constraints         ConsumedEnergy      ConsumedEnergyRaw
CPUTime             CPUTimeRAW          DBIndex             DerivedExitCode
Elapsed             ElapsedRaw          Eligible            End
ExitCode            Flags               GID                 Group
JobID               JobIDRaw            JobName             Layout
MaxDiskRead         MaxDiskReadNode     MaxDiskReadTask     MaxDiskWrite
MaxDiskWriteNode    MaxDiskWriteTask    MaxPages            MaxPagesNode
MaxPagesTask        MaxRSS              MaxRSSNode          MaxRSSTask
MaxVMSize           MaxVMSizeNode       MaxVMSizeTask       McsLabel
MinCPU              MinCPUNode          MinCPUTask          NCPUS
NNodes              NodeList            NTasks              Priority
Partition           QOS                 QOSRAW              Reason
ReqCPUFreq          ReqCPUFreqMin       ReqCPUFreqMax       ReqCPUFreqGov
ReqCPUS             ReqGRES             ReqMem              ReqNodes
ReqTRES             Reservation         ReservationId       Reserved
ResvCPU             ResvCPURAW          Start               State
Submit              Suspended           SystemCPU           SystemComment
Timelimit           TimelimitRaw        TotalCPU            TRESUsageInAve
TRESUsageInMax      TRESUsageInMaxNode  TRESUsageInMaxTask  TRESUsageInMin
TRESUsageInMinNode  TRESUsageInMinTask  TRESUsageInTot      TRESUsageOutAve
TRESUsageOutMax     TRESUsageOutMaxNode TRESUsageOutMaxTask TRESUsageOutMin
TRESUsageOutMinNode TRESUsageOutMinTask TRESUsageOutTot     UID
User                UserCPU             WCKey               WCKeyID
WorkDir

NOTE: When using with Ave[RSS|VM]Size or their values in TRESUsageIn[Ave|Tot].
注:TRESUsageIn [Ave | Tot]でAve [RSS | VM] Sizeまたはそれらの値を使用する場合。
They represent the average/total of the highest watermarks over all ranks in the step.
これらは、ステップ内のすべてのランクにわたる最高の透かしの平均/合計を表します。
When using sstat they represent the average/total at the moment the command was run.
sstatを使用する場合、コマンドが実行された時点での平均/合計を表します。

NOTE: TRESUsage*Min* values represent the lowest highwater mark in the step.
注:TRESUsage * Min *値は、ステップの最低最高水準点を表します。
The section titled "Job Accounting Fields" describes these fields.
「ジョブアカウンティングフィールド」というタイトルのセクションでは、これらのフィールドについて説明します。

-E end_time, --endtime=end_time
Select jobs in any state before the specified time.
指定した時間より前の状態のジョブを選択します。
If states are given with the -s option return jobs in this state before this period.
状態が-sオプションで指定されている場合、この期間の前にこの状態のジョブを返します。
See the DEFAULT TIME WINDOW for more details.
詳細については、デフォルトの時間ウィンドウを参照してください。

Valid time formats are...

HH:MM[:SS] [AM|PM]
MMDD[YY] or MM/DD[/YY] or MM.DD[.YY]
MM/DD[/YY]-HH:MM[:SS]
YYYY-MM-DD[THH:MM[:SS]]

--federation
Show jobs from the federation if a member of one.
フェデレーションのメンバーの場合は、フェデレーションからのジョブを表示します。

-f file, --file=file
Causes the sacct command to read job accounting data from the named file instead of the current Slurm job accounting log file.
sacctコマンドに、現在のSlurmジョブアカウンティングログファイルではなく、指定されたファイルからジョブアカウンティングデータを読み取らせます。
Only applicable when running the filetxt plugin.
filetxtプラグインを実行している場合にのみ適用されます。

-F flag_list, --flags=flag_list
Comma separated list to filter jobs based on what various ways the jobs were handled.
ジョブが処理されたさまざまな方法に基づいてジョブをフィルタリングするためのコンマ区切りリスト。
Current flags are SchedSubmit, SchedMain, SchedBackfill.
現在のフラグは、SchedSubmit、SchedMain、SchedBackfillです。
These particular options describe the scheduler that started the job.
これらの特定のオプションは、ジョブを開始したスケジューラーを記述します。

-g gid_list, --gid=gid_list --group=group_list
Displays the statistics only for the jobs started with the GID or the GROUP specified by the gid_list or the group_list operand, which is a comma-separated list.
gid_listまたはコンマ区切りのリストであるgroup_listオペランドで指定されたGIDまたはGROUPで開始されたジョブの統計のみを表示します。
Space characters are not allowed.
スペース文字は使用できません。
Default is no restrictions.
デフォルトは制限なしです。

-h, --help
Displays a general help message.
一般的なヘルプメッセージを表示します。

-i, --nnodes=N
Return jobs which ran on this many nodes (N = min[-max])
この数のノードで実行されたジョブを返します(N = min [-max])

-j job(.step) , --jobs=job(.step)
Displays information about the specified job(.step) or list of job(.step)s.
指定したジョブ(.step)またはジョブ(.step)の一覧に関する情報を表示します。
The job(.step) parameter is a comma-separated list of jobs.
job(.step)パラメーターは、コンマで区切られたジョブのリストです。
Space characters are not permitted in this list.
このリストではスペース文字は使用できません。
NOTE: A step id of 'batch' will display the information about the batch step.
注:「batch」のステップIDは、バッチステップに関する情報を表示します。
By default sacct shows only jobs with Eligible time, but with this option the non-eligible will be also shown.
デフォルトでは、sacctは適格な時間のジョブのみを表示しますが、このオプションを使用すると、不適格なジョブも表示されます。
NOTE: If --state is also specified, as non-eligible are not PD, then non-eligible jobs will not be displayed.
注:-stateも指定されている場合、非適格はPDではないため、非適格ジョブは表示されません。
See the DEFAULT TIME WINDOW for details about how this option changes the default -S and -E options.
このオプションがデフォルトの-Sおよび-Eオプションをどのように変更するかについての詳細は、DEFAULT TIMEWINDOWを参照してください。

-k, --timelimit-min
Only send data about jobs with this timelimit.
この制限時間内のジョブに関するデータのみを送信してください。
If used with timelimit_max this will be the minimum timelimit of the range.
timelimit_maxとともに使用する場合、これは範囲の最小時間制限になります。
Default is no restriction.
デフォルトは制限なしです。

-K, --timelimit-max
Ignored by itself, but if timelimit_min is set this will be the maximum timelimit of the range.
それ自体は無視されますが、timelimit_minが設定されている場合、これは範囲の最大時間制限になります。
Default is no restriction.
デフォルトは制限なしです。

--local
Show only jobs local to this cluster.
このクラスターにローカルなジョブのみを表示します。
Ignore other clusters in this federation (if any).
このフェデレーション内の他のクラスターを無視します(存在する場合)。
Overrides --federation.
--federationをオーバーライドします。

-l, --long
Equivalent to specifying:
指定するのと同じです:
--format=jobid,jodidraw,jobname,partition,maxvmsize,maxvmsizenode, maxvmsizetask,avevmsize,maxrss,maxrssnode,maxrsstask,averss,maxpages, maxpagesnode,maxpagestask,avepages,mincpu,mincpunode,mincputask,avecpu,ntasks, alloccpus,elapsed,state,exitcode,avecpufreq,reqcpufreqmin,reqcpufreqmax, reqcpufreqgov,reqmem,consumedenergy,maxdiskread,maxdiskreadnode,maxdiskreadtask, avediskread,maxdiskwrite,maxdiskwritenode,maxdiskwritetask,avediskwrite, allocgres,reqgres,reqtres,alloctres,tresusageinave,tresusageinmax, tresusageinmaxn,tresusageinmaxt,tresusageinmin,tresusageinminn,tresusageinmint, tresusageintot,tresusageoutmax,tresusageoutmaxn, tresusageoutmaxt,tresusageoutave,tresusageouttot

-L, --allclusters
Display jobs ran on all clusters.
表示ジョブはすべてのクラスターで実行されました。
By default, only jobs ran on the cluster from where sacct is called are displayed.
デフォルトでは、sacctが呼び出されたクラスターで実行されたジョブのみが表示されます。

-M cluster_list, --clusters=cluster_list
Displays the statistics only for the jobs started on the clusters specified by the cluster_list operand, which is a comma-separated list of clusters.
クラスターのコンマ区切りリストであるcluster_listオペランドで指定されたクラスターで開始されたジョブの統計のみを表示します。
Space characters are not allowed in the cluster_list.
cluster_listではスペース文字を使用できません。
A value of 'all' will query to run on all clusters.
'all'の値は、すべてのクラスターで実行するように照会します。
The default is current cluster you are executing the sacct command on or all clusters in the federation when executed on a federated cluster.
デフォルトは、フェデレーションクラスターで実行された場合に、フェデレーションでsacctコマンドを実行している現在のクラスターまたはフェデレーション内のすべてのクラスターです。
This option implicitly sets the --local option.
このオプションは、暗黙的に--localオプションを設定します。

-n, --noheader
No heading will be added to the output.
見出しは出力に追加されません。
The default action is to display a header.
デフォルトのアクションは、ヘッダーを表示することです。

--noconvert
Don't convert units from their original type (e.g. 2048M won't be converted to 2G).
単位を元のタイプから変換しないでください(たとえば、2048Mは2Gに変換されません)。

-N node_list, --nodelist=node_list
Display jobs that ran on any of these node(s).
これらのノードのいずれかで実行されたジョブを表示します。
node_list can be a ranged string.
node_listは範囲指定された文字列にすることができます。

--name=jobname_list
Display jobs that have any of these name(s).
これらの名前のいずれかを持つジョブを表示します。

-o, --format
Comma separated list of fields.
フィールドのコンマ区切りリスト。
(use "--helpformat" for a list of available fields).
(使用可能なフィールドのリストについては、「-helpformat」を使用してください)。

NOTE: When using the format option for listing various fields you can put a %NUMBER afterwards to specify how many characters should be printed.
注:さまざまなフィールドを一覧表示するためにフォーマットオプションを使用する場合、後で%NUMBERを入力して、印刷する文字数を指定できます。

e.g. format=name%30 will print 30 characters of field name right justified.
たとえば、format = name%30は、右寄せされた30文字のフィールド名を出力します。
A %-30 will print 30 characters left justified.
%-30は、左揃えで30文字を印刷します。

When set, the SACCT_FORMAT environment variable will override the default format.
設定すると、SACCT_FORMAT環境変数がデフォルトの形式を上書きします。
For example:
例えば:

SACCT_FORMAT="jobid,user,account,cluster"

-p, --parsable
output will be '|' delimited with a '|' at the end
出力は '|'になります '|'で区切られます 最後に

-P, --parsable2
output will be '|' delimited without a '|' at the end
出力は '|'になります '|'なしで区切られます 最後に

-q, --qos
Only send data about jobs using these qos.
これらのQoSを使用してジョブに関するデータのみを送信します。
Default is all.
デフォルトはallです。

-r, --partition

Comma separated list of partitions to select jobs and job steps from.
ジョブとジョブステップを選択するためのパーティションのコンマ区切りリスト。
The default is all partitions.
デフォルトはすべてのパーティションです。

-R reason_list, --reason=reason_list
Comma separated list to filter jobs based on what reason the job wasn't scheduled outside resources/priority.
ジョブがリソース/優先度の外部でスケジュールされなかった理由に基づいてジョブをフィルタリングするためのコンマ区切りリスト。

-s state_list, --state=state_list
Selects jobs based on their state during the time period given.
指定された期間中の状態に基づいてジョブを選択します。
Unless otherwise specified, the start and end time will be the current time when the --state option is specified and only currently running jobs can be displayed.
特に指定のない限り、開始時刻と終了時刻は--stateオプションが指定された現在の時刻になり、現在実行中のジョブのみを表示できます。
A start and/or end time must be specified to view information about jobs not currently running.
現在実行されていないジョブに関する情報を表示するには、開始時刻や終了時刻を指定する必要があります。
See the JOB STATE CODES section below for a list of state designators.
状態指定子のリストについては、以下のJOB STATECODESセクションを参照してください。
Multiple state names may be specified using comma separators.
複数の州名は、コンマ区切り記号を使用して指定できます。
Either the short or long form of the state name may be used (e.g. CA or CANCELLED) and the name is case insensitive (i.e. ca and CA both work).
状態名の短い形式または長い形式のいずれかを使用でき(CAまたはCANCELLEDなど)、名前では大文字と小文字が区別されません(つまり、caとCAの両方が機能します)。

NOTE: Note for a job to be selected in the PENDING state it must have "EligibleTime" in the requested time interval or different from "Unknown".
注:保留状態で選択されるジョブについては、要求された時間間隔に「EligibleTime」があるか、「不明」とは異なる必要があることに注意してください。
The "EligibleTime" is displayed by the "scontrol show job" command.
「EligibleTime」は「scontrolshowjob」コマンドで表示されます。
For example jobs submitted with the "--hold" option will have "EligibleTime=Unknown" as they are pending indefinitely.
たとえば、「-hold」オプションを指定して送信されたジョブは、無期限に保留されているため、「EligibleTime = Unknown」になります。

NOTE: When specifying states and no start time is given the default start time is 'now'.
注:状態を指定し、開始時刻が指定されていない場合、デフォルトの開始時刻は「now」です。
This is only when -j is not used.
これは、-jが使用されていない場合のみです。
If -j is used the start time will default to 'Epoch'.
-jを使用すると、開始時刻はデフォルトで「Epoch」になります。
In both cases if no end time is given it will default to 'now'.
どちらの場合も、終了時刻が指定されていない場合、デフォルトで「now」になります。
See the DEFAULT TIME WINDOW for more details.
詳細については、デフォルトの時間ウィンドウを参照してください。

-S, --starttime
Select jobs in any state after the specified time.
指定した時間以降の任意の状態のジョブを選択します。
Default is 00:00:00 of the current day, unless the '-s' or '-j' options are used.
'-s'または '-j'オプションが使用されていない限り、デフォルトは当日の00:00:00です。
If the '-s' option is used, then the default is 'now'.
'-s'オプションが使用されている場合、デフォルトは 'now'です。
If states are given with the '-s' option then only jobs in this state at this time will be returned.
状態が「-s」オプションで指定されている場合、現時点でこの状態のジョブのみが返されます。
If the '-j' option is used, then the default time is Unix Epoch 0.
'-j'オプションが使用されている場合、デフォルトの時刻はUnixエポック0です。
See the DEFAULT TIME WINDOW for more details.
詳細については、デフォルトの時間ウィンドウを参照してください。

Valid time formats are...

HH:MM[:SS] [AM|PM]
MMDD[YY] or MM/DD[/YY] or MM.DD[.YY]
MM/DD[/YY]-HH:MM[:SS]
YYYY-MM-DD[THH:MM[:SS]]

-T, --truncate
Truncate time.
時間を切り捨てます。
So if a job started before --starttime the start time would be truncated to --starttime.
したがって、ジョブが--starttimeより前に開始された場合、開始時刻は--starttimeに切り捨てられます。
The same for end time and --endtime.
終了時間と--endtimeについても同じです。

-u uid_list, --uid=uid_list, --user=user_list
Use this comma separated list of uids or user names to select jobs to display.
表示するジョブを選択するには、このコンマ区切りのuidまたはユーザー名のリストを使用します。
By default, the running user's uid is used.
デフォルトでは、実行中のユーザーのuidが使用されます。

--units=[KMGTP]
Display values in specified unit type.
指定されたユニットタイプで値を表示します。
Takes precedence over --noconvert option.
--noconvertオプションよりも優先されます。

--usage
Display a command usage summary.
コマンドの使用状況の概要を表示します。

-v, --verbose
Primarily for debugging purposes, report the state of various variables during processing.
主にデバッグの目的で、処理中のさまざまな変数の状態を報告します。

-V, --version
Print version.
印刷版。

--whole-hetjob=[yes|no]
When querying heterogeneous jobs, Slurm by default retrieves the information about all the components of the job if the het_job_id (leader id) is selected.
異種ジョブを照会する場合、het_job_id(リーダーID)が選択されている場合、Slurmはデフォルトでジョブのすべてのコンポーネントに関する情報を取得します。
If a non-leader heterogeneous job component id is selected only that component is retrieved by default.
非リーダーの異種ジョブコンポーネントIDが選択されている場合、デフォルトではそのコンポーネントのみが取得されます。
This behavior can be changed by using this option.
この動作は、このオプションを使用して変更できます。
If set to 'yes' or no value is set, then information about all the components will be retrieved no matter which component is selected in the job filter.
'yes'に設定されているか、値が設定されていない場合、ジョブフィルタで選択されているコンポーネントに関係なく、すべてのコンポーネントに関する情報が取得されます。
Otherwise, if set to 'no' then only the selected heterogeneous job components will be retrieved, even when selecting the leader.
それ以外の場合、「いいえ」に設定すると、リーダーを選択した場合でも、選択した異種ジョブコンポーネントのみが取得されます。

-W wckey_list, --wckeys=wckey_list
Displays the statistics only for the jobs started on the wckeys specified by the wckey_list operand, which is a comma-separated list of wckey names.
wckey_listオペランドで指定されたwckeyで開始されたジョブの統計のみを表示します。これは、wckey名のコンマ区切りのリストです。
Space characters are not allowed in the wckey_list.
wckey_listではスペース文字を使用できません。
Default is all wckeys.
デフォルトはすべてwckeyです。

-x associd_list, --associations=assoc_list
Displays the statistics only for the jobs running under the association ids specified by the assoc_list operand, which is a comma-separated list of association ids.
アソシエーションIDのコンマ区切りリストであるassoc_listオペランドで指定されたアソシエーションIDで実行されているジョブの統計のみを表示します。
Space characters are not allowed in the assoc_list.
assoc_listではスペース文字を使用できません。
Default is all associations.
デフォルトはすべての関連付けです。

-X, --allocations
Only show statistics relevant to the job allocation itself, not taking steps into consideration.
手順を考慮せずに、ジョブ割り当て自体に関連する統計のみを表示します。

 

Job Accounting Fields

The following describes each job accounting field:
次に、各ジョブアカウンティングフィールドについて説明します。
ALL
Print all fields listed below.
以下にリストされているすべてのフィールドを印刷します。

AllocCPUs
Count of allocated CPUs.
割り当てられたCPUの数。
Equivalent to NCPUS.
NCPUSと同等です。

AllocGRES
Names and counts of generic resources allocated.
割り当てられた汎用リソースの名前と数。

AllocNodes
Number of nodes allocated to the job/step.
ジョブ/ステップに割り当てられたノードの数。
0 if the job is pending.
ジョブが保留中の場合は0。

AllocTres
Trackable resources.
追跡可能なリソース。
These are the resources allocated to the job/step after the job started running.
これらは、ジョブの実行開始後にジョブ/ステップに割り当てられたリソースです。
For pending jobs this should be blank.
保留中のジョブの場合、これは空白にする必要があります。
For more details see AccountingStorageTRES in slurm.conf.
詳細については、slurm.confのAccountingStorageTRESを参照してください。

Account
Account the job ran under.
ジョブが実行されたアカウント。

AssocID
Reference to the association of user, account and cluster.
ユーザー、アカウント、およびクラスターの関連付けへの参照。

AveCPU
Average (system + user) CPU time of all tasks in job.
ジョブ内のすべてのタスクの平均(システム+ユーザー)CPU時間。

AveCPUFreq
Average weighted CPU frequency of all tasks in job, in kHz.
ジョブ内のすべてのタスクの平均加重CPU周波数(kHz)。

AveDiskRead
Average number of bytes read by all tasks in job.
ジョブ内のすべてのタスクによって読み取られた平均バイト数。

AveDiskWrite
Average number of bytes written by all tasks in job.
ジョブ内のすべてのタスクによって書き込まれた平均バイト数。

AvePages
Average number of page faults of all tasks in job.
ジョブ内のすべてのタスクのページフォールトの平均数。

AveRSS
Average resident set size of all tasks in job.
ジョブ内のすべてのタスクの平均常駐セットサイズ。

AveVMSize
Average Virtual Memory size of all tasks in job.
ジョブ内のすべてのタスクの平均仮想メモリサイズ。

Cluster
Cluster name.
クラスター名。

Comment
The job's comment string when the AccountingStoreJobComment parameter in the slurm.conf file is set (or defaults) to YES.
slurm.confファイルのAccountingStoreJobCommentパラメーターがYESに設定されている(またはデフォルトになっている)場合のジョブのコメント文字列。
The Comment string can be modified by invoking sacctmgr modify job or the specialized sjobexitmod command.
コメント文字列は、sacctmgr変更ジョブまたは特殊なsjobexitmodコマンドを呼び出すことで変更できます。

ConsumedEnergy
Total energy consumed by all tasks in job, in joules.
ジョブ内のすべてのタスクによって消費される総エネルギー(ジュール単位)。
Note: Only in case of exclusive job allocation this value reflects the jobs' real energy consumption.
注:排他的なジョブ割り当ての場合のみ、この値はジョブの実際のエネルギー消費量を反映します。

CPUTime
Time used (Elapsed time * CPU count) by a job or step in HH:MM:SS format.
HH:MM:SS形式のジョブまたはステップで使用された時間(経過時間* CPUカウント)。

CPUTimeRAW
Time used (Elapsed time * CPU count) by a job or step in cpu-seconds.
ジョブまたはステップによって使用された時間(経過時間* CPUカウント)(cpu-seconds)。

DerivedExitCode
The highest exit code returned by the job's job steps (srun invocations).
ジョブのジョブステップ(srun呼び出し)によって返される最高の終了コード。
Following the colon is the signal that caused the process to terminate if it was terminated by a signal.
コロンの後には、シグナルによってプロセスが終了した場合にプロセスを終了させたシグナルが続きます。
The DerivedExitCode can be modified by invoking sacctmgr modify job or the specialized sjobexitmod command.
DerivedExitCodeは、sacctmgr変更ジョブまたは特殊なsjobexitmodコマンドを呼び出すことで変更できます。

Elapsed
The jobs elapsed time.
ジョブの経過時間。
The format of this fields output is as follows:
このフィールド出力の形式は次のとおりです。
[DD-[HH:]]MM:SS
as defined by the following:
次のように定義されます。
DD
days
hh
hours
mm
minutes
ss
seconds

Eligible
When the job became eligible to run in the same format as End.
ジョブがEndと同じ形式で実行できるようになったとき。

End
Termination time of the job.
ジョブの終了時間。
Format output is, YYYY-MM-DDTHH:MM:SS, unless changed through the SLURM_TIME_FORMAT environment variable.
SLURM_TIME_FORMAT環境変数を介して変更されない限り、フォーマット出力はYYYY-MM-DDTHH:MM:SSです。

ExitCode
The exit code returned by the job script or salloc, typically as set by the exit() function.
ジョブスクリプトまたはsallocによって返される終了コード。通常はexit()関数によって設定されます。
Following the colon is the signal that caused the process to terminate if it was terminated by a signal.
コロンの後には、シグナルによってプロセスが終了した場合にプロセスを終了させたシグナルが続きます。

GID
The group identifier of the user who ran the job.
ジョブを実行したユーザーのグループID。

Group
The group name of the user who ran the job.
ジョブを実行したユーザーのグループ名。

JobID
The identification number of the job or job step.
ジョブまたはジョブステップの識別番号。
Regular jobs are in the form:
通常の仕事は次の形式です。
JobID[.JobStep]
Array jobs are in the form:
配列ジョブの形式は次のとおりです。
ArrayJobID_ArrayTaskID
Heterogeneous jobs are in the form:
異種の仕事は次の形式です:
HetJobID+HetJobOffset.

JobIDRaw
The identification number of the job or job step.
ジョブまたはジョブステップの識別番号。
Prints the JobID in the form JobID[.JobStep] for regular, heterogeneous and array jobs..
通常の異種ジョブおよび配列ジョブの場合、JobIDをJobID [.JobStep]の形式で出力します。

JobName
The name of the job or job step.
ジョブまたはジョブステップの名前。
The slurm_accounting.log file is a space delimited file.
slurm_accounting.logファイルはスペースで区切られたファイルです。
Because of this if a space is used in the jobname an underscore is substituted for the space before the record is written to the accounting file.
このため、ジョブ名にスペースが使用されている場合、レコードがアカウンティングファイルに書き込まれる前に、スペースの代わりにアンダースコアが使用されます。
So when the jobname is displayed by sacct the jobname that had a space in it will now have an underscore in place of the space.
したがって、sacctによってジョブ名が表示されると、スペースが含まれていたジョブ名の代わりにアンダースコアが表示されるようになります。

Layout
What the layout of a step was when it was running.
ステップの実行時のレイアウトはどのようなものでしたか。
This can be used to give you an idea of which node ran which rank in your job.
これを使用して、ジョブでどのノードがどのランクで実行されたかを知ることができます。

MaxDiskRead
Maximum number of bytes read by all tasks in job.
ジョブ内のすべてのタスクによって読み取られる最大バイト数。

MaxDiskReadNode
The node on which the maxdiskread occurred.
maxdiskreadが発生したノード。

MaxDiskReadTask
The task ID where the maxdiskread occurred.
maxdiskreadが発生したタスクID。

MaxDiskWrite
Maximum number of bytes written by all tasks in job.
ジョブ内のすべてのタスクによって書き込まれる最大バイト数。

MaxDiskWriteNode
The node on which the maxdiskwrite occurred.
maxdiskwriteが発生したノード。

MaxDiskWriteTask
The task ID where the maxdiskwrite occurred.
maxdiskwriteが発生したタスクID。

MaxPages
Maximum number of page faults of all tasks in job.
ジョブ内のすべてのタスクのページフォールトの最大数。

MaxPagesNode
The node on which the maxpages occurred.
maxpagesが発生したノード。

MaxPagesTask
The task ID where the maxpages occurred.
maxpagesが発生したタスクID。

MaxRSS
Maximum resident set size of all tasks in job.
ジョブ内のすべてのタスクの最大常駐セットサイズ。

MaxRSSNode
The node on which the maxrss occurred.
maxrssが発生したノード。

MaxRSSTask
The task ID where the maxrss occurred.
maxrssが発生したタスクID。

MaxVMSize
Maximum Virtual Memory size of all tasks in job.
ジョブ内のすべてのタスクの最大仮想メモリサイズ。

MaxVMSizeNode
The node on which the maxvmsize occurred.
maxvmsizeが発生したノード。

MaxVMSizeTask
The task ID where the maxvmsize occurred.
maxvmsizeが発生したタスクID。

MinCPU
Minimum (system + user) CPU time of all tasks in job.
ジョブ内のすべてのタスクの最小(システム+ユーザー)CPU時間。

MinCPUNode
The node on which the mincpu occurred.
mincpuが発生したノード。

MinCPUTask
The task ID where the mincpu occurred.
mincpuが発生したタスクID。

NCPUS
Total number of CPUs allocated to the job.
ジョブに割り当てられたCPUの総数。
Equivalent to AllocCPUS.
AllocCPUSと同等です。

NodeList
List of nodes in job/step.
ジョブ/ステップ内のノードのリスト。

NNodes
Number of nodes in a job or step.
ジョブまたはステップ内のノードの数。
If the job is running, or ran, this count will be the number allocated, else the number will be the number requested.
ジョブが実行中または実行中の場合、このカウントは割り当てられた数になります。それ以外の場合、数は要求された数になります。

NTasks
Total number of tasks in a job or step.
ジョブまたはステップ内のタスクの総数。

Priority
Slurm priority.
Slurmの優先順位。

Partition
Identifies the partition on which the job ran.
ジョブが実行されたパーティションを識別します。

QOS
Name of Quality of Service.
サービス品質の名前。

QOSRAW
Numeric id of Quality of Service.
サービス品質の数値ID。

ReqCPUFreq
Requested CPU frequency for the step, in kHz.
ステップに要求されたCPU周波数(kHz)。
Note: This value applies only to a job step.
注:この値は、ジョブステップにのみ適用されます。
No value is reported for the job.
ジョブの値は報告されません。

ReqCPUFreqGov
Requested CPU frequency governor for the step, in kHz.
ステップの要求されたCPU周波数ガバナー(kHz)。
Note: This value applies only to a job step.
注:この値は、ジョブステップにのみ適用されます。
No value is reported for the job.
ジョブの値は報告されません。

ReqCPUFreqMax
Maximum requested CPU frequency for the step, in kHz.
ステップに要求される最大CPU周波数(kHz)。
Note: This value applies only to a job step.
注:この値は、ジョブステップにのみ適用されます。
No value is reported for the job.
ジョブの値は報告されません。

ReqCPUFreqMin
Minimum requested CPU frequency for the step, in kHz.
ステップに要求される最小CPU周波数(kHz)。
Note: This value applies only to a job step.
注:この値は、ジョブステップにのみ適用されます。
No value is reported for the job.
ジョブの値は報告されません。

ReqCPUS
Number of requested CPUs.
要求されたCPUの数。

ReqGRES
Names and counts of generic resources requested.
要求された汎用リソースの名前と数。

ReqMem
Minimum required memory for the job, in MB.
ジョブに必要な最小メモリ(MB単位)。
A 'c' at the end of number represents Memory Per CPU, a 'n' represents Memory Per Node.
番号の末尾の「c」はCPUあたりのメモリを表し、「n」はノードあたりのメモリを表します。
Note: This value is only from the job allocation, not the step.
注:この値は、ステップではなく、ジョブ割り当てからのみのものです。

ReqNodes
Requested minimum Node count for the job/step.
ジョブ/ステップに要求された最小ノード数。

ReqTres
Trackable resources.
追跡可能なリソース。
These are the minimum resource counts requested by the job/step at submission time.
これらは、送信時にジョブ/ステップによって要求された最小リソース数です。
For more details see AccountingStorageTRES in slurm.conf.
詳細については、slurm.confのAccountingStorageTRESを参照してください。

Reservation
Reservation Name.
予約名。

ReservationId
Reservation Id.
予約ID。

Reserved
How much wall clock time was used as reserved time for this job.
このジョブの予約時間として使用された実時間。
This is derived from how long a job was waiting from eligible time to when it actually started.
これは、ジョブが適格な時間から実際に開始されるまでの待機時間に由来します。
Format is the same as Elapsed.
フォーマットはElapsedと同じです。

ResvCPU
How many CPU seconds were used as reserved time for this job.
このジョブの予約時間として使用されたCPU秒数。
Format is the same as Elapsed.
フォーマットはElapsedと同じです。

ResvCPURAW
How many CPU seconds were used as reserved time for this job.
このジョブの予約時間として使用されたCPU秒数。
Format is in processor seconds.
フォーマットはプロセッサ秒単位です。

Start
Initiation time of the job in the same format as End.
Endと同じ形式のジョブの開始時間。

State
Displays the job status, or state.
ジョブのステータスまたは状態を表示します。
See the JOB STATE CODES section below for a list of possible states.
可能な状態のリストについては、以下の「ジョブ状態コード」セクションを参照してください。

If more information is available on the job state than will fit into the current field width (for example, the uid that CANCELLED a job) the state will be followed by a "+".
現在のフィールド幅に収まらないほど多くの情報がジョブの状態で利用できる場合(たとえば、ジョブをキャンセルしたuid)、状態の後に「+」が続きます。
You can increase the size of the displayed state using the "%NUMBER" format modifier described earlier.
前述の「%NUMBER」フォーマット修飾子を使用して、表示される状態のサイズを増やすことができます。

NOTE: The RUNNING state will return suspended jobs as well.
注:RUNNING状態は、中断されたジョブも返します。
In order to print suspended jobs you must request SUSPENDED at a different call from RUNNING.
中断されたジョブを印刷するには、RUNNINGとは別の呼び出しでSUSPENDEDを要求する必要があります。

NOTE: The RUNNING state will return any jobs completed (cancelled or otherwise) in the time period requested as the job was also RUNNING during that time.
注:RUNNING状態は、要求された期間に完了した(キャンセルされた、またはその他の)ジョブを返します。これは、その期間中にジョブもRUNNINGであったためです。
If you are only looking for jobs that finished, please choose the appropriate state(s) without the RUNNING state.
終了したジョブのみを探している場合は、RUNNING状態のない適切な状態を選択してください。

Submit
The time the job was submitted in the same format as End.
ジョブが終了と同じ形式で送信された時刻。

NOTE: If a job is requeued, the submit time is reset.
注:ジョブが再キューイングされると、送信時間はリセットされます。
To obtain the original submit time it is necessary to use the -D or --duplicate option to display all duplicate entries for a job.
元の送信時間を取得するには、-Dまたは--duplicateオプションを使用して、ジョブのすべての重複エントリを表示する必要があります。

Suspended
The amount of time a job or job step was suspended.
ジョブまたはジョブステップが中断された時間。
Format is the same as Elapsed.
フォーマットはElapsedと同じです。

SystemCPU
The amount of system CPU time used by the job or job step.
ジョブまたはジョブステップによって使用されるシステムCPU時間の量。
Format is the same as Elapsed.
フォーマットはElapsedと同じです。

NOTE: SystemCPU provides a measure of the task's parent process and does not include CPU time of child processes.
注:SystemCPUは、タスクの親プロセスの測定値を提供し、子プロセスのCPU時間を含みません。

Timelimit
What the timelimit was/is for the job.
仕事の期限は何でしたか。
Format is the same as Elapsed.
フォーマットはElapsedと同じです。

TimelimitRaw
What the timelimit was/is for the job.
仕事の期限は何でしたか。
Format is in number of minutes.
形式は分単位です。

TotalCPU
The sum of the SystemCPU and UserCPU time used by the job or job step.
ジョブまたはジョブステップで使用されるSystemCPU時間とUserCPU時間の合計。
The total CPU time of the job may exceed the job's elapsed time for jobs that include multiple job steps.
ジョブの合計CPU時間は、複数のジョブステップを含むジョブのジョブの経過時間を超える場合があります。
Format is the same as Elapsed.
フォーマットはElapsedと同じです。

NOTE: TotalCPU provides a measure of the task's parent process and does not include CPU time of child processes.
注:TotalCPUは、タスクの親プロセスの測定値を提供し、子プロセスのCPU時間を含みません。

TresUsageInAve
Tres average usage in by all tasks in job.
ジョブ内のすべてのタスクによる平均使用量を処理します。
NOTE: If corresponding TresUsageInMaxTask is -1 the metric is node centric instead of task.
注:対応するTresUsageInMaxTaskが-1の場合、メトリックはタスクではなくノード中心になります。

TresUsageInMax
Tres maximum usage in by all tasks in job.
ジョブ内のすべてのタスクによる最大使用量を処理します。
NOTE: If corresponding TresUsageInMaxTask is -1 the metric is node centric instead of task.
注:対応するTresUsageInMaxTaskが-1の場合、メトリックはタスクではなくノード中心になります。

TresUsageInMaxNode
Node for which each maximum TRES usage out occurred.
TRESの最大使用量が発生したノード。

TresUsageInMaxTask
Task for which each maximum TRES usage out occurred.
TRESの最大使用量が発生したタスク。

TresUsageInMin
Tres minimum usage in by all tasks in job.
ジョブ内のすべてのタスクによる最小使用量を処理します。
NOTE: If corresponding TresUsageInMinTask is -1 the metric is node centric instead of task.
注:対応するTresUsageInMinTaskが-1の場合、メトリックはタスクではなくノード中心になります。

TresUsageInMinNode
Node for which each minimum TRES usage out occurred.
各最小TRES使用量が発生したノード。

TresUsageInMinTask
Task for which each minimum TRES usage out occurred.
各最小TRES使用量が発生したタスク。

TresUsageInTot
Tres total usage in by all tasks in job.
ジョブ内のすべてのタスクによる合計使用量を処理します。

TresUsageOutAve
Tres average usage out by all tasks in job.
ジョブ内のすべてのタスクによる平均使用量を処理します。
NOTE: If corresponding TresUsageOutMaxTask is -1 the metric is node centric instead of task.
注:対応するTresUsageOutMaxTaskが-1の場合、メトリックはタスクではなくノード中心になります。

TresUsageOutMax
Tres maximum usage out by all tasks in job.
ジョブ内のすべてのタスクによる最大使用量を処理します。
NOTE: If corresponding TresUsageOutMaxTask is -1 the metric is node centric instead of task.
注:対応するTresUsageOutMaxTaskが-1の場合、メトリックはタスクではなくノード中心になります。

TresUsageOutMaxNode
Node for which each maximum TRES usage out occurred.
TRESの最大使用量が発生したノード。

TresUsageOutMaxTask
Task for which each maximum TRES usage out occurred.
TRESの最大使用量が発生したタスク。

TresUsageOutTot
Tres total usage out by all tasks in job.
ジョブ内のすべてのタスクによる合計使用量を処理します。

UID
The user identifier of the user who ran the job.
ジョブを実行したユーザーのユーザーID。

User
The user name of the user who ran the job.
ジョブを実行したユーザーのユーザー名。

UserCPU
The amount of user CPU time used by the job or job step.
ジョブまたはジョブステップによって使用されるユーザーCPU時間の量。
Format is the same as Elapsed.
フォーマットはElapsedと同じです。

NOTE: UserCPU provides a measure of the task's parent process and does not include CPU time of child processes.
注:UserCPUは、タスクの親プロセスの測定値を提供し、子プロセスのCPU時間を含みません。

WCKey
Workload Characterization Key.
ワークロード特性評価キー。
Arbitrary string for grouping orthogonal accounts together.
直交するアカウントをグループ化するための任意の文字列。

WCKeyID
Reference to the wckey.
wckeyへの参照。

 

JOB STATE CODES

BF BOOT_FAIL
Job terminated due to launch failure, typically due to a hardware failure (e.g. unable to boot the node or block and the job can not be requeued).
通常、ハードウェア障害(ノードまたはブロックを起動できず、ジョブを再キューイングできないなど)が原因で、起動の失敗が原因でジョブが終了しました。
CA CANCELLED
Job was explicitly cancelled by the user or system administrator. The job may or may not have been initiated.
ユーザーまたはシステム管理者によってジョブが明示的にキャンセルされました。ジョブは開始されている場合と開始されていない場合があります。
CD COMPLETED
Job has terminated all processes on all nodes with an exit code of zero.
ジョブは、終了コードがゼロのすべてのノードのすべてのプロセスを終了しました。
DL DEADLINE
Job terminated on deadline.
ジョブは期限に終了しました。
F FAILED
Job terminated with non-zero exit code or other failure condition.
ゼロ以外の終了コードまたはその他の障害状態でジョブが終了しました。
NF NODE_FAIL
Job terminated due to failure of one or more allocated nodes.
割り当てられた1つ以上のノードに障害が発生したため、ジョブが終了しました。
OOM OUT_OF_MEMORY
Job experienced out of memory error.
ジョブでメモリ不足エラーが発生しました。
PD PENDING
Job is awaiting resource allocation.
ジョブはリソース割り当てを待っています。
PR PREEMPTED
Job terminated due to preemption.
プリエンプションのためにジョブが終了しました。
R RUNNING
Job currently has an allocation.
現在、ジョブには割り当てがあります。
RQ REQUEUED
Job was requeued.
ジョブが再キューイングされました。
RS RESIZING
Job is about to change size.
ジョブのサイズが変更されようとしています。
RV REVOKED
Sibling was removed from cluster due to other cluster starting the job.
他のクラスターがジョブを開始したため、兄弟がクラスターから削除されました。
S SUSPENDED
Job has an allocation, but execution has been suspended and CPUs have been released for other jobs.
ジョブには割り当てがありますが、実行が一時停止され、他のジョブ用にCPUが解放されています。
TO TIMEOUT
Job terminated upon reaching its time limit.
制限時間に達したときにジョブが終了しました。

 

DEFAULT TIME WINDOW

The options --starttime and --endtime define the time window between which sacct is going to search.
オプション--starttimeおよび--endtimeは、sacctが検索する時間枠を定義します。
For historical and practical reasons their default values (i.e. the default time window) depends on other options: --jobs and --state.
歴史的および実際的な理由から、それらのデフォルト値(つまりデフォルトの時間枠)は他のオプション(--jobsおよび--state)に依存します。

Depending on if --jobs and/or --state are specified, the default values of --starttime and --endtime options are:
--jobsまたは--state、あるいはその両方が指定されているかどうかに応じて、-starttimeおよび--endtimeオプションのデフォルト値は次のとおりです。

WITHOUT EITHER --jobs NOR --state specified:
--jobs NOR --stateが指定されていない場合:
---starttime
Defaults to Midnight.
デフォルトは真夜中です。
---endtime
Defaults to Now.
デフォルトはNowです。

WITH --jobs AND WITHOUT --state specified:
WITH --jobs AND WITHOUT --state指定:
---starttime
Defaults to Epoch 0.
デフォルトはエポック0です。
---endtime
Defaults to Now.
デフォルトはNowです。

WITHOUT --jobs AND WITH --state specified:
WITHOUT--jobsおよびWITH--stateが指定されています:
---starttime
Defaults to Now.
デフォルトはNowです。
---endtime
Defaults to --starttime and to Now if --starttime is not specified.
デフォルトは--starttimeで、-starttimeが指定されていない場合はNowになります。

WITH BOTH --jobs AND --state specified:
---starttime
Defaults to Epoch 0.
デフォルトはエポック0です。
---endtime
Defaults to --starttime or to Now if --starttime is not specified.
デフォルトは--starttime、または--starttimeが指定されていない場合はNowです。

NOTE: With -v/--verbose a message about the actual time window in use is shown.
注:-v / -verboseを使用すると、実際に使用されている時間枠に関するメッセージが表示されます。

 

PERFORMANCE

Executing sacct sends a remote procedure call to slurmdbd.
sacctを実行すると、リモートプロシージャコールがslurmdbdに送信されます。
If enough calls from sacct or other Slurm client commands that send remote procedure calls to the slurmdbd daemon come in at once, it can result in a degradation of performance of the slurmdbd daemon, possibly resulting in a denial of service.
リモートプロシージャコールをslurmdbdデーモンに送信するsacctまたは他のSlurmクライアントコマンドからの十分な呼び出しが一度に着信すると、slurmdbdデーモンのパフォーマンスが低下し、サービス拒否が発生する可能性があります。

Do not run sacct or other Slurm client commands that send remote procedure calls to slurmdbd from loops in shell scripts or other programs.
シェルスクリプトまたは他のプログラムのループからslurmdbdにリモートプロシージャコールを送信するsacctまたは他のSlurmクライアントコマンドを実行しないでください。
Ensure that programs limit calls to sacct to the minimum necessary for the information you are trying to gather.
プログラムがsacctへの呼び出しを、収集しようとしている情報に必要な最小限に制限していることを確認してください。

 

ENVIRONMENT VARIABLES

Some sacct options may be set via environment variables.
一部のsacctオプションは、環境変数を介して設定できます。
These environment variables, along with their corresponding options, are listed below.
これらの環境変数とそれに対応するオプションを以下に示します。
(Note: Commandline options will always override these settings.)
(注:コマンドラインオプションは常にこれらの設定を上書きします。)

SACCT_FEDERATION
Same as --federation
SACCT_LOCAL
Same as --local
SLURM_CONF
The location of the Slurm configuration file.
Slurm構成ファイルの場所。
SLURM_TIME_FORMAT
Specify the format used to report time stamps.
タイムスタンプのレポートに使用する形式を指定します。
A value of standard, the default value, generates output in the form "year-month-dateThour:minute:second".
デフォルト値であるstandardの値は、「year-month-dateThour:minute:second」の形式で出力を生成します。
A value of relative returns only "hour:minute:second" if the current day.
相対値は、当日の場合は「時:分:秒」のみを返します。
For other dates in the current year it prints the "hour:minute" preceded by "Tomorr" (tomorrow), "Ystday" (yesterday), the name of the day for the coming week (e.g. "Mon", "Tue", etc.), otherwise the date (e.g. "25 Apr").
今年の他の日付については、「明日」(明日)、「昨日」(昨日)、次の週の日の名前(「月」、「火」など)が前に付いた「時:分」を出力します。など)、それ以外の場合は日付(例:「4月25日」)。
For other years it returns a date month and year without a time (e.g. "6 Jun 2012").
その他の年については、時刻のない日付の月と年を返します(例:「2012年6月6日」)。
All of the time stamps use a 24 hour format.
すべてのタイムスタンプは24時間形式を使用します。

A valid strftime() format can also be specified.
有効なstrftime()形式も指定できます。
For example, a value of "%a %T" will report the day of the week and a time stamp (e.g. "Mon 12:34:56").
たとえば、値が "%a%T"の場合、曜日とタイムスタンプが報告されます(例: "Mon 12:34:56")。

 

EXAMPLES

This example illustrates the default invocation of the sacct command:
この例は、sacctコマンドのデフォルトの呼び出しを示しています。

# sacct
Jobid      Jobname    Partition    Account AllocCPUS State     ExitCode
---------- ---------- ---------- ---------- ---------- ---------- --------
2          script01   srun       acct1               1 RUNNING           0
3          script02   srun       acct1               1 RUNNING           0
4          endscript  srun       acct1               1 RUNNING           0
4.0                   srun       acct1               1 COMPLETED         0

This example shows the same job accounting information with the brief option.
この例は、briefオプションを使用した同じジョブアカウンティング情報を示しています。

# sacct --brief
     Jobid     State  ExitCode
---------- ---------- --------
2          RUNNING           0
3          RUNNING           0
4          RUNNING           0
4.0        COMPLETED         0

# sacct --allocations
Jobid      Jobname    Partition Account    AllocCPUS  State     ExitCode
---------- ---------- ---------- ---------- ------- ---------- --------
3          sja_init   andy       acct1            1 COMPLETED         0
4          sjaload    andy       acct1            2 COMPLETED         0
5          sja_scr1   andy       acct1            1 COMPLETED         0
6          sja_scr2   andy       acct1           18 COMPLETED         2
7          sja_scr3   andy       acct1           18 COMPLETED         0
8          sja_scr5   andy       acct1            2 COMPLETED         0
9          sja_scr7   andy       acct1           90 COMPLETED         1
10         endscript  andy       acct1          186 COMPLETED         0

This example demonstrates the ability to customize the output of the sacct command.
この例は、sacctコマンドの出力をカスタマイズする機能を示しています。
The fields are displayed in the order designated on the command line.
フィールドは、コマンドラインで指定された順序で表示されます。

# sacct --format=jobid,elapsed,ncpus,ntasks,state
     Jobid    Elapsed      Ncpus   Ntasks     State
---------- ---------- ---------- -------- ----------
3            00:01:30          2        1 COMPLETED
3.0          00:01:30          2        1 COMPLETED
4            00:00:00          2        2 COMPLETED
4.0          00:00:01          2        2 COMPLETED
5            00:01:23          2        1 COMPLETED
5.0          00:01:31          2        1 COMPLETED

This example demonstrates the use of the -T (--truncate) option when used with -S (--starttime) and -E (--endtime).
この例は、-S(-starttime)および-E(-endtime)とともに使用する場合の-T(-truncate)オプションの使用法を示しています。
When the -T option is used, the start time of the job will be the specified -S value if the job was started before the specified time, otherwise the time will be the job's start time.
-Tオプションを使用すると、ジョブが指定された時間より前に開始された場合、ジョブの開始時間は指定された-S値になります。それ以外の場合、時間はジョブの開始時間になります。
The end time will be the specified -E option if the job ends after the specified time, otherwise it will be the jobs end time.
ジョブが指定された時間後に終了する場合、終了時間は指定された-Eオプションになります。それ以外の場合は、ジョブの終了時間になります。

NOTE: If no -s (--state) option is given sacct will display jobs that ran during the specified time, otherwise it returns jobs that were in the state requested during that period of time.
注:-s(-state)オプションが指定されていない場合、sacctは指定された時間内に実行されたジョブを表示します。それ以外の場合、sacctはその期間中に要求された状態にあったジョブを返します。

Without -T (normal operation) sacct output would be like this.
-T(通常の操作)がない場合、sacct出力は次のようになります。

# sacct -S2014-07-03-11:40 -E2014-07-03-12:00 -X -ojobid,start,end,state
    JobID                 Start                  End        State
--------- --------------------- -------------------- ------------
2         2014-07-03T11:33:16   2014-07-03T11:59:01   COMPLETED
3         2014-07-03T11:35:21   Unknown               RUNNING
4         2014-07-03T11:35:21   2014-07-03T11:45:21   COMPLETED
5         2014-07-03T11:41:01   Unknown               RUNNING

By adding the -T option the job's start and end times are truncated to reflect only the time requested.
-Tオプションを追加すると、ジョブの開始時間と終了時間が切り捨てられ、要求された時間のみが反映されます。
If a job started after the start time requested or finished before the end time requested those times are not altered.
要求された開始時刻の後にジョブが開始された場合、または要求された終了時刻の前に終了した場合、それらの時刻は変更されません。
The -T option is useful when determining exact run times during any given period.
-Tオプションは、特定の期間中の正確な実行時間を決定するときに役立ちます。

# sacct -T -S2014-07-03-11:40 -E2014-07-03-12:00 -X -ojobid,jobname,user,start,end,state
    JobID                 Start                  End        State
--------- --------------------- -------------------- ------------
2         2014-07-03T11:40:00   2014-07-03T11:59:01   COMPLETED
3         2014-07-03T11:40:00   2014-07-03T12:00:00   RUNNING
4         2014-07-03T11:40:00   2014-07-03T11:45:21   COMPLETED
5         2014-07-03T11:41:01   2014-07-03T12:00:00   RUNNING


 

COPYING

Copyright (C) 2005-2007 Copyright Hewlett-Packard Development Company L.P.
Copyright (C) 2008-2010 Lawrence Livermore National Security. Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
Copyright (C) 2010-2014 SchedMD LLC.

This file is part of Slurm, a resource management program. For details, see <https://slurm.schedmd.com/>.

Slurm is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Slurm is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.  

FILES

/etc/slurm.conf
Entries to this file enable job accounting and designate the job accounting log file that collects system job accounting.
/var/log/slurm_accounting.log
The default job accounting log file. By default, this file is set to read and write permission for root only.
 

SEE ALSO

sstat(1), ps (1), srun(1), squeue(1), getrusage (2), time (2)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
Job Accounting Fields
JOB STATE CODES
DEFAULT TIME WINDOW
PERFORMANCE
ENVIRONMENT VARIABLES
EXAMPLES
COPYING
FILES
SEE ALSO

This document was created by man2html using the manual pages.
Time: 20:44:46 GMT, May 21, 2020