{"id":26661,"date":"2025-04-19T16:31:02","date_gmt":"2025-04-19T08:31:02","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/26661.html"},"modified":"2025-04-19T16:31:02","modified_gmt":"2025-04-19T08:31:02","slug":"%e3%80%90%e7%9b%91%e6%8e%a7%e5%b7%a5%e5%85%b7sampler%e3%80%91%e8%bf%98%e5%9c%a8%e7%94%a8%e5%91%bd%e4%bb%a4%e8%a1%8c%e6%9f%a5%e7%9c%8b%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%8a%b6%e6%80%81%ef%bc%9f%e8%af%95","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/26661.html","title":{"rendered":"\u3010\u76d1\u63a7\u5de5\u5177Sampler\u3011\u8fd8\u5728\u7528\u547d\u4ee4\u884c\u67e5\u770b\u670d\u52a1\u5668\u72b6\u6001\uff1f\u8bd5\u8bd5\u8fd9\u6b3e\u76d1\u63a7\u5de5\u5177\u5427\uff0c\u76f4\u89c2\u53c8\u6613\u7528\uff01"},"content":{"rendered":"<p>\u6211\u4eec\u5728\u67e5\u770b\u670d\u52a1\u5668\u8fd0\u884c\u72b6\u6001\u65f6&#xff0c;\u9664\u4e86\u4f7f\u7528\u547d\u4ee4\u884c\u8fd8\u662f\u547d\u4ee4\u884c\u3002\u90a3\u4e48\u6709\u4ec0\u4e48\u529e\u6cd5\u53ef\u4ee5\u4e0d\u7528\u547d\u4ee4\u884c&#xff0c;\u76f4\u89c2\u5730\u67e5\u770b\u670d\u52a1\u5668\u7684CPU\u3001\u5185\u5b58\u3001\u7f51\u7edc\u3001\u5bb9\u5668\u8fd0\u884c\u72b6\u6001\u7b49\u4fe1\u606f\u5462&#xff1f;\u4eca\u5929\u7ed9\u5927\u5bb6\u5206\u4eab\u4e00\u6b3e\u597d\u7528\u7684\u670d\u52a1\u5668\u76d1\u63a7\u5de5\u5177Sampler&#xff0c;\u4f7f\u7528\u5b83\u80fd\u5feb\u901f\u65b9\u4fbf\u5730\u67e5\u770b\u8fd9\u4e9b\u4fe1\u606f&#xff0c;\u5e0c\u671b\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9&#xff01;<\/p>\n<h2>Sampler\u7b80\u4ecb<\/h2>\n<p>Sampler\u662f\u4e00\u6b3e\u57fa\u4e8eshell\u547d\u4ee4\u7684\u53ef\u89c6\u5316\u76d1\u63a7\u5de5\u5177&#xff0c;\u901a\u8fc7\u7b80\u5355\u7684YAML\u6587\u4ef6\u6765\u8fdb\u884c\u914d\u7f6e\u5373\u53ef\u5b9e\u73b0\u76d1\u63a7&#xff0c;\u76ee\u524d\u5728Github\u4e0a\u5df2\u670912k&#043;Star\u3002\u4e0b\u9762\u662f\u4f7f\u7528Sampler\u6765\u8fdb\u884c\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7\u7684\u6548\u679c\u56fe&#xff0c;\u770b\u8d77\u6765\u8fd8\u662f\u633a\u70ab\u9177\u7684&#xff01; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419083059-68035f43110bd.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u5b89\u88c5<\/h2>\n<p>Sampler\u7684\u5b89\u88c5\u975e\u5e38\u7b80\u5355&#xff0c;\u8fd9\u91cc\u4ee5Linux\u7cfb\u7edf\u4e3a\u4f8b&#xff0c;\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u4e0b\u8f7dSampler\u7684\u5b89\u88c5\u5305&#xff1b;<\/p>\n<p><span class=\"token comment\"># \u4e0b\u8f7dsampler\u7684\u5b89\u88c5\u5305\u4fdd\u5b58\u5230\/usr\/local\/bin\u76ee\u5f55\u4e0b<\/span><br \/>\nsudo wget https:<span class=\"token operator\">\/<\/span><span class=\"token operator\">\/<\/span>github<span class=\"token punctuation\">.<\/span>com\/sqshq\/sampler\/releases\/download\/v1<span class=\"token punctuation\">.<\/span>1<span class=\"token punctuation\">.<\/span>0\/sampler-1<span class=\"token punctuation\">.<\/span>1<span class=\"token punctuation\">.<\/span>0-linux-amd64 <span class=\"token operator\">&#8211;<\/span>O <span class=\"token operator\">\/<\/span>usr\/local\/bin\/sampler<br \/>\n<span class=\"token comment\"># \u7ed9\u5b89\u88c5\u5305\u6dfb\u52a0\u6267\u884c\u6743\u9650<\/span><br \/>\nsudo chmod <span class=\"token operator\">&#043;<\/span>x <span class=\"token operator\">\/<\/span>usr\/local\/bin\/sampler<\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\u5728\/usr\/local\/bin\u76ee\u5f55\u4e0b&#xff0c;\u5c31\u6709\u4e00\u4e2a\u53ef\u6267\u884c\u7684sampler\u6587\u4ef6\u4e86\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419083059-68035f43794c0.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u4f7f\u7528<\/h2>\n<p>Sampler\u7684\u4f7f\u7528\u975e\u5e38\u7b80\u5355&#xff0c;\u53ea\u8981\u5728yaml\u6587\u4ef6\u4e2d\u914d\u7f6e\u597d\u76d1\u63a7\u811a\u672c&#xff0c;\u7136\u540e\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u6267\u884c\u5373\u53ef&#xff1b;<\/p>\n<p><span class=\"token comment\"># \u914d\u7f6e\u6587\u4ef6\u9700\u8981\u6dfb\u52a0\u53ef\u6267\u884c\u6743\u9650<\/span><br \/>\nchmod <span class=\"token operator\">&#043;<\/span>x config<span class=\"token punctuation\">.<\/span>yml<br \/>\n<span class=\"token comment\"># \u7136\u540e\u901a\u8fc7\u914d\u7f6e\u6587\u4ef6\u542f\u52a8Sampler<\/span><br \/>\nsampler <span class=\"token operator\">&#8211;<\/span>c config<span class=\"token punctuation\">.<\/span>yml<\/p>\n<p>\u5982\u679c\u4f60\u60f3\u67e5\u770b\u670d\u52a1\u5668CPU\u548c\u53ef\u7528\u5185\u5b58\u60c5\u51b5&#xff0c;\u53ef\u4ee5\u5728config.yml\u6587\u4ef6\u4e2d\u6dfb\u52a0\u5982\u4e0b\u811a\u672c&#xff0c;\u7136\u540e\u4f7f\u7528\u4e0a\u9762\u7684\u547d\u4ee4\u6765\u8fd0\u884c&#xff1b;<\/p>\n<p>sparklines:<br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: CPU usage<span class=\"token punctuation\">(<\/span><span class=\"token operator\">%<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    rate-ms: 200<br \/>\n    scale: 0<br \/>\n    sample: <span class=\"token function\">ps<\/span> <span class=\"token operator\">&#8211;<\/span>A <span class=\"token operator\">&#8211;<\/span>o <span class=\"token operator\">%<\/span>cpu <span class=\"token punctuation\">|<\/span> awk <span class=\"token string\">&#039;{s&#043;&#061;$1} END {print s}&#039;<\/span><br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: RAM free<span class=\"token punctuation\">(<\/span>MB<span class=\"token punctuation\">)<\/span><br \/>\n    rate-ms: 200<br \/>\n    scale: 0<br \/>\n    sample: free <span class=\"token operator\">&#8211;<\/span>m<span class=\"token punctuation\">|<\/span> grep <span class=\"token string\">&#034;Mem:&#034;<\/span> <span class=\"token punctuation\">|<\/span> awk <span class=\"token string\">&#039;{print $4}&#039;<\/span><\/p>\n<p>\u6267\u884c\u547d\u4ee4\u540e&#xff0c;\u663e\u793a\u6548\u679c\u5982\u4e0b&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419083059-68035f43b5615.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5982\u679c\u4f60\u60f3\u67e5\u770b\u670d\u52a1\u5668\u4e0aDocker\u5bb9\u5668\u7684\u8fd0\u884c\u72b6\u6001&#xff0c;\u53ef\u4ee5\u6dfb\u52a0\u5982\u4e0b\u811a\u672c&#xff1b;<\/p>\n<p>textboxes:<br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: Docker containers stats<br \/>\n    rate-ms: 500<br \/>\n    sample: docker stats <span class=\"token operator\">&#8212;<\/span>no-stream <span class=\"token operator\">&#8212;<\/span>format <span class=\"token string\">&#034;table {{.Name}}\\\\t{{.CPUPerc}}\\\\t{{.MemUsage}}\\\\t{{.PIDs}}&#034;<\/span><\/p>\n<p>\u6267\u884c\u547d\u4ee4\u540e&#xff0c;\u663e\u793a\u6548\u679c\u5982\u4e0b&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419083100-68035f440c6ad.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5982\u679c\u4f60\u60f3\u67e5\u770b\u670d\u52a1\u5668\u7684\u7f51\u7edc\u72b6\u6001&#xff0c;\u4f8b\u5982UDP\u548cTCP\u7684\u6536\u53d1\u60c5\u51b5&#xff0c;\u53ef\u4ee5\u6dfb\u52a0\u5982\u4e0b\u811a\u672c&#xff1b;<\/p>\n<p>barcharts:<br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: Local network activity<br \/>\n    rate-ms: 500<br \/>\n    scale: 0<br \/>\n    items:<br \/>\n      <span class=\"token operator\">&#8211;<\/span> label: UDP bytes in<br \/>\n        sample: netstat <span class=\"token operator\">&#8211;<\/span>anu <span class=\"token punctuation\">|<\/span> awk <span class=\"token string\">&#039;{sum &#043;&#061; $2} END {print sum}&#039;<\/span><br \/>\n      <span class=\"token operator\">&#8211;<\/span> label: UDP bytes out<br \/>\n        sample: netstat <span class=\"token operator\">&#8211;<\/span>anu <span class=\"token punctuation\">|<\/span> awk <span class=\"token string\">&#039;{sum &#043;&#061; $3} END {print sum}&#039;<\/span><br \/>\n      <span class=\"token operator\">&#8211;<\/span> label: TCP bytes in<br \/>\n        sample: netstat <span class=\"token operator\">&#8211;<\/span>ant <span class=\"token punctuation\">|<\/span> awk <span class=\"token string\">&#039;{sum &#043;&#061; $2} END {print sum}&#039;<\/span><br \/>\n      <span class=\"token operator\">&#8211;<\/span> label: TCP bytes out<br \/>\n        sample: netstat <span class=\"token operator\">&#8211;<\/span>ant <span class=\"token punctuation\">|<\/span> awk <span class=\"token string\">&#039;{sum &#043;&#061; $3} END {print sum}&#039;<\/span><\/p>\n<p>\u6267\u884c\u547d\u4ee4\u540e&#xff0c;\u663e\u793a\u6548\u679c\u5982\u4e0b&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419083100-68035f44584f7.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5982\u679c\u4f60\u60f3\u67e5\u770b\u670d\u52a1\u5668\u7684\u65f6\u95f4&#xff0c;\u53ef\u4ee5\u6dfb\u52a0\u5982\u4e0b\u811a\u672c&#xff1b;<\/p>\n<p>asciiboxes:<br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: CST time<br \/>\n    rate-ms: 500<br \/>\n    font: 2d<br \/>\n    border: false<br \/>\n    color: 43<br \/>\n    sample: env TZ&#061;Asia\/Shanghai date <span class=\"token operator\">&#043;<\/span><span class=\"token operator\">%<\/span>r<\/p>\n<p>\u6267\u884c\u547d\u4ee4\u540e&#xff0c;\u663e\u793a\u6548\u679c\u5982\u4e0b&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419083100-68035f44a2f0a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u6211\u4eec\u518d\u628a\u4e0a\u9762\u8fd9\u4e9b\u76d1\u63a7\u4fe1\u606f\u7ec4\u5408\u8d77\u6765&#xff0c;\u5236\u4f5c\u4e00\u4e2a\u9762\u677f\u6765\u770b\u4e0b\u6548\u679c&#xff0c;\u8fd8\u662f\u633a\u70ab\u9177\u7684&#xff1b; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419083100-68035f44edec3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u8fd9\u91cc\u4f7f\u7528\u7684\u811a\u672c\u5982\u4e0b&#xff0c;\u611f\u5174\u8da3\u7684\u5c0f\u4f19\u4f34\u53ef\u4ee5\u5c1d\u8bd5\u4e0b&#xff01;<\/p>\n<p>runcharts:<br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: Search engine response time<br \/>\n    position: <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">[<\/span>0<span class=\"token punctuation\">,<\/span> 0<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">[<\/span>45<span class=\"token punctuation\">,<\/span> 19<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    rate-ms: 500<br \/>\n    triggers:<br \/>\n      <span class=\"token operator\">&#8211;<\/span> title: Latency threshold exceeded<br \/>\n        condition: <span class=\"token function\">echo<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$prev<\/span> &lt; 0.8 &amp;&amp; <span class=\"token variable\">$cur<\/span> &gt; 0.8&#034;<\/span> <span class=\"token punctuation\">|<\/span>bc <span class=\"token operator\">&#8211;<\/span>l<br \/>\n        actions:<br \/>\n            terminal-bell: true<br \/>\n            sound: true<br \/>\n            visual: true<br \/>\n            script: <span class=\"token string\">&#039;say alert: ${label} latency exceeded ${cur} second&#039;<\/span><br \/>\n    legend:<br \/>\n        enabled: true<br \/>\n        details: false<br \/>\n    scale: 2<br \/>\n    items:<br \/>\n      <span class=\"token operator\">&#8211;<\/span> label: BAIDU<br \/>\n        color: 178<br \/>\n        sample: curl <span class=\"token operator\">&#8211;<\/span>o <span class=\"token operator\">\/<\/span>dev\/null <span class=\"token operator\">&#8211;<\/span>s <span class=\"token operator\">&#8211;<\/span>w <span class=\"token string\">&#039;%{time_total}&#039;<\/span>  https:<span class=\"token operator\">\/<\/span><span class=\"token operator\">\/<\/span>www<span class=\"token punctuation\">.<\/span>baidu<span class=\"token punctuation\">.<\/span>com<br \/>\n      <span class=\"token operator\">&#8211;<\/span> label: BING<br \/>\n        sample: curl <span class=\"token operator\">&#8211;<\/span>o <span class=\"token operator\">\/<\/span>dev\/null <span class=\"token operator\">&#8211;<\/span>s <span class=\"token operator\">&#8211;<\/span>w <span class=\"token string\">&#039;%{time_total}&#039;<\/span>  https:<span class=\"token operator\">\/<\/span><span class=\"token operator\">\/<\/span>www<span class=\"token punctuation\">.<\/span>bing<span class=\"token punctuation\">.<\/span>com<br \/>\nbarcharts:<br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: Local network activity<br \/>\n    position: <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">[<\/span>45<span class=\"token punctuation\">,<\/span> 20<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">[<\/span>35<span class=\"token punctuation\">,<\/span> 8<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    rate-ms: 500<br \/>\n    scale: 0<br \/>\n    items:<br \/>\n      <span class=\"token operator\">&#8211;<\/span> label: UDP bytes in<br \/>\n        sample: netstat <span class=\"token operator\">&#8211;<\/span>anu <span class=\"token punctuation\">|<\/span> awk <span class=\"token string\">&#039;{sum &#043;&#061; $2} END {print sum}&#039;<\/span><br \/>\n      <span class=\"token operator\">&#8211;<\/span> label: UDP bytes out<br \/>\n        sample: netstat <span class=\"token operator\">&#8211;<\/span>anu <span class=\"token punctuation\">|<\/span> awk <span class=\"token string\">&#039;{sum &#043;&#061; $3} END {print sum}&#039;<\/span><br \/>\n      <span class=\"token operator\">&#8211;<\/span> label: TCP bytes in<br \/>\n        sample: netstat <span class=\"token operator\">&#8211;<\/span>ant <span class=\"token punctuation\">|<\/span> awk <span class=\"token string\">&#039;{sum &#043;&#061; $2} END {print sum}&#039;<\/span><br \/>\n      <span class=\"token operator\">&#8211;<\/span> label: TCP bytes out<br \/>\n        sample: netstat <span class=\"token operator\">&#8211;<\/span>ant <span class=\"token punctuation\">|<\/span> awk <span class=\"token string\">&#039;{sum &#043;&#061; $3} END {print sum}&#039;<\/span><br \/>\ngauges:<br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: YEAR PROGRESS<br \/>\n    position: <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">[<\/span>45<span class=\"token punctuation\">,<\/span> 0<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">[<\/span>35<span class=\"token punctuation\">,<\/span> 2<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    cur:<br \/>\n        sample: date <span class=\"token operator\">&#043;<\/span><span class=\"token operator\">%<\/span>j<br \/>\n    max:<br \/>\n        sample: <span class=\"token function\">echo<\/span> 365<br \/>\n    min:<br \/>\n        sample: <span class=\"token function\">echo<\/span> 0<br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: DAY PROGRESS<br \/>\n    position: <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">[<\/span>45<span class=\"token punctuation\">,<\/span> 3<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">[<\/span>35<span class=\"token punctuation\">,<\/span> 2<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    cur:<br \/>\n        sample: date <span class=\"token operator\">&#043;<\/span><span class=\"token operator\">%<\/span>H<br \/>\n    max:<br \/>\n        sample: <span class=\"token function\">echo<\/span> 24<br \/>\n    min:<br \/>\n        sample: <span class=\"token function\">echo<\/span> 0<br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: HOUR PROGRESS<br \/>\n    position: <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">[<\/span>45<span class=\"token punctuation\">,<\/span> 6<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">[<\/span>35<span class=\"token punctuation\">,<\/span> 2<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    cur:<br \/>\n        sample: date <span class=\"token operator\">&#043;<\/span><span class=\"token operator\">%<\/span>M<br \/>\n    max:<br \/>\n        sample: <span class=\"token function\">echo<\/span> 60<br \/>\n    min:<br \/>\n        sample: <span class=\"token function\">echo<\/span> 0<br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: MINUTE PROGRESS<br \/>\n    position: <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">[<\/span>45<span class=\"token punctuation\">,<\/span> 9<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">[<\/span>35<span class=\"token punctuation\">,<\/span> 2<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    triggers:<br \/>\n      <span class=\"token operator\">&#8211;<\/span> title: CLOCK BELL EVERY MINUTE<br \/>\n        condition: <span class=\"token string\">&#039;[ $label &#061;&#061; &#034;cur&#034; ] &amp;&amp; [ $cur -eq 0 ] &amp;&amp; echo 1 || echo 0&#039;<\/span><br \/>\n        actions:<br \/>\n            sound: true<br \/>\n            script: say <span class=\"token operator\">&#8211;<\/span>v samantha &#096;date <span class=\"token operator\">&#043;<\/span><span class=\"token operator\">%<\/span>I:<span class=\"token operator\">%<\/span>M%p&#096;<br \/>\n    cur:<br \/>\n        sample: date <span class=\"token operator\">&#043;<\/span><span class=\"token operator\">%<\/span>S<br \/>\n    max:<br \/>\n        sample: <span class=\"token function\">echo<\/span> 60<br \/>\n    min:<br \/>\n        sample: <span class=\"token function\">echo<\/span> 0<br \/>\nsparklines:<br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: CPU usage<br \/>\n    position: <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">[<\/span>0<span class=\"token punctuation\">,<\/span> 20<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">[<\/span>22<span class=\"token punctuation\">,<\/span> 8<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    rate-ms: 200<br \/>\n    scale: 0<br \/>\n    sample: <span class=\"token function\">ps<\/span> <span class=\"token operator\">&#8211;<\/span>A <span class=\"token operator\">&#8211;<\/span>o <span class=\"token operator\">%<\/span>cpu <span class=\"token punctuation\">|<\/span> awk <span class=\"token string\">&#039;{s&#043;&#061;$1} END {print s}&#039;<\/span><br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: RAM free<span class=\"token punctuation\">(<\/span>MB<span class=\"token punctuation\">)<\/span><br \/>\n    position: <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">[<\/span>22<span class=\"token punctuation\">,<\/span> 20<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">[<\/span>23<span class=\"token punctuation\">,<\/span> 8<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    rate-ms: 200<br \/>\n    scale: 0<br \/>\n    sample: free <span class=\"token operator\">&#8211;<\/span>m <span class=\"token punctuation\">|<\/span> grep <span class=\"token string\">&#034;Mem:&#034;<\/span> <span class=\"token punctuation\">|<\/span> awk <span class=\"token string\">&#039;{print $4}&#039;<\/span><br \/>\ntextboxes:<br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: Docker containers stats<br \/>\n    position: <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">[<\/span>0<span class=\"token punctuation\">,<\/span> 29<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">[<\/span>45<span class=\"token punctuation\">,<\/span> 10<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    rate-ms: 500<br \/>\n    sample: docker stats <span class=\"token operator\">&#8212;<\/span>no-stream <span class=\"token operator\">&#8212;<\/span>format <span class=\"token string\">&#034;table {{.Name}}\\\\t{{.CPUPerc}}\\\\t{{.MemUsage}}\\\\t{{.PIDs}}&#034;<\/span><br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: Local weather<br \/>\n    position: <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">[<\/span>69<span class=\"token punctuation\">,<\/span> 31<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">[<\/span>13<span class=\"token punctuation\">,<\/span> 7<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    rate-ms: 10000<br \/>\n    sample: curl wttr<span class=\"token punctuation\">.<\/span>in?0ATQF<br \/>\n    border: false<br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: New York weather<br \/>\n    position: <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">[<\/span>45<span class=\"token punctuation\">,<\/span> 31<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">[<\/span>13<span class=\"token punctuation\">,<\/span> 7<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    rate-ms: 10000<br \/>\n    sample: curl wttr<span class=\"token punctuation\">.<\/span>in\/newyork?0ATQF<br \/>\n    transform: <span class=\"token function\">echo<\/span> 1<br \/>\n    border: false<br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: San Francisco weather<br \/>\n    position: <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">[<\/span>56<span class=\"token punctuation\">,<\/span> 31<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">[<\/span>13<span class=\"token punctuation\">,<\/span> 7<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    rate-ms: 10000<br \/>\n    sample: curl wttr<span class=\"token punctuation\">.<\/span>in\/sanfrancisco?0ATQF<br \/>\n    border: false<br \/>\nasciiboxes:<br \/>\n  <span class=\"token operator\">&#8211;<\/span> title: CST time<br \/>\n    position: <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">[<\/span>45<span class=\"token punctuation\">,<\/span> 12<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">[<\/span>35<span class=\"token punctuation\">,<\/span> 7<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    rate-ms: 500<br \/>\n    sample: env TZ&#061;Asia\/Shanghai date <span class=\"token operator\">&#043;<\/span><span class=\"token operator\">%<\/span>r<br \/>\n    border: false<br \/>\n    font: 2d<\/p>\n<h2>\u603b\u7ed3<\/h2>\n<p>\u4eca\u5929\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u4e86\u4e00\u6b3e\u76f4\u89c2\u6613\u7528\u7684\u670d\u52a1\u5668\u76d1\u63a7\u5de5\u5177Sampler&#xff0c;\u4f7f\u7528\u5b83\u6765\u67e5\u770b\u670d\u52a1\u5668\u8fd0\u884c\u72b6\u6001\u771f\u7684\u662f\u4e00\u76ee\u4e86\u7136\u3002\u5176\u5b9eSampler\u7684\u529f\u80fd\u4e0d\u6b62\u4e8e\u6b64&#xff0c;\u5b83\u8fd8\u80fd\u7528\u4e8e\u76d1\u63a7MySQL\u3001MongoDB\u3001Kafka\u8fd9\u7c7b\u4e2d\u95f4\u4ef6\u7684\u4fe1\u606f&#xff0c;\u8be5\u5174\u8da3\u7684\u5c0f\u4f19\u4f34\u53ef\u4ee5\u5c1d\u8bd5\u4e0b&#xff01;<\/p>\n<h2>\u9879\u76ee\u5730\u5740<\/h2>\n<p>https:\/\/github.com\/sqshq\/sampler<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb851\u6b21\uff0c\u70b9\u8d5e7\u6b21\uff0c\u6536\u85cf12\u6b21\u3002Sampler\u662f\u4e00\u6b3e\u57fa\u4e8eshell\u547d\u4ee4\u7684\u53ef\u89c6\u5316\u76d1\u63a7\u5de5\u5177\uff0c\u901a\u8fc7\u7b80\u5355\u7684YAML\u6587\u4ef6\u6765\u8fdb\u884c\u914d\u7f6e\u5373\u53ef\u5b9e\u73b0\u76d1\u63a7\uff0c\u76ee\u524d\u5728Github\u4e0a\u5df2\u670912k+Star\u3002\u4e0b\u9762\u662f\u4f7f\u7528Sampler\u6765\u8fdb\u884c\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7\u7684\u6548\u679c\u56fe\uff0c\u770b\u8d77\u6765\u8fd8\u662f\u633a\u70ab\u9177\u7684\uff01\u4eca\u5929\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u4e86\u4e00\u6b3e\u76f4\u89c2\u6613\u7528\u7684\u670d\u52a1\u5668\u76d1\u63a7\u5de5\u5177Sampler\uff0c\u4f7f\u7528\u5b83\u6765\u67e5\u770b\u670d\u52a1\u5668\u8fd0\u884c\u72b6\u6001\u771f\u7684\u662f\u4e00\u76ee\u4e86\u7136\u3002\u5176\u5b9eSampler\u7684\u529f\u80fd\u4e0d\u6b62\u4e8e\u6b64\uff0c\u5b83\u8fd8\u80fd\u7528\u4e8e\u76d1\u63a7MySQL\u3001MongoDB\u3001Kafka\u8fd9\u7c7b\u4e2d\u95f4\u4ef6\u7684\u4fe1\u606f\uff0c\u8be5\u5174\u8da3\u7684\u5c0f\u4f19\u4f34\u53ef\u4ee5\u5c1d\u8bd5\u4e0b\uff01_sampler\u76d1\u63a7<\/p>\n","protected":false},"author":2,"featured_media":26654,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,81,43,2134,78,44,250],"topic":[],"class_list":["post-26661","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","tag-python","tag-43","tag-2134","tag-78","tag-44","tag-250"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010\u76d1\u63a7\u5de5\u5177Sampler\u3011\u8fd8\u5728\u7528\u547d\u4ee4\u884c\u67e5\u770b\u670d\u52a1\u5668\u72b6\u6001\uff1f\u8bd5\u8bd5\u8fd9\u6b3e\u76d1\u63a7\u5de5\u5177\u5427\uff0c\u76f4\u89c2\u53c8\u6613\u7528\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/26661.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u76d1\u63a7\u5de5\u5177Sampler\u3011\u8fd8\u5728\u7528\u547d\u4ee4\u884c\u67e5\u770b\u670d\u52a1\u5668\u72b6\u6001\uff1f\u8bd5\u8bd5\u8fd9\u6b3e\u76d1\u63a7\u5de5\u5177\u5427\uff0c\u76f4\u89c2\u53c8\u6613\u7528\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb851\u6b21\uff0c\u70b9\u8d5e7\u6b21\uff0c\u6536\u85cf12\u6b21\u3002Sampler\u662f\u4e00\u6b3e\u57fa\u4e8eshell\u547d\u4ee4\u7684\u53ef\u89c6\u5316\u76d1\u63a7\u5de5\u5177\uff0c\u901a\u8fc7\u7b80\u5355\u7684YAML\u6587\u4ef6\u6765\u8fdb\u884c\u914d\u7f6e\u5373\u53ef\u5b9e\u73b0\u76d1\u63a7\uff0c\u76ee\u524d\u5728Github\u4e0a\u5df2\u670912k+Star\u3002\u4e0b\u9762\u662f\u4f7f\u7528Sampler\u6765\u8fdb\u884c\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7\u7684\u6548\u679c\u56fe\uff0c\u770b\u8d77\u6765\u8fd8\u662f\u633a\u70ab\u9177\u7684\uff01\u4eca\u5929\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u4e86\u4e00\u6b3e\u76f4\u89c2\u6613\u7528\u7684\u670d\u52a1\u5668\u76d1\u63a7\u5de5\u5177Sampler\uff0c\u4f7f\u7528\u5b83\u6765\u67e5\u770b\u670d\u52a1\u5668\u8fd0\u884c\u72b6\u6001\u771f\u7684\u662f\u4e00\u76ee\u4e86\u7136\u3002\u5176\u5b9eSampler\u7684\u529f\u80fd\u4e0d\u6b62\u4e8e\u6b64\uff0c\u5b83\u8fd8\u80fd\u7528\u4e8e\u76d1\u63a7MySQL\u3001MongoDB\u3001Kafka\u8fd9\u7c7b\u4e2d\u95f4\u4ef6\u7684\u4fe1\u606f\uff0c\u8be5\u5174\u8da3\u7684\u5c0f\u4f19\u4f34\u53ef\u4ee5\u5c1d\u8bd5\u4e0b\uff01_sampler\u76d1\u63a7\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/26661.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T08:31:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419083059-68035f43110bd.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/26661.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/26661.html\",\"name\":\"\u3010\u76d1\u63a7\u5de5\u5177Sampler\u3011\u8fd8\u5728\u7528\u547d\u4ee4\u884c\u67e5\u770b\u670d\u52a1\u5668\u72b6\u6001\uff1f\u8bd5\u8bd5\u8fd9\u6b3e\u76d1\u63a7\u5de5\u5177\u5427\uff0c\u76f4\u89c2\u53c8\u6613\u7528\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T08:31:02+00:00\",\"dateModified\":\"2025-04-19T08:31:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/26661.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/26661.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/26661.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010\u76d1\u63a7\u5de5\u5177Sampler\u3011\u8fd8\u5728\u7528\u547d\u4ee4\u884c\u67e5\u770b\u670d\u52a1\u5668\u72b6\u6001\uff1f\u8bd5\u8bd5\u8fd9\u6b3e\u76d1\u63a7\u5de5\u5177\u5427\uff0c\u76f4\u89c2\u53c8\u6613\u7528\uff01\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010\u76d1\u63a7\u5de5\u5177Sampler\u3011\u8fd8\u5728\u7528\u547d\u4ee4\u884c\u67e5\u770b\u670d\u52a1\u5668\u72b6\u6001\uff1f\u8bd5\u8bd5\u8fd9\u6b3e\u76d1\u63a7\u5de5\u5177\u5427\uff0c\u76f4\u89c2\u53c8\u6613\u7528\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/26661.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010\u76d1\u63a7\u5de5\u5177Sampler\u3011\u8fd8\u5728\u7528\u547d\u4ee4\u884c\u67e5\u770b\u670d\u52a1\u5668\u72b6\u6001\uff1f\u8bd5\u8bd5\u8fd9\u6b3e\u76d1\u63a7\u5de5\u5177\u5427\uff0c\u76f4\u89c2\u53c8\u6613\u7528\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb851\u6b21\uff0c\u70b9\u8d5e7\u6b21\uff0c\u6536\u85cf12\u6b21\u3002Sampler\u662f\u4e00\u6b3e\u57fa\u4e8eshell\u547d\u4ee4\u7684\u53ef\u89c6\u5316\u76d1\u63a7\u5de5\u5177\uff0c\u901a\u8fc7\u7b80\u5355\u7684YAML\u6587\u4ef6\u6765\u8fdb\u884c\u914d\u7f6e\u5373\u53ef\u5b9e\u73b0\u76d1\u63a7\uff0c\u76ee\u524d\u5728Github\u4e0a\u5df2\u670912k+Star\u3002\u4e0b\u9762\u662f\u4f7f\u7528Sampler\u6765\u8fdb\u884c\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7\u7684\u6548\u679c\u56fe\uff0c\u770b\u8d77\u6765\u8fd8\u662f\u633a\u70ab\u9177\u7684\uff01\u4eca\u5929\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u4e86\u4e00\u6b3e\u76f4\u89c2\u6613\u7528\u7684\u670d\u52a1\u5668\u76d1\u63a7\u5de5\u5177Sampler\uff0c\u4f7f\u7528\u5b83\u6765\u67e5\u770b\u670d\u52a1\u5668\u8fd0\u884c\u72b6\u6001\u771f\u7684\u662f\u4e00\u76ee\u4e86\u7136\u3002\u5176\u5b9eSampler\u7684\u529f\u80fd\u4e0d\u6b62\u4e8e\u6b64\uff0c\u5b83\u8fd8\u80fd\u7528\u4e8e\u76d1\u63a7MySQL\u3001MongoDB\u3001Kafka\u8fd9\u7c7b\u4e2d\u95f4\u4ef6\u7684\u4fe1\u606f\uff0c\u8be5\u5174\u8da3\u7684\u5c0f\u4f19\u4f34\u53ef\u4ee5\u5c1d\u8bd5\u4e0b\uff01_sampler\u76d1\u63a7","og_url":"https:\/\/www.wsisp.com\/helps\/26661.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T08:31:02+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419083059-68035f43110bd.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/26661.html","url":"https:\/\/www.wsisp.com\/helps\/26661.html","name":"\u3010\u76d1\u63a7\u5de5\u5177Sampler\u3011\u8fd8\u5728\u7528\u547d\u4ee4\u884c\u67e5\u770b\u670d\u52a1\u5668\u72b6\u6001\uff1f\u8bd5\u8bd5\u8fd9\u6b3e\u76d1\u63a7\u5de5\u5177\u5427\uff0c\u76f4\u89c2\u53c8\u6613\u7528\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T08:31:02+00:00","dateModified":"2025-04-19T08:31:02+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/26661.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/26661.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/26661.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010\u76d1\u63a7\u5de5\u5177Sampler\u3011\u8fd8\u5728\u7528\u547d\u4ee4\u884c\u67e5\u770b\u670d\u52a1\u5668\u72b6\u6001\uff1f\u8bd5\u8bd5\u8fd9\u6b3e\u76d1\u63a7\u5de5\u5177\u5427\uff0c\u76f4\u89c2\u53c8\u6613\u7528\uff01"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/26661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=26661"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/26661\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/26654"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=26661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=26661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=26661"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=26661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}