Android-x86_64 - /system/xbin/log.sh
#!/system/bin/sh
# /system/xbin/log.sh
cd /data/ztg_tmp
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 -