jackal

Well-Known Member
PartnerNOC
Feb 23, 2002
707
0
316
Top Process %CPU 61.6 vim theme.php
Top Process %CPU 61.4 vim theme.php
Top Process %CPU 61.1 vim theme.php
User has not exited out properly How do I turn this off//



cPanel.net Support Ticket Number:
 
Last edited:

casey

Well-Known Member
Jan 17, 2003
2,288
0
191
I believe you can cancel that process from WHM.
Under System Health:
Show Current CPU Usage
Then click on the PID and then click on "Kill Process"

cPanel.net Support Ticket Number:
 

jackal

Well-Known Member
PartnerNOC
Feb 23, 2002
707
0
316
It does not show vim running there are the user

cPanel.net Support Ticket Number:
 

rbmatt

Well-Known Member
Oct 21, 2002
211
0
166
In ssh you can:
killall -9 theme.php

Or- if you can figure out the pids (buy ps or top)
kill -9 pid number

cPanel.net Support Ticket Number:
 

jackal

Well-Known Member
PartnerNOC
Feb 23, 2002
707
0
316
I ran killall -9 theme.php it came back

theme.php: no process killed
but yet in whm under Server Status-CPU/Memory/MySQL Usage
it shows this still

Top Process %CPU 61.6 vim theme.php
Top Process %CPU 61.4 vim theme.php
Top Process %CPU 61.1 vim theme.php

cPanel.net Support Ticket Number:
 

rpmws

Well-Known Member
Aug 14, 2001
1,787
9
318
back woods of NC, USA
Originally posted by jackal
I ran killall -9 theme.php it came back

theme.php: no process killed
but yet in whm under Server Status-CPU/Memory/MySQL Usage
it shows this still

Top Process %CPU 61.6 vim theme.php
Top Process %CPU 61.4 vim theme.php
Top Process %CPU 61.1 vim theme.php

cPanel.net Support Ticket Number:
kill vim not the php file

cPanel.net Support Ticket Number:
 

Website Rob

Well-Known Member
Mar 23, 2002
1,501
1
318
Alberta, Canada
cPanel Access Level
Root Administrator
Being as VIM can only be run/used from SHELL, of what good is it to turn it off? Unless you disable their SHELL access, or teach how them how to turn it off and make sure they always do, you will run into this problem over 'n over.

To kill it you must first find the process number, run: ps -xla

Then look (on the far right) for 'vim theme.php'
Now start on the left and count 4 columns over. There you will see the process number and you can do a kill -9.

kill -9 psnumber >> Enter

cPanel.net Support Ticket Number:
 
Last edited:

jackal

Well-Known Member
PartnerNOC
Feb 23, 2002
707
0
316
ran killall -9 vim

it came back and said no process's but yet it still shows the same thing as in the first post here.

cPanel.net Support Ticket Number:
 

jackal

Well-Known Member
PartnerNOC
Feb 23, 2002
707
0
316
Must be a bug in WHM,
I ran this from SSH ps -xla it does not show that process vim theme.php anywhere on the list but yet when I go to Whm here

Server Status-CPU/Memory/MySQL Usage it still shows that process.

cPanel.net Support Ticket Number:
 

Website Rob

Well-Known Member
Mar 23, 2002
1,501
1
318
Alberta, Canada
cPanel Access Level
Root Administrator
As VIM can only be run from within SHELL (AFAIK) then I would dis-regard what WHM and go by what TOP says. Even in TOP (if it is showing) there should be a process number somewhere in the first column for VIM -- but not always, which is why one uses ps -xla -- which gives you a starting place for a process number.

And if it doesn't show a VIM process (using ps -xla) plus your TOP doesn't show it and your Server CPU states are just fine (i.e., CPU idle is 90% or better), then I wouldn't worry.
 
Last edited:

jackal

Well-Known Member
PartnerNOC
Feb 23, 2002
707
0
316
What would cron be for this ?



Want to run this every hour

*/58 * * * path/to/vim killall -9 vim

is that correct?

cPanel.net Support Ticket Number: