Search Results

Search: Posts Made By: chandro
11,601
Posted By chandro
thanks to all. Last edit..... ...
thanks to all.



Last edit..... Reason: Use code tags, please...

sorry, im going to do it
11,601
Posted By chandro
with my command i get this: toot@server [~]#...
with my command i get this:

toot@server [~]# ps -ef|grep -v grep |grep mysql| awk '{print $2}'
16942
30862
toot@server [~]#

with your solution works smoothly...

i run that script on...
11,601
Posted By chandro
im using linux centos 5.5 for PS can use ...
im using linux centos 5.5

for PS can use
ps -ef|grep -v grep |grep mysql| awk '{print $2}' but give me 2 process.. the mysq1d and mysql

yes i know is bad to kill a process of a DB while...
11,601
Posted By chandro
kill process from a file or directly with top
i have edited a script to kill an exact mysql process is causing the high load on the server, my problem is, kill dont kill it!

script:

#!/bin/sh
top -n 1 -u mysql | grep mysqld | awk '{print...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 10:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy