« yo adrianne | Main | the problem with music »

verifying upgrades

Just a reminder to myself. After upgrading packages on linux boxen, to double check if you need to restart any programs, simply run:
sudo lsof +L1 | grep /lib/ | cut -c-10 | uniq

Update 2006-09-19: Turns out this has stopped working with recent versions of lsof. (bug #264985) So your best bet now is to use this command:
sudo lsof | grep '/lib/.*inode' | cut -c-10 | sort | uniq