如何在神经网络中查看jvm指标报告(How to see jvm metrics report in ganglia web)
我需要在ganglia报告上看到jvm指标,我在节点上设置jmxetric并在使用简单的'telnet localhost 8649'时查看jvm指标。
我有glia / gmetad在另一台机器上运行的ganglia-web,它显示标准报告,如cpu / memory,但不是新的jvm指标。
我应该手动配置ganglia-web以使其显示jvm组吗?
我正在使用ganglia 3.3.7。
I need to see jvm metrics on ganglia report, I've set up jmxetric on a node and see jvm metrics when using simple 'telnet localhost 8649'.
I have ganglia-web with gmond/gmetad running on another machine and it shows standard reports such as cpu/memory, but not new jvm metrics.
Should I configure ganglia-web manually to make it show jvm group as well?
I'm using ganglia 3.3.7.
原文:https://stackoverflow.com/questions/15065361
最满意答案
由于这似乎是内存覆盖(参见您对user1008646的评论 ),您可以尝试按照以下步骤操作:
- 首先尝试找出被覆盖的内存地址。 你提到
s := IntToHex(2129827392, 8);
失败。 找出正确的值,然后找出它是否在TwoHexLookUp
。- 如果它在
TwoHexLookUp
,则设置数据更改的断点(请参阅如何在对象字段值更改时定义断点?并在如何执行此操作时添加数据断点 )。- 运行您的应用程序,直到断点触发。
广告1:可能最简单的方法是查看
TwoHexLookUp
哪个值更改具有相同的效果以从s := IntToHex(2129827392, 8);
获得错误的结果s := IntToHex(2129827392, 8);
正如你在运行时观察到的那样。星期四我正在客户端做一些Delphi工作,所以我可能有时间深入挖掘一下。
编辑
当您使用F7逐步完成您的过程时,您确实首先进入SysInit
。你可以做的就是在
TwoHexLookup
数组上设置一个断点。
然后是F9 / F8 / F7(取决于你想要的粒度)并在Watch窗口中关注数组。 这应该让你去。As this appears to be a memory overwrite (cf. your comment to user1008646) you can try to follow these steps:
- First try to find out which memory address gets overwritten. You mention that
s := IntToHex(2129827392, 8);
fails. Find out the correct value, then find out if it is withinTwoHexLookUp
.- If it is within
TwoHexLookUp
, then set a data-changed breakpoint (see How to define a breakpoint whenever an object field value changes? and Add data breakpoint on how to do this).- Run your app until the breakpoint fires.
Ad 1: probably the easiest way is to look into
TwoHexLookUp
which value change has the same effect to get the wrong result froms := IntToHex(2129827392, 8);
as you observe at run-time.Thursday I'm doing some Delphi work at a client, so then I might have time to dig a bit deeper.
Edit
When you step through your process with F7, you indeed get into theSysInit
first.What you can do there is already set a breakpoint on the
TwoHexLookup
array.
Then either F9/F8/F7 (depending on the granularity you want) and keep an eye on the array in a Watch window. That should get you going.
相关问答
更多-
您的字节顺序错误。 第一个字节似乎是死区或以其他方式占用,我打赌你离开FF离开你向我们展示的结尾。 分成单词: 00 F0C46C38 F0C46C38 FEFFFFFF FDFFFF 现在,反转前两个单词的字节顺序,你得到: 0x386CC4F0 = 946652400 这是 $ date -ur 946652400 Fri Dec 31 15:00:00 UTC 1999 因此在UTC + 9时区的午夜时间是1月1日午夜。 太接近巧合了,我猜你或者你从那里得到的数据来自那个时区。 现在,接下来的 ...
-
如何从ASCII转换为十六进制值并增加char指针?(How do I convert from ASCII to hex values and also increment char pointers?)[2023-06-05]
这可能会让你开始。 注释代码: #include#include int main() { // set integer output to uppercase-, hex-mode // with '0' as fill character for small byte values std::cout << std::hex << std::uppercase << std::setfill('0'); // declare ... -
你的问题在这里: void printMemoryAtAddress(void) { int input; printf("Enter the address (without the 0x):"); scanf("%x", &input); printf("You entered: %x \n", input); printf("Address \tByte value \n"); int i; for(i=0;i
AVR内存和intel十六进制(AVR memory and intel hex)[2023-02-20]
Intel十六进制使用字节地址。 PC程序计数器是指16位字地址。 如果您的单词地址是“实际地址”,那么只需加倍表示十六进制文件中该行起始地址的数字即可。 “复杂的内存结构”是什么意思? 无论地址空间如何分解,内存位置都需要唯一的地址。 我不熟悉程序存储器空间不以0开头并且线性延续,但如果有这样一个方案,intel hex文件中的一行可以指定从任何地址开始的任何连续存储器部分的内容。 编辑: intel hex文件的每行只能包含最多255个字节。 通常,数据被分成16或32字节的块。 每行包含块的起始地址( ...将数据集文件(十六进制值)读取到内存块 - 第2部分(Reading a dataset file(Hex values) onto a block of memory-part 2)[2022-07-21]
使用new无法分配二维MxN阵列。 此代码中的解决方法包括分配M指针的1维数组和MxN元素的另一个数组分配。 然后将M个指针设置为指向元素的数组中每行的M个第一元素。 这里我们有两个二维数组,我称之为(显而易见的原因)D和F.目前还不清楚D有多大 - rctheader.glb_numImg的价值是多少? 第一个循环将12个双精度数读入D行,并跳过F行的浮点数据,执行具有适当正偏移量的seekg以添加到当前位置(即前进)。 这是rctheader.glb_numImg次。 我在这段代码中没有看到一些东西:一 ...您可以检查该值是否设置了任何其他位而不是flags枚举的总位掩码。 如果是这样,返回数字,否则正常的tostring: public static string GetDescription(EnumName value) { var enumtotal = Enum.GetValues(typeof(EnumName)).Cast().Aggregate((i1, i2) => i1 | i2); //this could be buffered for performance ... 由于这似乎是内存覆盖(参见您对user1008646的评论 ),您可以尝试按照以下步骤操作: 首先尝试找出被覆盖的内存地址。 你提到s := IntToHex(2129827392, 8); 失败。 找出正确的值,然后找出它是否在TwoHexLookUp 。 如果它在TwoHexLookUp ,则设置数据更改的断点(请参阅如何在对象字段值更改时定义断点?并在如何执行此操作时添加数据断点 )。 运行您的应用程序,直到断点触发。 广告1:可能最简单的方法是查看TwoHexLookUp哪个值更改具有相同的效果以从 ...除了ks1322的用户定义命令之外, gdb python API还添加了一个GDB命令来打印出各种格式的表格。为vars添加多个参数以打印出你想要的表格应该不会太难。 class Foo (gdb.Command): """dereference and print in various formats""" def __init__ (self): super (Foo, self).__init__ ("foo", gdb.COMMAND_USER, gdb. ...由于语言的限制,很难干净地完成这项工作。 也许您可以做的最好的事情是创建一个具有重叠的整数和单个字段的变体记录类型。 type TSingleIntegerVariantRec = record case Integer of 0: (I: Integer); 1: (S: Single); end; 一旦有了这种类型,就可以使用整数字段声明类型常量,然后读取单个字段。 const LARGEST_SINGLE_LESS_THAN_ZERO: TSingleIn ...使用指针来处理a的各个字节并更改printf以使用%x格式说明符,例如: int main(void) { int a = 3; unsigned char *p = (unsigned char *)&a; int i; printf("a ="); for (i = 0; i < sizeof(a); ++i) { printf(" %02x", p[i]); } printf("\n"); return 0; } ...相关文章
更多- 使用Ganglia监控Hadoop集群
- Hadoop Metrics体系架构分析
- 使用Ganglia监控Hadoop
- CentOS5.2下使用Ganglia对Hadoop进行监控
- 关于Hadoop集成Ganglia相关问题
- Hadoop metrics 各参数解释
- 如何查看自己机器上的JVM的版本
- Ganglia监控Solr
- 用 Ganglia 监控Hadoop集群
- Hadoop笔记:Ganglia结构和安装
最新问答
更多- 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
- 如何通过引用返回对象?(How is returning an object by reference possible?)
- 矩阵如何存储在内存中?(How are matrices stored in memory?)
- 每个请求的Java新会话?(Java New Session For Each Request?)
- css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
- 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
- xcode语法颜色编码解释?(xcode syntax color coding explained?)
- 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
- 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
- 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
- 西安哪有PLC可控制编程的培训
- 在Entity Framework中选择基类(Select base class in Entity Framework)
- 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
- 电脑二级VF有什么用
- Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
- 金华英语角.
- 手机软件如何制作
- 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
- 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
- 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
- Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
- 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
- python的访问器方法有哪些
- DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
- 在Ruby中对组合进行排序(Sorting a combination in Ruby)
- 网站开发的流程?
- 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
- 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
- 透明度错误IE11(Transparency bug IE11)
- linux的基本操作命令。。。