Jump to content
  • 0

Q>Putty


GM Winter

Question


  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.14
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

hello every one i was wondering how can i see the server status in the putty without server restart

some dev using ./athena-start restart to see it 
for me i dont want the players to be disconnected  so if possible is there any command just to display it

picture for example

Capture.PNG

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   46
  • Joined:  10/30/12
  • Last Seen:  

Check this post:

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  90
  • Reputation:   34
  • Joined:  10/01/18
  • Last Seen:  

8 hours ago, GM Winter said:

hello every one i was wondering how can i see the server status in the putty without server restart

some dev using ./athena-start restart to see it 
for me i dont want the players to be disconnected  so if possible is there any command just to display it

picture for example

Capture.PNG

 

using Screen method.

Make sure you install the 'Screen'

CentOS Command:

yum install screen

 

Note: You need to execute this 1 by 1.

screen -S loginserver
./login-server &

After that Press CTRL+AD

screen -S charserver
./char-server &

After that Press CTRL+AD

screen -S mapserver
./map-server &

After that Press CTRL+AD


TO RETURN BACK TO WHICH server(map,login or char) would you like visit simply press :
Note: Make sure you're in your rAthena Server or RO Folder. cd /home/winter/MyROServer
 

screen -R mapserver - To check the mapserver-status
screen -R charserver - To check the charserver-status
screen -R loginserver - To check the loginserver-status

To Exit: After that Press CTRL+AD

If you want to confirm what apps are running:

Simple Type:

ps aux | grep server

 

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  882
  • Reputation:   117
  • Joined:  05/23/12
  • Last Seen:  

The easiest way is to install "screen" and run the server by:

screen -S rathena ./athena-start start

With: screen -R rathena u can attach the screen. U can detach with CTRL+A+D as @Royralready said.

U can ofcourse use mtputty to create tabs for each screen. See example in previous post.

 

Rynbef~

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.14
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

On 3/12/2022 at 3:34 AM, Royr said:

 

using Screen method.

Make sure you install the 'Screen'

CentOS Command:

yum install screen

 

Note: You need to execute this 1 by 1.

screen -S loginserver
./login-server &

After that Press CTRL+AD

screen -S charserver
./char-server &

After that Press CTRL+AD

screen -S mapserver
./map-server &

After that Press CTRL+AD


TO RETURN BACK TO WHICH server(map,login or char) would you like visit simply press :
Note: Make sure you're in your rAthena Server or RO Folder. cd /home/winter/MyROServer
 

screen -R mapserver - To check the mapserver-status
screen -R charserver - To check the charserver-status
screen -R loginserver - To check the loginserver-status

To Exit: After that Press CTRL+AD

If you want to confirm what apps are running:

Simple Type:

ps aux | grep server

 

this error occurs when i run that sequence1.thumb.PNG.0001300f7e424eb8335fa4b6454441df.PNG

 

On 3/12/2022 at 9:36 AM, Rynbef said:

The easiest way is to install "screen" and run the server by:

screen -S rathena ./athena-start start

With: screen -R rathena u can attach the screen. U can detach with CTRL+A+D as @Royralready said.

U can ofcourse use mtputty to create tabs for each screen. See example in previous post.

 

Rynbef~

ive got error on that didnt edit anything on server side then suddenly it has an error its a live server now its asking for conf/import?  

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  882
  • Reputation:   117
  • Joined:  05/23/12
  • Last Seen:  

Try:

screen -dmS login ./login-server && screen -dmS char ./char-server && screen -dmS map ./map-server

 

The screens will run detached. U can attach like on previous posts already said.

 

Rynbef~

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...