On Thu, Jan 12, 2017 at 10:43:25AM -0800, Damian Johnson wrote: > > Does it use `ps -o etime`? If so it should work in the latest OpenBSD > > release. > > Yup, I use... > > ps -p <pid> -o etime > > Glad to hear it should now work on OpenBSD! To confirm would you mind > providing me the output of that command for some arbitrary process on > your OpenBSD system? I can add that to our unit tests just to be sure > things are happy.
Oops, no it won't work in the latest release, it should work in -current (since September) and in the next release (in March, I think). Sorry, I remembered the patch going in earlier than it did. It looks like this: $ ps -p 98179 -o etime ELAPSED 01:29:49 Or, if running for more than 24 hours: $ ps -p 16023 -o etime ELAPSED 6-17:41:19 changelog: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin/ps/print.c?f=h#rev1.69 -- Carlin _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays