📄 statformat.html
字号:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <META NAME="Title" CONTENT="SMS Server Tools 3"> <META NAME="Robots" CONTENT="INDEX,FOLLOW"> <META NAME="Language" CONTENT="English"> <title>SMS Server Tools 3</title><STYLE type="text/css">h3 { background-color: #DCDCFE;}blockquote { background-color: #FFD; font-size: 90%; padding:5pt; padding-top:1pt; margin-bottom:5pt; border-style: outset; border-color: #aaaa99; border-width: 0.05pt 2pt 2pt 0.05pt;}blockquote p:first-letter { font-size: 110%; font-weight: bold; color: red;}</STYLE> </head><body><h2><font color=blue>SMS Server Tools 3</font></h2><a href="index.html">Home</a<h3>Statistics file format</h3><!-- START --><p>This function is disabled by default. You need to install the <a href="http://www.ossp.org/" target="_blank">OSSP mm Shared Memory Library</a>, also called mm or libmm. Then you need to enable this featurein src/Makefile and recompile the source code.<p>Smsd collects statisic data and writes them into files. The program generates one file every hour or whatever interval you configured. The filenames are simple timestamps in the format YYMMDD.hhmmss.<p>The statistic files contain two parts, delimited by an empty line. The first part has global counters and the second part has individual counters for each modem. <p>Global statistic data:<br><ul> <li>time since the last statistic file <li>counter of rejected SM</ul><p>Statistic data for each modem:<br><ul> <li>counter of successful sent SM <li>counter of failed SM (sending) <li>counter of received SM <li>counter of multiple consecutive failures <li>time of modem usage by sending SM <li>time of modem usage by receiving SM</ul><p>Example file with name "010811.150030" , taken from a system with 2 modems:<p><table bgcolor="lightgrey" border=1><TR><TD><font face="Courier New, Courier, monospace">runtime,rejected<br>1200,1<br> <br>name,succeeded,failed,received,multiple_failed,usage_s,usage_r<br>GSM1,20,0,1,0,80,0<br>GSM2,5,0,1,0,40,900<br></font></TD></TR></table><p>If I change the file format, I will add new counters to the right end.</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -