Commit 7fe672fa authored by Alberto Miranda's avatar Alberto Miranda
Browse files

Add nornsctl_status function

The new nornctl_status function queries the urd daemon and returns
summarized stats about all iotasks currently in the system. More
specifically, the function returns a nornsctl_stat_t structure that
contains the following information:
    st_running_tasks: Number of tasks currently running
    st_pending_tasks: Number of tasks currently pending
    st_eta: Estimated Time of Arrival of the currently running tasks
            (in seconds). Note that, internally, the daemon estimates
            how long a task will take by keeping track of the average
            namespace-to-namespace bandwidth from previous requests.
            This means that this field may contain NaN if no tasks
            have yet completed, since the daemon will not be able to
            estimate the E.T.A.
parent 71760550
Pipeline #22 failed with stage
in 3 minutes and 59 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment