bash script for monitor process memory usage.