Added patterns for ps command