Performs the status command. Returns an array with status data
@return array
553357
public function status() {
		$request = new CPS_StatusRequest();
		$this->_lastResponse = $this->_connection->sendRequest($request);
		return $this->_lastResponse->getStatus();
	}
542018
public static function getStatusList()
    {
        // @todo: check for a complete list of available CloudFront statuses
        return [
            self::STATUS_OK => 'Completed',
            self::STATUS_TO_SEND => 'STATUS_TO_SEND',
            self::STATUS_TO_FLUSH => 'STATUS_TO_FLUSH',
            self::STATUS_ERROR => 'STATUS_ERROR',
            self::STATUS_WAITING => 'InProgress',
        ];
    }
81343
protected function getStatusData() : array
    {
        $statusData = [
            'version' => self::VERSION,
            'starttime' => '',
            'uptime' => '',
            'active_worker' => [],
            'job_info' => [],
        ];

        $starttime = date('Y-m-d H:i:s', $this->startTime);
        $start = new \DateTime($starttime);
        $now = new \DateTime('now');
        $uptime = $start->diff($now)->format('%ad %Hh %Im %Ss');
        $statusData['starttime'] = $starttime;
        $statusData['uptime'] = $uptime;

        foreach (array_keys($this->processes) as $poolName) {
            if (!isset($statusData['active_worker'][$poolName])) {
                $statusData['active_worker'][$poolName] = 0;
            }
            /** @var Process $process */
            foreach ($this->processes[$poolName] as $process) {
                $processIsRunning = $process->isRunning();
                if ($processIsRunning === true) {
                    $statusData['active_worker'][$poolName]++;
                }
            }
        }
        $statusData['job_info']['job_requests_total'] = $this->totalJobRequests;
        $statusData['job_info']['queue_length'] = $this->jobsInQueue;
        $statusData['job_info']['worker_stats'] = $this->workerStats;
        return $statusData;
    }
313997
public static function getStatusesArray(): array
    {
        return [
            self::STATUS_BLOCKED => \Yii::t('app', 'Заблокирован'),
            self::STATUS_ACTIVE => \Yii::t('app', 'Активен'),
            self::STATUS_WAIT_EMAIL => \Yii::t('app', 'Ожидает подтверждения e-mail'),
        ];
    }
476735
public static function getStatusList()
    {
        return [
            self::STATUS_OPEN => 'status_open',
            self::STATUS_PENDING => 'status_pending',
            self::STATUS_VALIDATED => 'status_validated',
            self::STATUS_CANCELLED => 'status_cancelled',
            self::STATUS_ERROR => 'status_error',
            self::STATUS_STOPPED => 'status_stopped',
        ];
    }
992079
public function getStatus()
    {
        try {
            $this->returnSuccess((string) $this->getTaskEntity()->getStatus());
        } catch (\Exception $e) {
            $this->returnFailure($e);
        }
    }
677602
public function status()
    {
        if (is_null($this->status)) {
            $this->status = app(Status::class);
        }

        return $this->status;
    }
968964
final function statusT() {return ($k = $this->k_statusT()) ? $this->r($k) : dftr(
		$this->status(), df_module_json($this, 'statuses', false)
	);}
198411
public function getStatusesHuman()
    {
        return [
            self::STATUS_PENDING          => 'Pending',
            self::STATUS_PROCESSING       => 'Processing',
            self::STATUS_COMPLETE         => 'Complete',
            self::STATUS_FAILED           => 'Failed',
            self::STATUS_REFUNDED         => 'Refunded',
            self::STATUS_REFUNDED_PARTIAL => 'Partially Refunded',
        ];
    }
22591
public function actionStatus()
    {
        if ($this->_getPid()) {
            echo 'Yii 2 Daemon ' . $this->version . ' status: running.' . PHP_EOL;
            return static::EXIT_CODE_NORMAL;
        }
        echo 'Yii 2 Daemon ' . $this->version . ' status: not running!' . PHP_EOL;
        return static::EXIT_CODE_ERROR;
    }
328552
public function getStatusInfo()
    {
        $int = $this->variant->statusInfo();

        $possible = [
            1 => 'Other',
            2 => 'Unknown',
            3 => 'Enabled',
            4 => 'Disabled',
            5 => 'Not Applicable',
        ];

        return $this->getFromPossibleValues($int, $possible);
    }
1078036
public static function getStatusList()
    {
        return [
            self::STATUS_OK => 'ok',
            self::STATUS_SENDING => 'sending',
            self::STATUS_PENDING => 'pending',
            self::STATUS_ERROR => 'error',
            self::STATUS_ENCODING => 'encoding',
        ];
    }
81677
public function getStatus()
    {
        if ($this->config->has('fake_status')) {
            return new Status($this, $this->config->get('fake_status'));
        }

        try {
            $conn = $this->getFreshConnection();
            $conn->reconnect();
            $info = $conn->getServerProperties();
            return Status::working($this, [
                'message' => 'Could reconnect to rabbitmq server.',
                'server_properties' => $info
            ]);
        } catch (Exception $e) {
            error_log(
                '[' . static::CLASS . '] Error on status check: ' . $e->getMessage() . "\n" . $e->getTraceAsString()
            );
            return Status::failing($this, [ 'error' => $e->getMessage() ]);
        }
    }
419023
public static function get_status_list() {

        static $list = null;

        if ($list === null) {
            $list = array(
                self::STATUS_IDLE => self::get_status_name(self::STATUS_IDLE),
                self::STATUS_WAITING_FOR_REVIEW => self::get_status_name(self::STATUS_WAITING_FOR_REVIEW),
                self::STATUS_IN_REVIEW => self::get_status_name(self::STATUS_IN_REVIEW));
        }

        return $list;
    }
1229491
public function doneAnything()
    {
        $output = false;
        foreach( $this->status as $transaction => $transactionStatus ) {
            foreach( $transactionStatus as $status ) {
                $output = ( $output || $status === self::SUCCESS );
            }
        }
        return $output;
    }
51064
public function getStatus()
    {
        /** @var $result CallResult */
        $result = $this->getGit()->{'status'}($this->getRepositoryPath(), array(
            '--short'
        ));
        $result->assertSuccess(
            sprintf('Cannot retrieve status from "%s"', $this->getRepositoryPath())
        );

        $output = rtrim($result->getStdOut());
        if (empty($output)) {
            return array();
        }

        $status = array_map(function($f) {
            $line   = rtrim($f);
            $parts  = array();
            preg_match('/^(?<x>.)(?<y>.)\s(?<f>.+?)(?:\s->\s(?<f2>.+))?$/', $line, $parts);

            $status = array(
                'file'      => $parts['f'],
                'x'         => trim($parts['x']),
                'y'         => trim($parts['y']),
                'renamed'   => (array_key_exists('f2', $parts)) ? $parts['f2'] : null
            );
            return $status;
        }, explode("\n", $output));
        return $status;
    }
534418
protected function getStatus()
    {
        if ($this->detail instanceof \Throwable) {
            $this->status = $this->createStatusFromException();
        }

        return $this->status;
    }