Jump to content
sh4m

[ubuntu]kejadian Aneh Ketika Main Game Online..

Recommended Posts

aku main game cs smlm... main sesorang je la.. tembak2 bot.. dalam 1 jam ok la...

tp bila aku main cs online ttibe hang selepas dalam 20 minit main....

pastu bile main LAN pun sama... hang selepas dalam 20 - 30 min main game ni....

kenape ekk.??? LAN connection uBuntu ade prob ke..???? memang xleh nak "in" "out" data tanpa henti ke.....???

Share this post


Link to post
Share on other sites
QUOTE(sh4m @ Jan 16 2009, 08:00 PM) <{POST_SNAPBACK}>
aku main game cs smlm... main sesorang je la.. tembak2 bot.. dalam 1 jam ok la...

tp bila aku main cs online ttibe hang selepas dalam 20 minit main....

pastu bile main LAN pun sama... hang selepas dalam 20 - 30 min main game ni....

kenape ekk.??? LAN connection uBuntu ade prob ke..???? memang xleh nak "in" "out" data tanpa henti ke.....???


Try using "sar" command so that you can analyze what was going on b4 the "hang" things happened. Sometime it was bcoz of your swap memory doesn't give a good response to your system when there is no more physical ram. If that the case, you can tune your kernel swappiness parameter lively and make it more responsive to the amount of physical ram available on your running system.

If I wasn't mistake, the "sar" should keep daily cpu, memory, io performance report up to 7 days for you to analyze it.

Example :
root@no-x:~# sar -r -f /var/log/sa/sa15 (15/01/2009)
Linux 2.6.24-smp (no-x)

10:53:53 PM kbmemfree kbmemused %memused kbbuffers kbcached kbswpfree kbswpused %swpused kbswpcad
10:53:54 PM 1252636 556672 30.77 26908 245024 506008 0 0.00 0
10:53:55 PM 1252636 556672 30.77 26908 245028 506008 0 0.00 0
10:53:56 PM 1252636 556672 30.77 26908 245028 506008 0 0.00 0
10:53:57 PM 1252636 556672 30.77 26908 245032 506008 0 0.00 0
10:53:58 PM 1252636 556672 30.77 26920 245024 506008 0 0.00 0
.

Share this post


Link to post
Share on other sites
QUOTE(athlon_crazy @ Jan 16 2009, 11:07 PM) <{POST_SNAPBACK}>
Example :
root@no-x:~# sar -r -f /var/log/sa/sa15 (15/01/2009)


sh4m@sh4m-laptop:~$ sar -r -f /var/log/sa/sa15
The program 'sar' can be found in the following packages:
* sysstat
* atsar
Try: sudo apt-get install <selected package>
bash: sar: command not found
sh4m@sh4m-laptop:~$

this is the output after paste the command line that u give me...

"sar: command not found" do i need install sumthing before run this command..?

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
Reply to this topic...

×   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.

Loading...

×
×
  • Create New...