refactored get_load_average

refactored get_load_average