Project

General

Profile

Actions

Feature #6416

closed

ptime -p could support multiple processes

Added by Robert Mustacchi over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
cmd - userland programs
Start date:
2015-10-30
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Currently ptime -p only supports one process. Furthermore, the implementation and documentation do not match its usage. Specifically the documentation implies that -m must come before -p. However, in reality this is not the case and many people might use ptime -p $$ -m. As a result, we can't quite mimic the other ptools exactly here; however, ptime itself already has an odd construction in that it tries to match time(1) more so. To handle this we instead just allow -p to optionally take a comma separated list of processes and report information about all of them.

Actions

Also available in: Atom PDF