Skip to content

Commit

Permalink
Added "State" output. Only displays if state is NOT "running" (stoppe…
Browse files Browse the repository at this point in the history
…d, terminated, pending, etc)
  • Loading branch information
epheph committed Nov 20, 2011
1 parent 0d9a95f commit 09a99fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fec2din
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ if ( $1 == "RESERVATION" ) {
if ( $1 == "INSTANCE" ) {
print ""
print "Instance: " $2
if ( $6 != "running" ) {
print "State: " $6
}
print "AMI: " $3
print "Type: " $10
print "Public IP: " $17 " (" $4 ")"
Expand Down

0 comments on commit 09a99fa

Please sign in to comment.