twitter Folow my twitter

Labels

Blogumulus on brekele.inc

Index

Loading
Daftar Index

Blog

Oct 16, 2013

AIX Health Check - with nmon

0 comments
ilustrasi 
-- opening --
Lama gak ngeblog susah juga nyari kalimat enaknya. the point is how to collect data from aix. And tool used for this is "nmon".

--need--
basicly we need nmon of course, AIX, and anything that make you comfort :P

--1--
ok lets started, make script with this following command
#!/usr/bin/ksh
# brekele.inc 
# ^_^
/usr/bin/nmon -s 300 -c 288 -fdTPAN -m /nmon_data
find /nmon_data -mtime +90 -type f -exec rm -f {} \;
and save it ( ex : nmon.sh )
--2--
first preparation done, now make it work. Make directory /nmon_data, give it  "x" permission, done ?
the last add to crontab. ex every night
00 00 * * * sh  /mnt/nmon.sh > /dev/null 2>&1 
done step one.

-- report--
 download nmon analyzer from here and follow the intruction how to read it :P

-- check $ jajal --

monggo di coba sendiri - sendiri :D

* do with your own risk

Read more

Apr 6, 2013

swap on android

0 comments

--why--
tinimbang ngenthong ra nggenah.... just trying improve performa on weak android :D
and do all this "tuto" with your own risk

-- needed--
- kernel support for swap ( if you don't have try to complie your kernel or find enother kernel that support it)
- rooted android
- and make it easy using adb command on your PC

most people make swap partition on their sdcard, and most people say's it slow and can reduce "sd card" life.
 on mine, i use free space on  /data partition ( have 1GB )  and create swap image in it and hope faster than on sdcard.

--creating swap image--
create swap image using dd command ( you can run this command on android or you can run faster on linux PC)
ok swap image created and formated as swap, push image to android phone ( /data/ ).

--turn on swap--
ok, swap allready on /data/swp.img. now turn it on with this command.
busybox swapon /data/swp.img

at this point swap is on ^_^

--bonus--
next let android automatic turn swap ON after reboot. in this case we need add script on init.d
this my simple script placed on /system/etc/init.d/91swapon

#!/system/bin/sh
# brekele.inc ^_^ 
#Init.d runing swap 

busybox swapon /data/swp.img

Set permission to init file with :
chmod 777 /system/etc/init.d/91swapon 

test this script with reboot your device.

have fun.... :D




Read more
ffff

Recommended Post Slide Out For Blogger

brekele.INC Design by Insight © 2009