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 ) ; }
Dump a list of currently running jobs