def select_jobs(attribs: [])
      connect do |cid|
        attribs = PBS::Torque::Attropl.from_list(attribs.map(&:to_h))
        batch_status = Torque.pbs_selstat cid, attribs, nil
        batch_status.to_h.tap { Torque.pbs_statfree batch_status }
      end
    end
def select_jobs(attribs: [])
      connect do |cid|
        attribs = PBS::Torque::Attropl.from_list(attribs.map(&:to_h))
        batch_status = Torque.pbs_selstat cid, attribs, nil
        batch_status.to_h.tap { Torque.pbs_statfree batch_status }
      end
    end
Get a list of hashes of the selected jobs on the batch server
 @example Status info for jobs owned by Bob
   my_conn.select_jobs(attribs: [{name: "User_List", value: "bob", op: :eq}])
   #=>
   #{
   #  "10219837.oak-batch.osc.edu" => {
   #    :Job_Owner => "bob@oakley02.osc.edu",
   #    :Job_Name => "CFD_Solver",
   #    ...
   #  },
   #  "10219839.oak-batch.osc.edu" => {
   #    :Job_Owner => "bob@oakley02.osc.edu",
   #    :Job_Name => "CFD_Solver2",
   #    ...
   #  },
   #  ...
   #}
 @param attribs [Array<#to_h>] list of hashes describing attributes to
   select on
 @return [Hash] hash of details of selected jobs