注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

itoedr的it学苑

记录从IT文盲学到专家的历程

 
 
 

日志

 
 

ats状态参数的意义分析与整理  

2015-11-07 11:28:22|  分类: ATS-linuxbox |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

        为了更好使用ats这个cdn系统,配置与开发可谓同等重要.数百个参数中,各个参数的意义虽然从字面可以初步了解,笔者就要别人的使用基础上对参数意义进一步收集.以下的参数都可以通过traffic_line -r来读取,有的也可以使用使用traffic_line -s 来更新.这对于监控系统状态是特别重要。
ats状态参数的意义分析与整理 - itoedr - itoedr的it学苑
traffic_line -r读取ats状态的一些例子
 
         1)读取ssd状态
         我们知道,ATS支持高速设备如ssd设备,那我们可以通过以下命令来读取ssd的状态参数.

proxy.process.cache.interim.read.success
proxy.process.cache.disk.read.success
proxy.process.cache.ram.read.success

         2)读取版本信息
The traffic_line -r option accepts the following variable names(使用traffic_line -r来提取ATS丰富的系统参数):
proxy.node.hostname_FQ  #主机名
proxy.node.hostname  #主机名
proxy.node.restarts.manager.start_time  #mananger 启动时间
proxy.node.restarts.proxy.start_time  #proxy 启动时间
proxy.node.restarts.proxy.stop_time 
proxy.node.restarts.proxy.restart_count  #重启次数
proxy.node.version.manager.short   #manager 版本号
proxy.node.version.manager.long    #manager 详细信息
proxy.node.version.manager.build_number
proxy.node.version.manager.build_time
proxy.node.version.manager.build_date
proxy.node.version.manager.build_machine 
proxy.node.version.manager.build_person   #编译的用户

                3)读取运行参数
proxy.node.bandwidth_hit_ratio            #ats带宽的命中率
proxy.node.bandwidth_hit_ratio_int_pct    #总共命中次数成分率
proxy.node.bandwidth_hit_ratio_avg_10s   #前10s 整体命中率
proxy.node.bandwidth_hit_ratio_avg_10s_int_pct
proxy.node.proxy_running                   # 代理软件当前状态
proxy.node.cache.percent_free           #缓存空间空闲率
proxy.node.cache_hit_ratio                  #缓存命中率
proxy.node.cache_hit_ratio_int_pct    #缓存命中百分比率

proxy.node.cache_hit_ratio_avg_10s_int_pct
proxy.node.cache_total_hits_avg_10s
proxy.node.cache_total_misses_avg_10s
proxy.node.cache_hit_ratio_avg_10s


proxy.node.cache.bytes_total        #存储总大小
proxy.node.cache.bytes_total_mb
proxy.node.cache.bytes_free
proxy.node.cache.bytes_free_mb
proxy.node.cache.percent_free_int_pct
proxy.node.cache_total_hits         #总命中次数
proxy.node.cache_total_misses       #总的MISS 次数


proxy.process.cache.read_per_sec
proxy.process.cache.write_per_sec

proxy.process.cache.KB_read_per_sec
proxy.process.cache.KB_write_per_sec

proxy.process.cache.ram_cache.total_bytes
proxy.process.http.cache_hit_fresh

proxy.process.http.cache_hit_revalidated
proxy.process.http.cache_hit_ims

proxy.process.http.cache_hit_stale_served
proxy.process.http.cache_miss_cold

proxy.process.http.cache_miss_changed
proxy.process.http.cache_miss_client_no_cache
proxy.process.http.cache_miss_client_not_cacheable
proxy.process.http.cache_miss_ims

proxy.process.http.cache_read_error
proxy.node.http.cache_hit_fresh_avg_10s  #前10s 内存新鲜对象,命中个数
proxy.node.http.cache_hit_revalidated_avg_10s ##前10s 内存过期需要重新验证的对象个数
proxy.node.http.cache_hit_ims_avg_10s

proxy.node.http.cache_hit_stale_served_avg_10s
proxy.node.http.cache_miss_cold_avg_10s        #前10s MISS 的冷对象个数
proxy.node.http.cache_miss_changed_avg_10s
proxy.node.http.cache_miss_not_cacheable_avg_10s
proxy.node.http.cache_miss_client_no_cache_avg_10s
proxy.node.http.cache_miss_ims_avg_10s
proxy.node.http.cache_read_error_avg_10s



proxy.node.http.user_agent_xacts_per_second
proxy.node.http.user_agent_current_connections_count
proxy.node.http.user_agent_total_request_bytes
proxy.node.http.user_agent_total_response_bytes
proxy.node.http.user_agents_total_transactions_count
proxy.node.http.user_agents_total_documents_served
proxy.node.http.origin_server_current_connections_count  #当前后端的连接数
proxy.node.http.origin_server_total_request_bytes     #接受的请求数量
proxy.node.http.origin_server_total_response_bytes  #反加用户数量
proxy.node.http.parent_proxy_total_request_bytes     

proxy.node.http.parent_proxy_total_response_bytes

proxy.node.http.origin_server_total_transactions_count   #总共向源站取回的流量

proxy.node.http.cache_current_connections_count         #ats 当前的连接数
proxy.node.http.current_parent_proxy_connections


proxy.node.current_cache_connections   
proxy.node.dns.lookups_per_second
proxy.node.dns.lookup_avg_time_ms
proxy.node.dns.total_dns_lookups

proxy.node.hostdb.total_lookups
proxy.node.hostdb.total_hits


proxy.node.client_throughput_out
proxy.node.client_throughput_out_kbit

proxy.node.current_client_connections             #当前客户端连接数
proxy.node.current_server_connections             #当前服务端(后端)连接数

proxy.node.user_agent_total_bytes                     #由ATS代理的总流量
proxy.node.origin_server_total_bytes                  #由ATS向源站赢取的流量

proxy.node.user_agent_total_bytes_avg_10s
proxy.node.origin_server_total_bytes_avg_10s

proxy.process.cache.ram.read.success   #内存被成功访问次数
proxy.process.cache.ram_cache.hits     #内存命中次数

proxy.process.cache.interim.read.success           #SSD
proxy.process.cache.read.success                        #总共read success 次数

proxy.process.cache.ram_cache.bytes_used      #内存使用

proxy.process.cache.bytes_total #存储总大小
proxy.process.cache.bytes_used #当前已经使用



proxy.process.net.read_bytes
proxy.process.net.write_bytes

proxy.process.socks.connections_successful
proxy.process.socks.connections_unsuccessful

proxy.process.http.completed_requests
proxy.process.http.total_incoming_connections
proxy.process.http.total_client_connections
proxy.process.http.total_client_connections_ipv4

proxy.process.http.total_client_connections_ipv6
proxy.process.http.total_server_connections

proxy.process.http.total_parent_proxy_connections
proxy.process.http.client_connection_time
proxy.process.http.parent_proxy_connection_time
proxy.process.http.server_connection_time
proxy.process.http.cache_connection_time

proxy.process.http.incoming_requests           #ATS接受的请求量
proxy.process.http.outgoing_requests            #ats向外发布的请求量
proxy.process.http.incoming_responses        #ATS
proxy.process.http.invalid_client_requests

proxy.process.http.missing_host_hdr
proxy.process.http.get_requests

proxy.process.http.head_requests
proxy.process.http.trace_requests

proxy.process.http.options_requests
proxy.process.http.post_requests

proxy.process.http.put_requests

proxy.process.http.push_requests

proxy.process.http.delete_requests

proxy.process.http.purge_requests

proxy.process.http.connect_requests

proxy.process.http.extension_method_requests

proxy.process.http.client_no_cache_requests

proxy.process.http.broken_server_connections

proxy.process.http.cache_lookups

proxy.process.http.cache_writes

proxy.process.http.cache_updates

proxy.process.http.cache_deletes


proxy.process.http.cache_write_errors

proxy.process.http.cache_read_errors

proxy.process.http.100_responses

proxy.process.http.101_responses

proxy.process.http.1xx_responses

proxy.process.http.200_responses

proxy.process.http.201_responses

proxy.process.http.202_responses

proxy.process.http.203_responses

proxy.process.http.204_responses

proxy.process.http.205_responses

proxy.process.http.206_responses

proxy.process.http.2xx_responses

proxy.process.http.300_responses

proxy.process.http.301_responses

proxy.process.http.302_responses

proxy.process.http.303_responses

proxy.process.http.304_responses

proxy.process.http.305_responses

proxy.process.http.307_responses

proxy.process.http.3xx_responses

proxy.process.http.400_responses

proxy.process.http.401_responses

proxy.process.http.402_responses

proxy.process.http.403_responses

proxy.process.http.404_responses

proxy.process.http.405_responses

proxy.process.http.406_responses

proxy.process.http.407_responses

proxy.process.http.408_responses

proxy.process.http.409_responses

proxy.process.http.410_responses

proxy.process.http.411_responses

proxy.process.http.412_responses

proxy.process.http.413_responses

proxy.process.http.414_responses

proxy.process.http.415_responses

proxy.process.http.416_responses

proxy.process.http.4xx_responses

proxy.process.http.500_responses

proxy.process.http.501_responses

proxy.process.http.502_responses

proxy.process.http.503_responses

proxy.process.http.504_responses

proxy.process.http.505_responses

proxy.process.http.5xx_responses



proxy.process.cache.bytes_used
proxy.process.cache.bytes_total
proxy.process.cache.ram_cache.bytes_used
proxy.process.cache.ram_cache.hits

proxy.process.cache.pread_count
proxy.process.cache.percent_full
proxy.process.cache.lookup.active
proxy.process.cache.lookup.success
proxy.process.cache.lookup.failure
proxy.process.cache.read.active
proxy.process.cache.read.success
proxy.process.cache.read.failure
proxy.process.cache.write.active
proxy.process.cache.write.success
proxy.process.cache.write.failure
proxy.process.cache.write.backlog.failure

proxy.process.cache.update.active
proxy.process.cache.update.success
proxy.process.cache.update.failure


proxy.process.cache.remove.active
proxy.process.cache.remove.success
proxy.process.cache.remove.failure
proxy.process.cache.evacuate.active
proxy.process.cache.evacuate.success

proxy.process.cache.evacuate.failure
proxy.process.cache.read_busy.success
proxy.process.cache.read_busy.failure
proxy.process.dns.success_avg_time
proxy.process.http.background_fill_current_count    #ATS读取源文件的完成率
proxy.process.http.current_client_connections
proxy.process.http.current_active_client_connections
proxy.process.http.current_client_transactions
proxy.process.http.current_parent_proxy_transactions
proxy.process.http.current_icp_transactions
proxy.process.http.current_server_transactions
proxy.process.http.current_parent_proxy_raw_transactions
proxy.process.http.current_icp_raw_transactions
proxy.process.http.current_server_raw_transactions
proxy.process.http.current_parent_proxy_connections
proxy.process.http.current_server_connections
proxy.process.http.current_cache_connections

proxy.process.update.successes
proxy.process.update.no_actions
proxy.process.update.fails
proxy.process.update.unknown_status
proxy.process.update.state_machines

随着ATS的进一步升级,其功能将进一步专业化,新的状态参数也将进一步加入,也许在将来使用traffic-ctl来读取就更为方便了.
  评论这张
 
阅读(139)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017