Getting OSX hardware data through command line