3 ms·
Here is how you can handle with it without rebooting the whole server: for s in $(lsof | grep libc | awk '{print $1}' | sort | uniq); do if [[ -f "/etc/init.d/
by awkgeek 12y ago
Here is how you can handle with it without rebooting the whole server:
for s in $(lsof | grep libc | awk '{print $1}' | sort | uniq); do if [[ -f "/etc/init.d/$s" && "$(ps aufx | grep -v grep | grep $s)" ]]; then echo $s; service $s restart; fi; done
From: http://blog.wallarm.com/post/109402223343/ghost-a-brief-recap-of-what-you-need-to-know http://blog.wallarm.com/post/109402223343/ghost-a-brief-reca...