Improvements to jps commands