How to check Cpu Usage in Linux
-
- A semi-regular
- Posts: 25
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Tue Mar 30, 2010 6:09 am
How to check Cpu Usage in Linux
Hi Everyone,
I'm running two cs 1.6 servers on my Gentoo Linux VDS. One is a 32 man dust2 server the other is a 16 man private server with just the dust2 server running my fps is between 830-960 with both servers running the fps is 820-890. Is there a way to check the VDS cpu load? Even with both running my server fps is pretty stable.
I'm running two cs 1.6 servers on my Gentoo Linux VDS. One is a 32 man dust2 server the other is a 16 man private server with just the dust2 server running my fps is between 830-960 with both servers running the fps is 820-890. Is there a way to check the VDS cpu load? Even with both running my server fps is pretty stable.
Re: How to check Cpu Usage in Linux
The easiest way to check CPU usage is with the "top" command. With "top" running, you will see a list of how much each process is running, as well as an overall number for the whole machine (that you can split into its component CPUs by hitting the "1" key).
Are you running the servers with chrt, and with a value of "0" for sys_ticrate/fps_max? Those FPS numbers seem a bit low.
Are you running the servers with chrt, and with a value of "0" for sys_ticrate/fps_max? Those FPS numbers seem a bit low.
-
- A semi-regular
- Posts: 25
- Joined: Tue Mar 30, 2010 6:09 am
Re: How to check Cpu Usage in Linux
Here is what i got for the local.start:
cd /usr/steam/hldsbase
screen -AmdS mrkdust2 chrt -r 20 ./hlds_run -game cstrike +ip xxx.xxx.xxx.xxx +maxplayers 32 -pingboost 2
screen -AmdS mrkfootball chrt -r 20 ./hlds_run -game cstrike +ip xxx.xxx.xxx.xxx +maxplayers 16 -pingboost 2
current sys_tickrate 10000
was the default in server.cfg file
ill list it here:
// important settings inserted by NFo
sys_ticrate 10000
max_queries_sec_global 150
max_queries_sec 3
sv_stats 0
This is the same for both servers ill try system tic of 0 see if that helps
One more thing would running FTP slow it down should I uninstall the service i have uploaded everything I need. On a windows server 2008 r2 i was getting a good 950 to a 1000 with all the same settings except the sys tic was set a 0 ill be back and let you know if that helps.
cd /usr/steam/hldsbase
screen -AmdS mrkdust2 chrt -r 20 ./hlds_run -game cstrike +ip xxx.xxx.xxx.xxx +maxplayers 32 -pingboost 2
screen -AmdS mrkfootball chrt -r 20 ./hlds_run -game cstrike +ip xxx.xxx.xxx.xxx +maxplayers 16 -pingboost 2
current sys_tickrate 10000
was the default in server.cfg file
ill list it here:
// important settings inserted by NFo
sys_ticrate 10000
max_queries_sec_global 150
max_queries_sec 3
sv_stats 0
This is the same for both servers ill try system tic of 0 see if that helps
One more thing would running FTP slow it down should I uninstall the service i have uploaded everything I need. On a windows server 2008 r2 i was getting a good 950 to a 1000 with all the same settings except the sys tic was set a 0 ill be back and let you know if that helps.
-
- A semi-regular
- Posts: 25
- Joined: Tue Mar 30, 2010 6:09 am
-
- A semi-regular
- Posts: 25
- Joined: Tue Mar 30, 2010 6:09 am
Re: How to check Cpu Usage in Linux
cpu usage is at 15% 12.2% of memory
so it isn't under a huge load no idea whats causing the fps drop
so it isn't under a huge load no idea whats causing the fps drop
Re: How to check Cpu Usage in Linux
You're measuring the FPS remotely through rcon, correct? Through the server console, you'll see an inaccurate value.
Which Linux distribution are you running?
Which Linux distribution are you running?
-
- A semi-regular
- Posts: 25
- Joined: Tue Mar 30, 2010 6:09 am
Re: How to check Cpu Usage in Linux
Yes i'm checking the fps through rcon after i have closed vnc.
I am using Gentoo Linux.
I am using Gentoo Linux.
-
- A semi-regular
- Posts: 25
- Joined: Tue Mar 30, 2010 6:09 am
Re: How to check Cpu Usage in Linux
] rcon stats
CPU In Out Uptime Users FPS Players
0.00 2.35 1.50 507 7 703.73 1
] rcon stats
CPU In Out Uptime Users FPS Players
0.00 2.37 1.56 507 7 888.10 1
] rcon stats
CPU In Out Uptime Users FPS Players
0.00 2.36 1.51 507 7 888.10 1
] rcon stats
CPU In Out Uptime Users FPS Players
0.00 2.35 1.50 507 7 841.75 1
] rcon stats
CPU In Out Uptime Users FPS Players
0.00 2.32 1.50 507 7 892.86 1
] rcon stats
CPU In Out Uptime Users FPS Players
0.00 2.33 1.50 507 7 796.81 1
CPU In Out Uptime Users FPS Players
0.00 2.35 1.50 507 7 703.73 1
] rcon stats
CPU In Out Uptime Users FPS Players
0.00 2.37 1.56 507 7 888.10 1
] rcon stats
CPU In Out Uptime Users FPS Players
0.00 2.36 1.51 507 7 888.10 1
] rcon stats
CPU In Out Uptime Users FPS Players
0.00 2.35 1.50 507 7 841.75 1
] rcon stats
CPU In Out Uptime Users FPS Players
0.00 2.32 1.50 507 7 892.86 1
] rcon stats
CPU In Out Uptime Users FPS Players
0.00 2.33 1.50 507 7 796.81 1
Re: How to check Cpu Usage in Linux
Could you check "sys_ticrate" through rcon to make sure it's sticking?
Are you using the kernel that we provide?
Are you using the kernel that we provide?
-
- A semi-regular
- Posts: 25
- Joined: Tue Mar 30, 2010 6:09 am
Re: How to check Cpu Usage in Linux
I'm using the one that was provided by NFO.
For some reason my fps on the server went from the averages i posted to 100fps it must have happened overnight. I also checked the sys_ticrate it was set a 0 maybe its the fps_max.
For some reason my fps on the server went from the averages i posted to 100fps it must have happened overnight. I also checked the sys_ticrate it was set a 0 maybe its the fps_max.
-
- A semi-regular
- Posts: 25
- Joined: Tue Mar 30, 2010 6:09 am
Re: How to check Cpu Usage in Linux
never mind i was typing in stats not rcon stats lol but still the same issue though fps_max is set to 0 sys_ticrate is set to 0
Re: How to check Cpu Usage in Linux
It sounds like this is something I'll have to take a closer look at for you. Please contact us through "Help!" and I'll log in to check it out.