[Swift-devel] runtime console stats

Ben Clifford benc at hawaga.org.uk
Thu Feb 28 16:22:34 CST 2008


In the style of the RFT client, I implemented a runtime progress ticker 
that every few seconds outputs a line of how many jobs are in each 
internal state. See below for an example output.

I think exposing the various internal states on the console is a useful 
thing to do.

The states in the below example are a bit lame - should probably have 
something like: Waiting for a site to be allocated; staging in; submitted 
for execution; staging out; all finished..


$ swift 130-fmri.swift 
Swift v0.3-dev r1689 (modified locally)

RunID: 20080228-1619-xkb5elaf
Progress: 
touch started
touch started
touch started
touch started
Progress:  EXECUTE:3 STAGEOUT:1 START:4
touch completed
touch completed
touch completed
touch completed
touch started
Progress:  EXECUTE2DONE:1 END:4 START:3
touch completed
touch started
touch started
touch started
touch completed
touch completed
touch started
touch started
touch completed
touch started
Progress:  EXECUTE:2 EXECUTE2:1 END:8
touch completed
touch completed
touch completed
Final status:  END:11



More information about the Swift-devel mailing list