Free Up Your Memory

18 03 2009

Cara bersihin memory klo OS dah pd lemooottt bgt running nya:
root@dns3:/home/root# free -m
total used free shared buffers cached
Mem: 376 355 21 0 121 109
-/+ buffers/cache: 123 252
Swap: 760 0 760
root@dns3:/home/root#

bikin file dgn nama apa aja, trs ketik di bwh ini:
#!/bin/sh
sync
echo 3 > /proc/sys/vm/drop_caches

klo dah pd selesai simpen, trs jalanin file td sbg root “sh namafile.sh” and ketik lg dibwh:
root@dns3:/home/root# free -m
total used free shared buffers cached
Mem: 376 138 238 0 0 22
-/+ buffers/cache: 115 260
Swap: 760 0 760
root@dns3:/home/root#

bandingin ma result pertama… apa yg terjadi… eng ing eng…

— selesai —

Advertisements

Actions

Information

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: