I've attached the patch I'm using to make my initctl display output (list) more human readable..
I don't have m4-fu, so I wasn't sure how to change the build properly.. it
needs "-lproc" and "-I/usr/include/proc"
I decided to just show days in floating point, since that seems about as
much precision as folks typically need here and it's easy to read.
The output looks like this:
root@w5:~/src2/upstart-0.6.5/util# initctl status mysql
start/running 5.13d 10652 mysql
root@w5:~/src2/upstart-0.6.5/util# initctl restart willow-smtpd
start/running 0.00d 14700 willow-smtpd
root@w5:~/src2/upstart-0.6.5/util# initctl list
start/running 44.14d 634 rsyslog
start/running 44.14d 675 tty4
start/running 44.14d 308 udev
start/running 44.14d 304 upstart-udev-bridge
stop/waiting mountall-net
stop/waiting rc
Enjoy.
upstart-0.6.5-listoutput.patch
Description: Binary data
-- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
