查看当前tcp监听端口[op@TIM html]$ netstat -nltp(Not all processes could be identified, non-owned process infowill not be shown, you would have to be root to s...
分类:
Web程序 时间:
2015-06-17 01:47:12
阅读次数:
162
Error:Execution failed for task ':app:dexDebug'.> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/xxx/tools/android/jdk1.7.0_71/bin/java'' fin...
分类:
移动开发 时间:
2015-06-16 16:48:51
阅读次数:
152
当应用的某一个组件(四大组件:Activity,Service,BroadcastReceiver,ContentProvider)启动同时应用没有其他的组件正在运行,也就是说应用的第一个组件启动的时候,安卓系统为这个应用开启一个新的Linux进程,这个进程中包含一个线程。默认情况下,一个应用的所有...
分类:
移动开发 时间:
2015-06-16 16:04:59
阅读次数:
237
转自:http://www.hongkiat.com/blog/clean-install-mavericks/During the installation process, you mayexperiencethe indicator hanging at“About a second rema...
分类:
系统相关 时间:
2015-06-16 14:38:46
阅读次数:
612
在 java 的 bin 目录下,jdk 提供了很多使用的工具,下面学习一些监控和故障处理的工具。 名称 作用 jps JVM process status tool,显示指定系统内所有的 HotSpot 虚拟机进程? jstat JVM statistics monitoring ...
分类:
编程语言 时间:
2015-06-16 11:18:20
阅读次数:
127
分享2个实用的nodejs模块 kp 根据端口号杀死进程,尤其对于pm2的集群模式,僵尸进程有效 mount-routes 根据路径来自动加载路由,让开发更简单 kp kp is a tool for kill process by server port. only use for ma...
分类:
Web程序 时间:
2015-06-16 11:17:34
阅读次数:
233
在 java 的 bin 目录下,jdk 提供了很多使用的工具,下面学习一些监控和故障处理的工具。名称作用jpsJVM process status tool,显示指定系统内所有的 HotSpot 虚拟机进程jstatJVM statistics monitoring tool,用于收集 HotSp...
分类:
编程语言 时间:
2015-06-16 10:50:29
阅读次数:
155
$$Shell本身的PID(ProcessID)$!Shell最后运行的后台Process的PID$?最后运行的命令的结束代码(返回值)$-使用Set命令设定的Flag一览$*所有参数列表。如"$*"用「"」括起来的情况、以"$1 $2 … $n"的形式输出所有参数。$@所有参数列表。如"$@"用「...
分类:
系统相关 时间:
2015-06-15 20:22:23
阅读次数:
166
使用Messenger 上面的方法只能在同一个进程里才能用,如果要与另外一个进程的Service进行通信,则可以用Messenger。 其实实现IPC(Inter-Process Communication,进程间通信)的方式,还有AIDL,但推荐使用Messenger,有两点好处: 1. 使用.....
分类:
系统相关 时间:
2015-06-15 20:09:10
阅读次数:
164
要在unity中调用Android系统的震动,需要一个Vibrator类 ,通过AndroidManifest.xml文件设置权限了
如下:
在这里先给贴出英文文档及大概的翻译 :
Class that operates the vibrator on the device.
If your process exits, any vibration you started wi...
分类:
移动开发 时间:
2015-06-15 18:47:44
阅读次数:
201