ps List, Query, Manipulate System Processes ps implements an API to query and manipulate system processes. Most of its code is based on the psutil Python package.