Hey there! JamES is using Stickr.

Stickr is a free service that helps you comment and share anything on the Web, follow others comments and leave notes for yourself and your friends - on any website you want!
Join Stickr today to start following JamES's stickers and comment websites on your own.

Get started

Mass Killing of mysql processes

JamES

12 years ago

select replace(group_concat('KILL ',id,';'), ',', ' ') from information_schema.processlist;

ktotutus

12 years ago

Запишу в шпорглалку рядом с

kill -9 `ps ax | grep MYSCRIPTNAME | grep -v grep | awk '{print $1}'`

а то бывает расплодится какая-нибудь тварь

JamES

12 years ago

Какая-нибудь тварь - из строки MYSCRIPTNAME )))

Add comments

Ctrl + Enter

Recommendations

Sticker Actions

  • left comment to sticker 08th Jan
  • reacted like 08th Jan
  • left comment to sticker 07th Jan
Загрузка...