Check how much ram your FTB server have and use.

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

ChocolateCharlie

New Member
Jul 29, 2019
56
0
0
Hello.

Im trying to find out how much ram my server uses and have. It's a paid host (5gb) cant seem to find it anywhere in the control panel? :/

I have set my allocated ram size in the .bat and .sh to: java -Xms5000m -Xmx5000m and the server runs perf, but still i want to know (ingame) how much ram my server has and uses.

any ideas?
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
What control panel do you have, list of plugins please, do you have ssh? I ask for plugins because some like royalcommands can tell you ram usage. Also the command /gc can too but will cause a lag spike.
 

ChocolateCharlie

New Member
Jul 29, 2019
56
0
0
I think its MultiCraft, and use the standart plugins in ftb monster server pack. nothing els.

how much lagspikes will i get can it crash the server ?
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
Multicraft does have a way to view ram usage. On a side note ftb monster doesn't have plugins it has mods you can get mcpc and run plugins though.

/gc will give the most accurate read of ram usage but will freeze the server for a maximum of about 10 seconds depending on how much used and only will cause a freeze when it is executed.
 

Redruzerkruzer

New Member
Jul 29, 2019
147
0
1
/gc is from the plugin essentials, and it will not freeze your server (At least it should not, if it does it should not be happening). You need MCPC+ http://ci.md-5.net/job/MCPC-Plus/ to run plugins. It is basically bukkit-forge, so just replace the ftbserver.jar with the mcpc.jar, and run the server. Then take essentials http://dev.bukkit.org/bukkit-plugins/essentials/files/ and drop it into the plugins folder (Just essentials, not the addons)
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
/gc is from the plugin essentials, and it will not freeze your server (At least it should not, if it does it should not be happening). You need MCPC+ http://ci.md-5.net/job/MCPC-Plus/ to run plugins. It is basically bukkit-forge, so just replace the ftbserver.jar with the mcpc.jar, and run the server. Then take essentials http://dev.bukkit.org/bukkit-plugins/essentials/files/ and drop it into the plugins folder (Just essentials, not the addons)
Em no, /gc is not from the plugin essentials.

It runs the java garbage collector which will tell you in chat current memory usage, memory freed, and the resulting memory usage. The java garbage collector will cause a small freeze as java does its thing.
 

HaoSs

New Member
Jul 29, 2019
290
0
0
i use the /lag command, but don't remember from what plugin it is.but is not a special plugin .

this is the output:
>03:43:19 [INFO] CONSOLE issued server command: /lag
>03:43:19 [INFO] [0;33;22mUptime: [0;31;1m 11 minutes 45 seconds [m
>03:43:19 [INFO] [0;33;22mCurrent TPS = [0;32;1m19.998 [m
>03:43:19 [INFO] [0;33;22mMaximum memory: [0;31;1m 4,864 MB. [m
>03:43:19 [INFO] [0;33;22mAllocated memory: [0;31;1m 4,864 MB. [m
>03:43:19 [INFO] [0;33;22mFree memory: [0;31;1m 3,380 MB. [m
>03:43:19 [INFO] [0;33;22mWorld " [0;31;1mTheCore [0;33;22m": [0;31;1m800 [0;33;22m chunks, [0;31;1m727 [0;33;22m entities, [0;31;1m12,566 [0;33;22m tiles. [m
>03:43:19 [INFO] [0;33;22mWorld " [0;31;1mDIM20 [0;33;22m": [0;31;1m0 [0;33;22m chunks, [0;31;1m0 [0;33;22m entities, [0;31;1m0 [0;33;22m tiles. [m
>03:43:19 [INFO] [0;33;22mWorld " [0;31;1mDIM7 [0;33;22m": [0;31;1m0 [0;33;22m chunks, [0;31;1m0 [0;33;22m entities, [0;31;1m0 [0;33;22m tiles. [m
>03:43:19 [INFO] [0;33;22mWorld " [0;31;1mDIM-100 [0;33;22m": [0;31;1m0 [0;33;22m chunks, [0;31;1m0 [0;33;22m entities, [0;31;1m0 [0;33;22m tiles. [m
>03:43:19 [INFO] [0;33;22mThe End " [0;31;1mDIM1 [0;33;22m": [0;31;1m0 [0;33;22m chunks, [0;31;1m0 [0;33;22m entities, [0;31;1m0 [0;33;22m tiles. [m

ignore the " [0;31;1m " shit
 
Last edited:

ChocolateCharlie

New Member
Jul 29, 2019
56
0
0
Multicraft does have a way to view ram usage. On a side note ftb monster doesn't have plugins it has mods you can get mcpc and run plugins though.
You can't see the amount of ram allocated to the server, only the Cpu and Ram usage from 0-100%.. Thats why im trying to find out how much ram im using.

But anyways..

I will try using mcpc+ do a run without essentials first, test it and then try adding the plugin if it doesn't work without the plugin. let the best man win :p

Peace !!
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
You can't see the amount of ram allocated to the server, only the Cpu and Ram usage from 0-100%.. Thats why im trying to find out how much ram im using.

But anyways..

I will try using mcpc+ do a run without essentials first, test it and then try adding the plugin if it doesn't work without the plugin. let the best man win :p

Peace !!
To see the amount of ram allocated there are fewer plugins that can do this, also pretty much very server wrapper lets you do this but the best way to check that is to open up your ServerStart.bat/sh and it will tell you. Or if you post the server.log I can tell you, or any crash report will give all your system info including current and maximum allocated ram.[DOUBLEPOST=1396797645][/DOUBLEPOST]Different plugins have different /lag my /lag gives me the /tps along with the percentage error in the reading and I can customize how much time to tick ex if I want to tick 1 second like essentials and /tps does if if I want to tick 50 seconds and get the average tps over 50 seconds with a margin of error given. It's from royalcommands.