View Source Runlet.Ctrl.Flow (runlet v1.2.5)
dynamically change flow control for a running event stream
Summary
Functions
Alters the flow control for a running process to 1/minute.
Alters the flow control for a running process or processes to count events in minutes
Alters the flow control for several processes running as a different user to count events in minutes.
Functions
@spec exec(Runlet.t(), Runlet.PID.t()) :: Enumerable.t()
Alters the flow control for a running process to 1/minute.
@spec exec(Runlet.t(), Runlet.PID.t() | String.t(), pos_integer(), pos_integer()) :: Enumerable.t()
Alters the flow control for a running process or processes to count events in minutes:
# pid 1234: 10 events/2 minutes
flow 1234 10 2
# pids 1234, 2345, 123456
flow "1234 2345 12346" 10 2
@spec exec( Runlet.t(), Runlet.PID.t() | String.t(), pos_integer(), pos_integer(), String.t() ) :: Enumerable.t()
Alters the flow control for several processes running as a different user to count events in minutes.
flow 1234 10 2 "nobody"
flow "1234 2345 12346" 10 2 "nobody"