function ulimitme { ulimit -m 100000 -d 150000 -v 200000; }; export -f ulimitme
function grep { ( ulimitme; `which grep` "$@"; ); }; export -f grep
function rsync { `which rsync` -v -e ssh --progress --stats --partial "$@"; }; export -f rsync
+function tohex { od -An -txC /tmp/out|tr -d '\n '|tr 'a-f' 'A-F';echo; }; export -f tohex
ulimit -c 0