[android-x86-6.0-rc1] /system/xbin/log.sh


#!/system/bin/sh

# /system/xbin/log.sh

cd /data/ztg_tmp

echo "log.sh $1" >> /data/ztg_tmp/timestamp.txt
date >> /data/ztg_tmp/timestamp.txt
ps >> /data/ztg_tmp/ps$1.txt
dmesg >> /data/ztg_tmp/dmesg$1.txt
#cat /proc/sys/net/ipv4/ip* >> ip$1.txt
#cat /proc/sys/net/ipv4/icmp* >> icmp$1.txt
cd -


posted @ 2016-07-14 21:18  张同光  阅读(105)  评论(0编辑  收藏  举报