]> granicus.if.org Git - psmisc/commit
pstree: Add color by age
authorCraig Small <csmall@dropbear.xyz>
Wed, 23 Oct 2019 10:34:51 +0000 (21:34 +1100)
committerCraig Small <csmall@dropbear.xyz>
Wed, 23 Oct 2019 10:34:51 +0000 (21:34 +1100)
commitef030d8395b7b6764f47ba08722256f984f0a02a
tree20f9dac857b34ee631b43d902ba753bef0764ca2
parent2e8be8aafd9085547ddb1efd1031e18b2e97b2a2
pstree: Add color by age

New -C and --color option sets the process color depending on its age.
Possibly one day a user could set the colors and ages but for now its
hard-coded.

References
  psmisc/psmisc#21
ChangeLog
doc/pstree.1
src/pstree.c