Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-06-2012
Registered User
 
Join Date: Jul 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Help with killing / running ( minecraft )

alright, i have been trying to kill a process for some time now and im having a hard time to close it. im not sure if anyone on here is familiar with Minecraft, but im running a server from LimestoneNetworks, i had one of my friends set it up since im not as good as he is with linux, he tryed explaining it yesturday on how to start it, i have that, but since i know the server is still running, but it wont let anyone connect cause it crashed i wanna know how to stop this problem. ( stop the nohup ).

Sponsored Links
    #2  
Old 07-06-2012
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Location: Switzerland - GE
Posts: 4,633
Thanks: 118
Thanked 256 Times in 245 Posts
the shortest way is to grep Minecraft:

Code:
ps -ef | grep Minecraft

look the PID ( number...) of the process (on your left -it could be 32287...) then kill PID
Sponsored Links
    #3  
Old 07-06-2012
Registered User
 
Join Date: Jul 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
it is currently saying no such process, please keep in mind i might being doing things wrong, i'm a linux noob. :P
    #4  
Old 07-06-2012
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Location: Switzerland - GE
Posts: 4,633
Thanks: 118
Thanked 256 Times in 245 Posts
This is more like the output I expect, here its me grepping...

Code:
n12:/sm/cron/log $ ps -ef | grep Minecraft
    root 1663030 1315030   1 16:38:15 pts/11  0:00 grep Minecraft

Since it sees only me , I have no...

To avoid the phenomenon:

Code:
n12:/sm/cron/log $ ps -ef | grep [M]inecraft 
n12:/sm/cron/log $

Returns nothing...
Sponsored Links
    #5  
Old 07-06-2012
methyl methyl is offline Forum Staff  
Moderator
 
Join Date: Mar 2008
Posts: 6,388
Thanks: 286
Thanked 668 Times in 640 Posts
Have you tried ctrl/c on the stuck session ? That should at least stop the most recent job you started.
Then type the jobs command at the command prompt in the same session to see if you have any more background copies running from that session which have not finished. You may not need to kill anything.
Sponsored Links
    #6  
Old 07-06-2012
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Location: Switzerland - GE
Posts: 4,633
Thanks: 118
Thanked 256 Times in 245 Posts
Are you sure its Minecraft giving you trouble?

What is the output of uptime ?
Sponsored Links
    #7  
Old 07-06-2012
Registered User
 
Join Date: Jul 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help with script that reads and writes java console Minecraft MyMorris Shell Programming and Scripting 0 02-21-2012 05:28 AM
Killing a process which is running in different server pandeesh UNIX for Dummies Questions & Answers 3 11-08-2011 03:14 AM
Finding the age of a unix process, killing old processes, killing zombie processes sukerman Shell Programming and Scripting 0 04-14-2010 04:48 AM
Leaving Program running but killing the script deaconf19 Shell Programming and Scripting 2 11-16-2007 01:17 AM
killing and relaunching a task every 15 minutes while a script is running ropers Shell Programming and Scripting 0 11-16-2006 08:35 AM



All times are GMT -4. The time now is 09:40 AM.