def get_status
      r = {}
      if have_lock?
        @stat_handle.rewind
        r[:message] = (@stat_handle.eof? ? 'The current process is busy.' : @stat_handle.readline.strip)
        r[:percent] = (@stat_handle.eof? ? '' : @stat_handle.readline.strip)
        r[:locked] = true
      elsif is_locked?
        if File.exist?(status_file_path)
          begin
            File.open(status_file_path, 'r') do |f|
              r[:message] = (f.eof? ? 'The system is busy.' : f.readline.strip)
              r[:percent] = (f.eof? ? '' : f.readline.strip)
            end
          rescue
            r[:message] = 'The system appears busy.'
            r[:percent] = ''
          end
        else
          r[:message] = 'No status file.'
          r[:percent] = ''
        end
        r[:locked] = true
      else
        r[:message] = 'The system is no longer busy.'
        r[:percent] = '-'
        r[:locked] = false
      end
      r
    end
def get_status
      r = {}
      if have_lock?
        @stat_handle.rewind
        r[:message] = (@stat_handle.eof? ? 'The current process is busy.' : @stat_handle.readline.strip)
        r[:percent] = (@stat_handle.eof? ? '' : @stat_handle.readline.strip)
        r[:locked] = true
      elsif is_locked?
        if File.exist?(status_file_path)
          begin
            File.open(status_file_path, 'r') do |f|
              r[:message] = (f.eof? ? 'The system is busy.' : f.readline.strip)
              r[:percent] = (f.eof? ? '' : f.readline.strip)
            end
          rescue
            r[:message] = 'The system appears busy.'
            r[:percent] = ''
          end
        else
          r[:message] = 'No status file.'
          r[:percent] = ''
        end
        r[:locked] = true
      else
        r[:message] = 'The system is no longer busy.'
        r[:percent] = '-'
        r[:locked] = false
      end
      r
    end
Gets the current status from the status/lock file.

 Returns a hash with three elements:

 message::
   The current status message.

 percent::
   The current status progress.

 locked::
   The current lock state of the status/lock file. (true for locked, false for unlocked)