1on property:persist.vendor.log.mm=1
2    mkdir /data/vendor/mm 0700 root system
3    mkdir /data/vendor/mm/vmstat 0700 root system
4    mkdir /data/vendor/mm/stat 0700 root system
5    mkdir /data/vendor/mm/kswapd 0700 root system
6    mkdir /data/vendor/mm/kcompactd 0700 root system
7    start vendor.mm.logd
8
9on property:persist.vendor.log.mm=0
10    stop vendor.mm.logd
11
12on property:persist.vendor.log.mm=1 && property:persist.vendor.log.mm.interval=*
13    restart vendor.mm.logd
14
15service vendor.mm.logd /vendor/bin/mm_logd ${persist.vendor.log.mm.interval:-60}
16    class main
17    user root
18    group root system
19    disabled
20