1 . load the related files into page caches
find /opt/firefox -type f -exec cat {} \; > /dev/null
2. find the related lib of executing firefox and create the output file of lib list.
ldd /opt/firefox/firefox-bin | grep -v "not found" | sed -e 's/.*=> //' -e 's/\s.*//' > ~/lib.txt
3. load the related lib into page caches
for i in `cat ~/lib.txt`; do (cat $i > /dev/null); done
沒有留言:
張貼留言