- 博客(5)
- 资源 (18)
- 收藏
- 关注
原创 关闭cassandra 或者 tomcat 的方式
方式零: 老办法以前经常喜欢用kill -9 来关闭某些进程,例如为了关闭 tomcat,经常食用下面的shellps -ef | grep tomcat | grep -v grep | awk '{print $2}' | xargs kill -9先用 ps -ef | grep tomcat 查出tomcat相关的进程, 再使用 grep -v grep 来过滤掉grep
2016-08-17 19:12:41 4314
原创 增加cqlsh执行命令的timeout时间
在cassandra运行cqlsh的时候,经常碰到的exception:OperationTimedOut: errors={}, last_host=192.168.21.11默认operation的timeout 是10 second, 执行一个操作很容易就timeout,那么怎样修改这个timeout呢?方法一:使用 --request-timeout = 60, 设
2016-08-17 17:43:21 4096
原创 Cassandra JMX 监控配置
最近安装cassandra到产品服务器,很多东西要求就严格了很多,比如perf中使用的JMX,以前是只要知道ip就能访问,但是产品服务器就不行了,这样存在安全隐患,nodetool -h host 可以添加和删除节点。所以今天要讲的东西就是cassandra jmx的授权和访问控制。这里讲的是第一种,最常用的使用密码和访问控制文件方式,其他方式后面有时间再跟进。1 修改$C
2016-08-16 15:25:12 3139 1
转载 less 从末尾查看日志
对于一些很大的log文件,我们用more查看时会很费劲,没有办法直接跳到末尾再向前查看。 我们可以用less来解决,less查看一个文件时,可以使用类似vi的command命令,在command模式下按G跳到文件末尾,再使用f或B来翻页less filename :G 跳到底部,就可以用 向上 向下 箭头 或 向滚动鼠标来查看log了
2016-08-04 15:27:36 22428
HelloWorld WebService Server
2012-11-01
Extjs exporter
2012-08-17
FlashPaper2.2 绿色版
2012-07-10
Android应用开发详解.pdf
2012-05-28
深入浅出EXTJS第2版.pdf part3(共三部分)
2011-12-08
深入浅出EXTJS第2版.pdf part1(共三部分)
2011-12-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人