2009/11/3 Chris Stankevitz <cstankev...@toyon.com>: > Dan Nelson wrote: >> >> Junior Hacker Project: add an instantaneous-CPU value (calculated by >> subtracting successive ki_runtime values) to the list of things top >> calculates and toggle it and weighted-CPU when pressing C. The toggling >> code is already there; it just toggles between two different weighted-cpu >> values at the moment. >> > > Makes sense, thank you. If I want to hack a port program, I go to the > "work" directory, edit the source, and rebuild. How do I hack a non-port > program like top? > > Chris
Look in the Makefile for /usr/src/usr.bin/top, and you'll see the source is in /usr/src/contrib/top Hack away! Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in a mailing list? _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"