Pat Gunn (dachte) wrote,
Pat Gunn

Global Defense

Here's a fun(?) little systems puzzle for unix geeks:

Let's say you're a regional sysadmin at a midsized company, you have an assistant junior sysadmin, and there's a clued CTO who comes to both of you with a proposal: 「I'd like you to create a facility that uses syslog to log every time a new process is fork-exec'd, recording the pid, the program launched, and its arguments」. You decide this is reasonable given the needs for the systems involved, and your assistant suggests modifying the system shells to keep track of when they're used to expand globs and launch programs.


  • What fundamental misconception(s), if any, your assistant's solution has
  • How you would solve the problem on arbitrary unices
  • Limits to your solution
  • What other things would be reasonable to log
  • Any way to convince existing Unix distributions to do this without anything intrusive
  • On a reasonably busy server that does some particular task, how big the logs would be after a week

FWIW: I've never been asked anything like this (the idea came to me in the shower this morning), but I think it'd be a fun thing to ask a systems person in an interview.


  • Still alive

    Been feeling a bit nostalgic. Not about to return to LiveJournal - their new ownership is unfortunate, but I wanted to briefly note what's been up…

  • Unplugging LJ

    It's about time I pulled the plug on the LJ version of my blog: 1) I'm much more active on G+ than I am with general blogging. I post many times a…

  • Mutual Trust

    I don't know which should be considered more remarkable: That a cat should trust a member of a far larger and stronger species that it can't…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded