Prints the current status to the system output.
324737
private void printStatus() {
		System.out.println("*** Found " + genderItemCount
				+ " items with gender within " + itemCount + " items.");

		System.out
				.println("*** Showing top ten sites with most items with gender data: ");
		int siteCount = 0;
		List<SiteRecord> siteRecords = new ArrayList<>(
				this.siteRecords.values());
		Collections.sort(siteRecords, new SiteRecordComparator());
		for (SiteRecord siteRecord : siteRecords) {
			if (siteCount >= 10) {
				break;
			}
			siteCount++;

			System.out.print(String.format("%1$8s", siteRecord.siteKey) + ": ");

			int genderCount = 0;
			for (EntityIdValue gender : this.genderNamesList) {
				System.out.print(this.genderNames.get(gender) + " ");

				int count;
				float ratio;
				if (siteRecord.genderCounts.containsKey(gender)) {
					count = siteRecord.genderCounts.get(gender);
					ratio = (float) count / siteRecord.humanGenderPageCount
							* 100;
				} else {
					count = 0;
					ratio = 0;
				}

				if (genderCount < 2) {
					System.out.printf("%7d (%5.3f%%) ", count, ratio);
				} else {
					System.out.printf("%3d (%5.4f%%) ", count, ratio);
				}

				genderCount++;
			}

			System.out
					.println(" -- gender pages: "
							+ siteRecord.humanGenderPageCount
							+ ", human pages: "
							+ siteRecord.humanPageCount
							+ ", total pages: "
							+ siteRecord.pageCount
							+ ", ghp/hp: "
							+ ((float) siteRecord.humanGenderPageCount
									/ siteRecord.humanPageCount * 100)
							+ "%, hp/p: "
							+ ((float) siteRecord.humanPageCount
									/ siteRecord.pageCount * 100) + "%");
		}
	}
689349
def status(self):
        
        status = _HTTP_STATUS_LINES.get(self._status_code)
        return str(status or ('{} Unknown'.format(self._status_code)))
174171
def show_progress(self):
        """'"""
        if self.in_progress_hanging:
            sys.stdout.write('.')
            sys.stdout.flush()
63307
def do_status(self, arg):
        '''  '''
        info = self.arm.get_info()
        max_len = len(max(info.keys(), key=len))

        print(self.style.theme('\nArm Status'))
        for key, value in info.items():
            print(self.style.help(key.ljust(max_len + 2), str(value)))
        print()
843236
def idle_print_status(self):
        ''''''
        now = time.time()
        if (now - self.last_idle_status_printed_time) >= 10:
            print (self.status())
            self.last_idle_status_printed_time = now
            self.prev_download = self.download
1155591
def output_callback(self, out, process_status):
        
        self.final_status.append(process_status)
        self.final_output.append(out)
1163420
public function getStatus($raw_output = true)
    {
        if ($raw_output) {
            return $this->_status;
        }
        return self::$_statusToString[$this->_status];
    }
1372798
public void notifyStatusChanged(String status) {

    /* If the new status message is shorter than the previous one, then
     * first change the status message all spaces to clear out the previous
     * message.
     */
    if (status.length() < this.status.length()) {
      this.status = this.status.replaceAll(".", " ");
      this.printProgressBar();
    }

    this.status = status;
    this.printProgressBar();

  }
547096
def status(queue, munin, munin_config):
    """"""
    if munin_config:
        return status_print_config(queue)
    queues = get_queues(queue)
    for queue in queues:
        status_print_queue(queue, munin=munin)
    if not munin:
        print('-' * 40)
273906
def status_bar(self):
        
        print("")
        self.msg.template(78)
        print("| Repository         Status")
        self.msg.template(78)
1113644
def do_status(self, _):
        '''  '''
        server_status = self.server.is_server_running()
        if server_status == 'yes':
            print 'Server: ' + colorize('currently online', 'green')
        elif server_status == 'no':
            print 'Server: ' + colorize('currently offline', 'red')
        elif server_status == 'maybe':
            print 'Server: ' + colorize('status unknown', 'yellow')
        elif server_status == 'blocked':
            print 'Server: ' + colorize('blocked', 'red')
17916
def _PrintAnalysisStatusUpdateLinear(self, processing_status):
    
    for worker_status in processing_status.workers_status:
      status_line = (
          '{0:s} (PID: {1:d}) - events consumed: {2:d} - running: '
          '{3!s}\n').format(
              worker_status.identifier, worker_status.pid,
              worker_status.number_of_consumed_events,
              worker_status.status not in definitions.ERROR_STATUS_INDICATORS)
      self._output_writer.Write(status_line)
810837
def idle_print_status(self):
        ''''''
        now = time.time()
        if (now - self.last_idle_status_printed_time) >= 10:
            print(self.status())
            self.last_idle_status_printed_time = now
385349
def handleStatus(self, version, status, message):
        """"""

        self.status = status
        self.message = message
976828
def status(self):
        """"""
        my_name = os.path.basename(sys.argv[0])
        if self._already_running():
            message = "{0} (pid  {1}) is running...\n".format(my_name, self.pid)
            sys.stdout.write(message)
            return 0
        sys.stdout.write("{0} is stopped\n".format(my_name))
        return 3
770914
def display_start(self):
        """"""

        if self.opt['Verbose'] and self.opt['StatusHeader']:
            print(self.hdrstr)
            print("-" * self.nsep)
113396
def _PrintTasksStatus(self, processing_status):
    
    if processing_status and processing_status.tasks_status:
      tasks_status = processing_status.tasks_status

      table_view = views.CLITabularTableView(
          column_names=['Tasks:', 'Queued', 'Processing', 'Merging',
                        'Abandoned', 'Total'],
          column_sizes=[15, 7, 15, 15, 15, 0])

      table_view.AddRow([
          '', tasks_status.number_of_queued_tasks,
          tasks_status.number_of_tasks_processing,
          tasks_status.number_of_tasks_pending_merge,
          tasks_status.number_of_abandoned_tasks,
          tasks_status.total_number_of_tasks])

      self._output_writer.Write('\n')
      table_view.Write(self._output_writer)