Server status via terminal

meruem

New member
Messages
52
Points
0
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. 

 
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:

Code:
netstat -lnp|grep -E "login|char|map"
 
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?

 
use screen or tmux

 
Last edited by a moderator:
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. 

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

 
Back
Top