serialize.txt (1848B)
1 FISS STATUS 2 =========== 3 4 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 5 RUNIT: | STS | STN | PID |PS|WU|TR|SR| 6 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 8 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 9 FISS: | STS |ST|RC|DC| | PID |PS|WU|TR|SR| 10 +--+--+--+--+--+--+--+--+--+--+--+||+--+--+--+--+--+--+--+--+ 11 vv 12 +--+--+--+--+--+--+--+--+ 13 | |DP|AC|TR|OC|RS| LEX | 14 +--+--+--+--+--+--+--+--+ 15 16 STS = status-change unix seconds + 4611686018427387914ULL (tai, lower endian) 17 STN = status-change unix nanoseconds (written, never read) 18 ST = state (see below) 19 RC = last return code (0 if not exited yet) 20 DC = death count 21 DP = is dependency of a service 22 AC = is active 23 TR = is terminating 24 OC = started once 25 RS = should restart 26 LEX = last exit (0 = never exitted, 1 = normally, 2 = signaled) 27 PID = current pid (big endian) 28 PS = is paused (int boolean) 29 WU = wants up ('u' if want up, 'd' if want down) 30 TR = was terminated (int boolean) 31 SR = state runit (0 = down, 1 = running, 2 = finishing; not available in daemontools, not read by fiss) 32 33 STATE 34 ----- 35 36 inactive 37 dependency 38 setup 39 starting 40 active_foreground 41 active_background 42 active_dummy 43 stopping 44 finishing 45 46 0 = inactive - is not enabled and does nothing 47 1 = setup - ./setup is running 48 2 = starting - ./start is running 49 3 = active_foreground - ./run is running 50 4 = active_background - ./start is done and ./stop is not called yet 51 5 = active_dummy - service is considered as started but does nothing 52 6 = stopping - ./stop is running 53 7 = finishing - ./finish is running 54 8 = dead - was enabled but failed too much or another error