HADOOP-9379. capture the ulimit info after printing the log to the console. Contributed by Arpit Gupta.