code: private void listJobs() throws IOException {
      JobStatus[] jobs = jobsToComplete();
      if (jobs == null)
        jobs = new JobStatus[0];
  
      System.out.printf("%d jobs currently running\n", jobs.length);
      displayJobList(jobs);
    }
docs: Dump a list of currently running jobs
  @throws IOException