Live from Tokyo: Tech BlogNotes of a Software Developer in Tokyo, Japan who still has a soft spot for C#, Java and PythonVIM again- February 4, 2006 I have written several times about using VIM in English on a Japanese OS so I would just like to publish my _vimrc file: lang mes en set langmenu=en set iminsert=0 set imsearch=0 set helplang=en This should ensure that all language and editor settings default to english....http://www.stuartwoodward.com/tech/archives/000430.html Cron jobs out of control- February 3, 2006 These commands were a lifesaver to kill over nearly 200 cron jobs that were had got stuck. ps -e -o ppid,pid,args awk '$1144$ print $2' xargs killIn the above example, the cron process was PID 144 so this killed all the jobs that were spawned by it. The next step was to implement a lock mechanism to prevent a new job from starting if the last one hadn't completed. Many thanks to WL!...http://www.stuartwoodward.com/tech/archives/000429.html |