ptime -p could support multiple processes
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.
Updated by Electric Monk over 5 years ago
- Status changed from New to Closed
commit 8551f527eff6d736e8191795ffafe40abbdb71e6 Author: Robert Mustacchi <firstname.lastname@example.org> Date: 2016-02-25T15:11:55.000Z 6416 ptime -p could support multiple processes Reviewed by: Bryan Cantrill <email@example.com> Reviewed by: Ryan Zezeski <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>