问题标签 [sar]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
488 浏览

javascript - 如何将 SAR 报告提取到 Excel

如何将 SAR 数据提取到 Excel 文件。我需要将 SAR 数据提取到 Excel 表中的每个选项卡中。示例:一个选项卡中的 CPU 使用情况,类似的另一个选项卡中的网络

0 投票
1 回答
25 浏览

python - Jupiter notebook 中的罚款目录

我有分类 Sar 目标的代码



什么时候跑!我吹错了:

帮帮忙

0 投票
1 回答
77 浏览

linux - 如何让 sar 显示整个月的汇总数据?

我们知道 sar 在 /var/log/sa/sadd 中收集数据,其中 dd 是月份中的日期。使用命令 sar -A -f /var/log/sa/sadd > output.txt 我可以导出一个月中某一天的数据,以便在 Ksar 中打开并分析它。是否可以在单个输出文件中导出超过一天或整个月的数据?

0 投票
0 回答
25 浏览

matlab - matlab如何从SAR图像中分割角反射器

放大图像

我在网上似乎没有找到特殊的算法或方法。我希望你能指导我如何做到这一点。

0 投票
0 回答
83 浏览

java - 如果从不同的 JVMS 调用,系统 CPU 使用率的“SystemCpuLoad”会有所不同

我有两个 JVM,其中一个 JVM(JVM 1)是轻量级的,另一个 JVM(JVM 2)执行繁重的任务。当我尝试通过获取“SystemCpuLoad”从 JVM 获取系统使用情况时,JVM 1 给出了正确的 CPU 值(匹配 SAR 值),而另一个执行繁重工作的 JVM 给出了与 SAR 值不匹配的高 CPU 使用率。遵循以下方法:

任何人都可以帮助我如何获得正确的系统 CPU 使用率,而不管 JVM 进程是执行繁重的任务还是轻量的任务?

0 投票
1 回答
52 浏览

shell - 使用 SAR 命令监控可用磁盘空间数据

https://i.stack.imgur.com/aEhxo.png > 我想在图表上显示过去一小时的磁盘空间使用情况,例如

我正在创建一个 API,但我希望 SAR 命令执行列出的磁盘使用输出,我找到了该命令,但它显示了磁盘使用的实时详细信息我已经包含了图像,我想要最近一小时使用的详细信息,请帮忙,或者如果你有任何疑问,问我。图片 在此图片中,显示的使用情况是实时使用情况

0 投票
0 回答
80 浏览

pine-script - Pine Script - 如何从第一个 Sars 蜡烛 4H 中绘制一个矩形?

我是 pine 脚本的新手。我正在尝试从第一个 4H Sars 中绘制一个扩展的右矩形。我发现了这一点,但它并不完全正确。

蓝盒但不是第一次非典蜡烛

蓝盒但不是第一次非典蜡烛

第一个 SARS Box 4H 的图像,我需要 DAY WEEK:

第一个 SARS Box 4H 的图像,我需要 DAY WEEK

我也在努力

从 HH Pivot绘制垂直线

DAY HH Candle Condition 1st Sar 的垂直线

DAY HH Candle Condition 1st Sar 的垂直线

从最高蜡烛的 HH Pivot 为布林带 4H、DAY、WEEK ETC ALL绘制水平价格线

最高蜡烛的布林带价格线

最高蜡烛的布林带价格线

0 投票
1 回答
78 浏览

linux - 了解 sysstat sar 内存输出

我正在为未来的更多流量做准备,我想确保服务器可以处理它。

运行 sar -q,“3.5”的负载在 32 CPU 架构上似乎并不多:

CPU SAR 输出

但是,我不确定内存。

运行 sar -r 显示 %memused 为 98.5%,%commit 仅为 13.60:

内存 SAR 输出

运行 htop 似乎也可以:14.9G/126G。这是否意味着在可用的 126 个 Gig 中,应用程序仅使用了 14.9 个 Gig?

在此处输入图像描述

我对 sar -r 输出更感兴趣。

%memused 看起来98.5%而 %commit 只有13.6% 我想知道这是什么意思。

0 投票
0 回答
4 浏览

linux - ssystat sar utility: Output file doesn't change for different options

I'm using SYSSTAT 12.2.1 built on a generic Linux 5.4 kernel (Yocto build) for STM32MP (Cortex-A7). I've used this utility in the past to do system profiling: Collect data for a time, dump to file, convert file, plot the output in excel. After adding this utility to the Yocto build and loading on the Discovery board, I set about collecting various statistics. The initial CPU Usage (-u) seemed to work just fine, data collected, converted, plotted. All Good. Next I collected data for 13 other characteristics (-q, -b, -B, -w, -v, etc). After converting the files for CSV output to be read by Excel, imagine my surprise when the output file for -q is filled with data for a -u output. The commands work OK interactively. The -o will create the file OK, but the output in the file is ALWAYS for the -u command. Example:

This is supposed to be a "stable" release. I'm really kind of at my wits end here trying to figure this out. Different parameter orders. The documented version to run in the background produces similar results. So I'm thinking that something internally in the application is having an issue possibly with the kernel?
I've send this information to sysstat, but have not yet received a response, hoping someone here has encountered this issue before?? Thanks for your expertise and time. Regards, Stephen Beckwith

0 投票
0 回答
12 浏览

r - 如何使用 R 运行空间面板数据模型,特别是使用空间自回归 (SAR) 模型

我有一些如下数据

  1. 身份证城市
  2. 城市
  3. 城市坐标
  4. 登革热病例
  5. 温度
  6. 雨量
  7. 时间(我使用的间隔时间是 2 年的一个月,这意味着我有 24 个时间序列单位)

您能指导我使用 R 使用 SAR 模型进行空间面板数据分析吗?谢谢你