appfirst/membase_stats — Issue #2: membase_stats.py cannot be executed
Author: akoyro
Created: 2011-11-08 08:23:26+00:00
State: open

./membase_stats.py
./membase_stats.py: line 22: import: command not found
./membase_stats.py: line 23: import: command not found
./membase_stats.py: line 24: import: command not found
./membase_stats.py: line 26: class: command not found
./membase_stats.py: line 28: resource_name_mapping: command not found
./membase_stats.py: line 29: curr_items:: command not found
./membase_stats.py: line 30: curr_items_tot:: command not found
./membase_stats.py: line 31: ep_num_active_non_resident:: command not found
./membase_stats.py: line 32: get_hits:: command not found
./membase_stats.py: line 33: ep_bg_fetched:: command not found
./membase_stats.py: line 34: ep_num_non_resident:: command not found
./membase_stats.py: line 35: ep_total_enqueued:: command not found
./membase_stats.py: line 36: ep_total_new_items:: command not found
./membase_stats.py: line 37: get_misses:: command not found
./membase_stats.py: line 38: mem_used:: command not found
./membase_stats.py: line 39: ep_total_cache_size:: command not found
./membase_stats.py: line 40: bytes_written:: command not found
./membase_stats.py: line 41: ep_queue_size:: command not found
./membase_stats.py: line 42: ep_io_num_write:: command not found
./membase_stats.py: line 43: ep_io_num_read:: command not found
./membase_stats.py: line 44: ep_total_persisted:: command not found
./membase_stats.py: line 45: ep_total_del_items:: command not found
./membase_stats.py: line 46: ep_item_commit_failed:: command not found
./membase_stats.py: line 47: ep_expired:: command not found
./membase_stats.py: line 48: syntax error near unexpected token `}'
./membase_stats.py: line 48: ` }'

The script cannot be executed from command line because line #!/usr/bin/env python is not the first line of the script.