Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/performance/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Performance Solaris prstat-对“的定义”;最近";用百分比表示的时间_Performance_Unix_Cpu_Monitoring_Solaris - Fatal编程技术网

Performance Solaris prstat-对“的定义”;最近";用百分比表示的时间

Performance Solaris prstat-对“的定义”;最近";用百分比表示的时间,performance,unix,cpu,monitoring,solaris,Performance,Unix,Cpu,Monitoring,Solaris,prstat的手册页(在我的例子中是Solaris 10)指出,CPU%输出是“最近CPU时间的百分比”。我试图更深入地理解“最近”在本文中的含义——它是采样前的一个定义时间量,它是否与采样间隔有关,等等?欣赏任何见解,尤其是参考支持文档。我已经搜索过了,但没有找到一个好的答案。谢谢 阿德里安 内核维护您在底部看到的数据——这三个数字。 对于每个过程 正常运行时间显示这些数字。这些是负载平均值的“最近”时间-位于prstat底部的行。1分钟、5分钟和15分钟 最近==1分钟的取样时间(最后60

prstat的手册页(在我的例子中是Solaris 10)指出,CPU%输出是“最近CPU时间的百分比”。我试图更深入地理解“最近”在本文中的含义——它是采样前的一个定义时间量,它是否与采样间隔有关,等等?欣赏任何见解,尤其是参考支持文档。我已经搜索过了,但没有找到一个好的答案。谢谢

  • 阿德里安

    • 内核维护您在底部看到的数据——这三个数字。 对于每个过程

      正常运行时间
      显示这些数字。这些是负载平均值的“最近”时间-位于
      prstat
      底部的行。1分钟、5分钟和15分钟

      最近==1分钟的取样时间(最后60秒)。这些数字是平均数,这就是为什么当您第一次启动
      prstat
      时,数字和进程通常会发生变化

      在第一个过程中,您可能会看到像nscd这样的进程,它们有很多cpu,但已经运行了很长时间。第一次显示迭代是完全历史的。之后,这些数字反映了最近一分钟的平均值

      <>你应该考虑让SAR采样得到更好的图片。 想要参考资料-请尝试: