Jump to content
  • 0
Sign in to follow this  
meruem

Server status via terminal

Question

Hello guys. Im running my server on a centOS7 vps.

And im quite new on linux and starting to love it

 

I am following this guide and quite run my server successfully via terminal.

https://herc.ws/board/topic/13146-guide-create-your-server-client-201608/

My question is if i run my successfully the first time and close the terminal. Is the server continue to run on my vps?

If yes is there a way or command that I can type on the terminal to check if my server is still running?

 

Thanks in advance guys. Many thanks. 

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

if you not using screen or tmux, your server probably closed if you close terminal.

for look is your server processes running, you can try use ps or top or htop.

also for check is servers running and listening on configured ports, you can run from root or sudo this command:

netstat -lnp|grep -E "login|char|map"

 

Share this post


Link to post
Share on other sites
  • 0
6 hours ago, 4144 said:

if you not using screen or tmux, your server probably closed if you close terminal.

for look is your server processes running, you can try use ps or top or htop.

also for check is servers running and listening on configured ports, you can run from root or sudo this command:

netstat -lnp|grep -E "login|char|map"


netstat -lnp|grep -E "login|char|map"

 

How about checking the error on my login char and map server sir?

coz i cant connect on my server. And i cant figure out what the error is because i cant see the 3 server windows.  Any solution for that?

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, 4144 said:

use screen or tmux

 

Can you elaborate your answer sir?

Was that a command i need to type via terminal?

or was that an application like putty or what.

 

You can link some guide sir?

Thank you very much sir. 

Share this post


Link to post
Share on other sites
  • 0

search in google how to use screen or tmux. this is terminal multiplexers.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.