- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
问题:我做了什么:
我下载了适用于 Linux 的试用版 ( https://www.yourkit.com/download/ ) YourKit Java Profiler 并在我的 AWS 实例中进行测试。
(-agentpath:/home/yourkit/yjp-2015-build-15078/bin/linux-x86-64/libyjpagent.so)
错误:我得到了什么:
[YourKit Java Profiler 2015 build 15078] Cannot create log file: /home/ubuntu/.yjp/log/java-1884.log To specify alternate log directory use startup option 'logdir' 15078 0.000: Command line: java -agentpath:/home/yourkit/yjp-2015-build-15078/bin/linux-x86-64/libyjpagent.so 15078 0.000: Executable: /usr/lib/jvm/java-8-oracle/jre/bin/java 15078 0.000: uname: sysname: Linux release: 3.13.0-48-generic version: #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 machine: x86_64 15078 0.000: Linux; fast_thread_cpu_time=1; 64-bit process 15078 0.001: hid: 36022997176V9ZXX3UXV5UWZ513Z98931W 64-bit machine 15078 0.001: Today is 20151201 15078 0.001: full_build_stamp: 15078 201511161426 15078 0.001: Agent library path: /home/yourkit/yjp-2015-build-15078/bin/linux-x86-64/libyjpagent.so 15078 0.001: Agent_OnLoad: orig_options= full_options= 15078 0.001: phase: 1 15078 0.001: jvmtiVersion: 30010203 15078 0.001: vendor: Oracle Corporation 15078 0.001: version: 25.66-b17 15078 0.001: info: mixed mode, sharing 15078 0.001: Java 8 detected 15078 0.001: session_id: 8093167346477 (1448960813,1884) 15078 0.003: line_method: 1 15078 0.008: Reusing existing jar file: /tmp/yjp201511161426.jar 15078 0.008: JVMTI 30010203; 25.66-b17; Oracle Corporation; mixed mode, sharing; JR=0; I=0 15078 0.025: Successfully registered probe classes: 120 Registered: .AWTEvents$EventQueue_dispatchEvent_Probe Registered: .AgentLoadingSupport$JBoss Registered: .AgentLoadingSupport$OSGi1 Registered: .AgentLoadingSupport$OSGi2 Registered: .AgentLoadingSupport$OSGi3 Registered: .Databases$Connection_close_Probe Registered: .Databases$Connection_createStatement_Probe Registered: .Databases$Connection_prepareStatement_Probe Registered: .Databases$DataSource_getConnection_Probe Registered: .Databases$DataSource_setName_Probe Registered: .Databases$DriverManager_getConnection_Probe Registered: .Databases$Driver_connect_Probe Registered: .Databases$InitialContext_lookup_Probe Registered: .Databases$PooledConnection_getConnection_Probe Registered: .Databases$PreparedStatement_addBatch_Probe Registered: .Databases$PreparedStatement_clearBatch_Probe Registered: .Databases$PreparedStatement_execute_Probe Registered: .Databases$Statement_addBatch_Probe Registered: .Databases$Statement_clearBatch_Probe Registered: .Databases$Statement_close_Probe Registered: .Databases$Statement_executeBatch_Probe Registered: .Databases$Statement_execute_Probe Registered: .DatabasesLW$Connection_close_Probe Registered: .DatabasesLW$Connection_createStatement_Probe Registered: .DatabasesLW$Connection_prepareStatement_Probe Registered: .DatabasesLW$DataSource_getConnection_Probe Registered: .DatabasesLW$DriverManager_getConnection_Probe Registered: .DatabasesLW$Driver_connect_Probe Registered: .DatabasesLW$PooledConnection_getConnection_Probe Registered: .DatabasesLW$PreparedStatement_execute_Probe Registered: .DatabasesLW$Statement_close_Probe Registered: .DatabasesLW$Statement_execute_Probe1 Registered: .DatabasesLW$Statement_execute_Probe2 Registered: .Files$FileChannel_read_Probe Registered: .Files$FileChannel_write_Probe Registered: .Files$FileInputStream_close_Probe Registered: .Files$FileInputStream_open_Probe Registered: .Files$FileInputStream_readBytes_Probe Registered: .Files$FileInputStream_read_Probe Registered: .Files$FileOutputStream_close_Probe Registered: .Files$FileOutputStream_open_Probe Registered: .Files$FileOutputStream_writeBytes_Probe Registered: .Files$FileOutputStream_write_Probe Registered: .Files$GetChannel_Probe Registered: .Files$RandomAccessFile_close_Probe Registered: .Files$RandomAccessFile_open_Probe Registered: .Files$RandomAccessFile_readBytes_Probe Registered: .Files$RandomAccessFile_read_Probe Registered: .Files$RandomAccessFile_writeBytes_Probe Registered: .Files$RandomAccessFile_write_Probe Registered: .FilesLW$FileChannelsTelemetry$FileChannel_read_Probe Registered: .FilesLW$FileChannelsTelemetry$FileChannel_write_Probe Registered: .FilesLW$FileChannelsTelemetry$GetChannel_Probe Registered: .FilesLW$FileStreamsTelemetry$FileInputStream_close_Probe Registered: .FilesLW$FileStreamsTelemetry$FileInputStream_open_Probe Registered: .FilesLW$FileStreamsTelemetry$FileInputStream_readBytes_Probe Registered: .FilesLW$FileStreamsTelemetry$FileInputStream_read_Probe Registered: .FilesLW$FileStreamsTelemetry$FileOutputStream_close_Probe Registered: .FilesLW$FileStreamsTelemetry$FileOutputStream_open_Probe Registered: .FilesLW$FileStreamsTelemetry$FileOutputStream_writeBytes_Probe Registered: .FilesLW$FileStreamsTelemetry$FileOutputStream_write_Probe Registered: .FilesLW$RandomAccessFilesTelemetry$RandomAccessFile_close_Probe Registered: .FilesLW$RandomAccessFilesTelemetry$RandomAccessFile_open_Probe Registered: .FilesLW$RandomAccessFilesTelemetry$RandomAccessFile_readBytes_Probe Registered: .FilesLW$RandomAccessFilesTelemetry$RandomAccessFile_read_Probe Registered: .FilesLW$RandomAccessFilesTelemetry$RandomAccessFile_writeBytes_Probe Registered: .FilesLW$RandomAccessFilesTelemetry$RandomAccessFile_write_Probe Registered: .JNDI$DirContext_1 Registered: .JNDI$DirContext_2 Registered: .JNDI$NamingContext_1 Registered: .JNDI$NamingContext_2 Registered: .JUnitTests$Old_Run_Probe Registered: .JUnitTests$Old_SetUp_Probe Registered: .JUnitTests$Old_TearDown_Probe Registered: .JUnitTests$Run_Probe Registered: .JUnitTests$SetUp_Probe Registered: .JUnitTests$TearDown_Probe Registered: .Processes$FileOutputStream_writeBytes_Probe Registered: .Processes$FileOutputStream_write_Probe Registered: .Processes$InputStream_readBytes_Probe Registered: .Processes$InputStream_read_Probe Registered: .Processes$ProcessImpl_getErrorStream_Probe Registered: .Processes$ProcessImpl_getInputStream_Probe Registered: .Processes$ProcessImpl_getOutputStream_Probe Registered: .Processes$ProcessImpl_start_Probe Registered: .Processes$ProcessImpl_waitFor_Probe Registered: .Processes$UnixProcess_waitForProcessExit_Probe Registered: .Servlets$Filter_doFilter_Probe Registered: .Servlets$HttpJspPage_jspService_Probe Registered: .Servlets$Servlet_service_Probe Registered: .ServletsLW$Filter_doFilter_Probe Registered: .ServletsLW$HttpJspPage_jspService_Probe Registered: .ServletsLW$Servlet_service_Probe Registered: .Sockets$ServerSocketChannel_accept_Probe Registered: .Sockets$ServerSocket_accept_Probe Registered: .Sockets$SocketChannel_close_Probe Registered: .Sockets$SocketChannel_connect_Probe Registered: .Sockets$SocketChannel_read_Probe Registered: .Sockets$SocketChannel_write_Probe Registered: .Sockets$SocketInputStream_read_Probe Registered: .Sockets$SocketOutputStream_write_Probe Registered: .Sockets$Socket_close_Probe Registered: .Sockets$Socket_connect_Probe Registered: .Sockets$Socket_getInputStream_Probe Registered: .Sockets$Socket_getOutputStream_Probe Registered: .SocketsLW$ServerSocketChannel_accept_Probe Registered: .SocketsLW$ServerSocket_accept_Probe Registered: .SocketsLW$SocketChannel_close_Probe Registered: .SocketsLW$SocketChannel_connect_Probe Registered: .SocketsLW$SocketChannel_read_Probe Registered: .SocketsLW$SocketChannel_write_Probe Registered: .SocketsLW$SocketInputStream_read_Probe Registered: .SocketsLW$SocketOutputStream_write_Probe Registered: .SocketsLW$Socket_close_Probe Registered: .SocketsLW$Socket_connect_Probe Registered: .TestNG$Test_Probe Registered: .Threads$Thread_constructor_Probe Registered: .Threads$Thread_run_Probe Registered: .Threads$Thread_setName_Probe Registered: .Threads$Thread_start_Probe 15078 0.089: agentStart: 1 15078 0.089: agentStart: 2 15078 0.090: agentStart: OK 15078 0.106: tracing=off: large method: 3945 sun.nio.cs.StandardCharsets$Aliases.init(java.lang.Object[]) 15078 0.211: agentInit: 1 15078 0.212: agentInit: Core loaded 15078 0.216: setTriggers: 15078 0.277: setTriggers: to unregister: 0 15078 0.277: setTriggers: method listeners to register: 0 15078 0.277: setTriggers: OK 15078 0.277: ourUnsafe: true 15078 0.277: shmem 42341490: OK 15078 0.277: shmem 4234148E: OK 15078 0.298: Profiler agent is listening on port 10001 15078 0.301: * HINT *: To get profiling results, connect to the application from the profiler UI 15078 0.301: agentInit: Core.init() called 15078 0.301: agentInit: OK 15078 0.302: startProfiling: 1 15078 0.302: startProfiling: OK 15078 0.302: socket timeout: 30000 15078 0.358: SP: pin java.io.FileNotFoundException 15078 0.358: SP: pin java.security.PrivilegedActionException 15078 0.399: SP: pin java.lang.ClassNotFoundException 15078 0.432: tracing=off: large method: 4108 sun.text.resources.FormatData.getContents() 15078 0.455: SP: pin java.lang.NoSuchFieldException 15078 0.473: tracing=off: large method: 8578 sun.util.resources.CurrencyNames.getContents() Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file) where options include: -d32 use a 32-bit data model if available -d64 use a 64-bit data model if available -server to select the "server" VM The default VM is server, because you are running on a server-class machine. -cp -classpath A : separated list of directories, JAR archives, and ZIP archives to search for class files. -D= set a system property -verbose:[class|gc|jni] enable verbose output -version print product version and exit -version: Warning: this feature is deprecated and will be removed in a future release. require the specified version to run -showversion print product version and continue -jre-restrict-search | -no-jre-restrict-search Warning: this feature is deprecated and will be removed in a future release. include/exclude user private JREs in the version search -? -help print this help message -X print help on non-standard options -ea[:...|:] -enableassertions[:...|:] enable assertions with specified granularity -da[:...|:] -disableassertions[:...|:] disable assertions with specified granularity -esa | -enablesystemassertions enable system assertions -dsa | -disablesystemassertions disable system assertions -agentlib:[=] load native agent library , e.g. -agentlib:hprof see also, -agentlib:jdwp=help and -agentlib:hprof=help -agentpath:[=] load native agent library by full pathname -javaagent:[=] load Java programming language agent, see java.lang.instrument -splash: show splash screen with specified image See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details. 15078 0.492: vmDeath: 1 15078 0.492: vmDeath: 2 15078 0.492: vmDeath: 3 15078 0.492: vmDeath: 4 15078 0.492: vmDeath: OK
问题:
1. Need Installation steps Yourkit Java Profiling for JVM - Ubuntu.
2. How to connect through remote.
最佳答案
我每天都在 YourKitJavaProfiler 上工作,它在我的 debian 操作系统上完美运行。
[YourKit Java Profiler 2015 build 15078] Cannot create log file: /home/ubuntu/.yjp/log/java-1884.log To specify alternate log directory use startup option 'logdir'
根据您的日志文件,il 看起来像运行 java 进程的用户没有对您的 /home/ubuntu/.yjp/log/
文件夹进行写入的访问权限。
向您的用户授予访问权限,重新启动您的应用程序并检查其是否有效。
对于远程分析,请使用分析器代理启动 JVM,就像您在 AWS 服务器上本地所做的那样,并且当远程应用程序运行时,从分析器 UI 连接到它以执行分析。
在某些情况下,您将无法通过运行服务器代理来进行手动分析。请参阅手动启用分析
documentation page .
关于java - 适用于 JVM 的 Yourkit Java 分析 - Ubuntu,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34016761/
我在我的 Xcode 项目目录中输入了以下内容: keytool -genkey -v -keystore release.keystore -alias mykey -keyalg RSA \
假设我有一个像这样的 DataFrame(或 Series): Value 0 0.5 1 0.8 2 -0.2 3 None 4 None 5 None
我正在对一个 Pandas 系列进行相对繁重的应用。有什么方法可以返回一些打印反馈,说明每次调用函数时在函数内部进行打印还有多远? 最佳答案 您可以使用跟踪器包装您的函数。以下两个示例,一个基于完成的
我有一个 DataFrame,其中一列包含列表作为单元格内容,如下所示: import pandas as pd df = pd.DataFrame({ 'col_lists': [[1, 2
我想使用 Pandas df.apply 但仅限于某些行 作为一个例子,我想做这样的事情,但我的实际问题有点复杂: import pandas as pd import math z = pd.Dat
我有以下 Pandas 数据框 id dist ds 0 0 0 0 5 1 0 0 7 2 0 0
这发生在我尝试使用 Gradle 构建时。由于字符串是对象,因此似乎没有理由发生此错误: No signature of method: java.util.HashMap.getOrDefault(
您好,有人可以解释为什么在 remaining() 函数中的 Backbone 示例应用程序 ( http://backbonejs.org/examples/todos/index.html ) 中
我有两个域类:用户 class User { String username String password String email Date dateCreated
问题陈述: 一个 pandas dataframe 列系列,same_group 需要根据两个现有列 row 和 col 的值从 bool 值创建。如果两个值在字典 memberships 中具有相似
apporable 报告以下错误: error: unknown type name 'MKMapItem'; did you mean 'MKMapView'? MKMapItem* destina
我有一个带有地址列的大型 DataFrame: data addr 0 0.617964 IN,Krishnagiri,635115 1 0.635428 IN,Chennai
我有一个列表list,里面有这样的项目 ElementA: Number=1, Version=1 ElementB: Number=1, Version=2 ElementC: Number=1,
我正在编译我的源代码,它只是在没有运行应用程序的情况下终止。这是我得到的日志: Build/android-armeabi-debug/com.app4u.portaldorugby/PortalDo
我正在尝试根据另一个单元格的值更改单元格值(颜色“红色”或“绿色”)。我运行以下命令: df.loc[0, 'Colour'] = df.loc[0, 'Count'].apply(lambda x:
我想弄清楚如何使用 StateT结合两个 State基于对我的 Scalaz state monad examples 的评论的状态转换器回答。 看来我已经很接近了,但是在尝试申请 sequence
如果我已经为它绑定(bind)了集合,我该如何添加 RibbonLibrary 默认的快速访问项容器。当我从 UI 添加快速访问工具项时,它会抛出 Operation is not valid whi
在我学习期间Typoclassopedia我遇到了这个证明,但我不确定我的证明是否正确。问题是: One might imagine a variant of the interchange law
我是一名优秀的程序员,十分优秀!