Control T for TENEX

This magic works via detection of a STATUS control character, Control-T, by the kernel tty driver, which then prints the load line via tty_info() on FreeBSD or ttyinfo_locked() on Mac OS X. It also sends a SIGINFO to the process, so it can run its own routine. See STATUS in the termios(4) man page.

~ Brendan Gregg from, «http://dtrace.org/blogs/brendan/2013/10/05/control-t-for-tenex/»

It is so freakin’ cool when I learn new Unix tricks. It’s like a maze of twisty passages, all alike; Except there’s… oh! A piece of candy! oh! A piece of candy! oh! A piece of candy.

ɕ

I write here most days — reflections, quotes, and working with the garage door up. This is one of more than 5,000 posts. Wander to another →

If you like the way I think, you might like what I’m reading. Every so often I send out 7 for Sunday — seven things I’ve savored, about five minutes, whenever they’re ready. No hooks, no nonsense. Read a recent issue →