work list
receptorctl work list
displays known units of work
Command syntax: receptorctl --socket=<socket_path> work list
socket_path
is the control socket address for the Receptor connection.The default is
unix:
for a Unix socket. Usetcp://
for a TCP socket. The corresponding environment variable isRECEPTORCTL_SOCKET
.
ss --listening --processes --unix 'src = unix:<socket_path>'
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
u_str LISTEN 0 4096 /tmp/local.sock 38130170 * 0 users:(("receptor",pid=3226769,fd=7))
ps -fp $(pidof receptor)
lsof -p <<pid>
The output is divided into work unit sections listed below. Field values might be listed separately. Columns are the actual JSON node values.
Work unit section
Column |
Description |
---|---|
|
Random eight character work unit (job) string. |
|
Work unit output. |
|
Additional information added for specific worktypes. |
|
Current state for the work unit (int). |
|
Human-readable current state for the work unit. |
|
Size of the work unit output (bytes). |
|
Execution request type for the work unit. |
Work unit states
State |
StateName |
Description |
---|---|---|
|
|
Work unit has not started. |
|
|
Work unit is currently executing. |
|
|
Work unit completed without error. |
|
|
Work unit encountered an error or unexpected condition and did not complete. |
|
|
Work unit was terminated externally. |