while true; do
  ps -C cbbackupmgr -o pid=,%mem=,%cpu=,rss= >> mem.tsv
  sleep 1
done

