108 js 迁移到 108 v10 常用命令
# 用SQL 检查jstask数据库连接数
select count(concat('KILL ',id,';')) from information_schema.processlist where user='jstask';
# v10_deploy/null_zero_fulfill_v10_from_108_js.py 重点参数
1. range(7082,batch) 填写v10_log/null_zero_fulfill_v10_from_108_js_finished_batch_id.txt 最大数值
2. max_workers 每次大约增加5个进程 根据 数据库连接数 确定
# 展示 108 js 进程
ps aux | grep null_zero_fulfill_v10_from_108_js.py | awk '{print $2}'
# 杀死 108 js 进程
kill $(ps aux | grep null_zero_fulfill_v10_from_108_js.py | awk '{print $2}')
# 展示 108 sz 进程
ps aux | grep null_zero_fulfill_v10_from_SZ_asin_list_granted_column_keepa_price_not_fulfilled.py | awk '{print $2}'
# 杀死 108 sz 进程
kill $(ps aux | grep null_zero_fulfill_v10_from_SZ_asin_list_granted_column_keepa_price_not_fulfilled.py | awk '{print $2}')
# 杀死 108 sz 进程
kill $(ps aux | grep null_zero_fulfill_v10_from_SZ_asin_list_granted_column_keepa_price_not_fulfilled_hf_web.py | awk '{print $2}')
# 杀死 108 sz 进程
kill $(ps aux | grep null_zero_fulfill_v10_pi_api_from_v10_bg_not_fulfilled.py | awk '{print $2}')
Amazon_Seller_API.tb_orders_get_order_items test- code
1. python v10_deploy/null_zero_fulfill_v10_pi_api_from_v10_bg_not_fulfilled.py
2. python v10_deploy/null_zero_fulfill_v10_from_SZ_asin_list_granted_column_keepa_price_not_fulfilled.py
3. python v10_deploy/null_zero_fulfill_v10_from_SZ_asin_list_granted_column_keepa_price_not_fulfilled_hf_web.py