sh.status()
mongos> sh.status({"verbose":1})sh.status({"verbose":1})
--- Sharding Status ---
sharding version: {
"_id" : 1,
"minCompatibleVersion" : 5,
"currentVersion" : 6,
"clusterId" : ObjectId("57199835d058c00f4d3281a8")
}
shards:
{ "_id" : "shard0000", "host" : "localhost:30000" }
{ "_id" : "shard0001", "host" : "localhost:30001" }
{ "_id" : "shard0002", "host" : "localhost:30002" }
balancer:
Currently enabled: no
Currently running: no
Failed balancer rounds in last 5 attempts: 0
Migration Results for the last 24 hours:
No recent migrations
databases:
{ "_id" : "admin", "partitioned" : false, "primary" : "config" }
{ "_id" : "test", "partitioned" : true, "primary" : "shard0001" }
test.users
shard key: { "username" : 1 }
chunks:
shard0001 22
{ "username" : { "$minKey" : 1 } } -->> { "username" : "user1421" } on : shard0001 Timestamp(1, 0)
{ "username" : "user1421" } -->> { "username" : "user18424" } on : shard0001 Timestamp(1, 1)
{ "username" : "user18424" } -->> { "username" : "user22638" } on : shard0001 Timestamp(1, 2)
{ "username" : "user22638" } -->> { "username" : "user26852" } on : shard0001 Timestamp(1, 3)
{ "username" : "user26852" } -->> { "username" : "user31065" } on : shard0001 Timestamp(1, 4)
{ "username" : "user31065" } -->> { "username" : "user3528" } on : shard0001 Timestamp(1, 5)
{ "username" : "user3528" } -->> { "username" : "user39494" } on : shard0001 Timestamp(1, 6)
{ "username" : "user39494" } -->> { "username" : "user43707" } on : shard0001 Timestamp(1, 7)
{ "username" : "user43707" } -->> { "username" : "user47921" } on : shard0001 Timestamp(1, 8)
{ "username" : "user47921" } -->> { "username" : "user52134" } on : shard0001 Timestamp(1, 9)
{ "username" : "user52134" } -->> { "username" : "user56349" } on : shard0001 Timestamp(1, 10)
{ "username" : "user56349" } -->> { "username" : "user60562" } on : shard0001 Timestamp(1, 11)
{ "username" : "user60562" } -->> { "username" : "user64777" } on : shard0001 Timestamp(1, 12)
{ "username" : "user64777" } -->> { "username" : "user68991" } on : shard0001 Timestamp(1, 13)
{ "username" : "user68991" } -->> { "username" : "user73203" } on : shard0001 Timestamp(1, 14)
{ "username" : "user73203" } -->> { "username" : "user77418" } on : shard0001 Timestamp(1, 15)
{ "username" : "user77418" } -->> { "username" : "user81631" } on : shard0001 Timestamp(1, 16)
{ "username" : "user81631" } -->> { "username" : "user85846" } on : shard0001 Timestamp(1, 17)
{ "username" : "user85846" } -->> { "username" : "user90059" } on : shard0001 Timestamp(1, 18)
{ "username" : "user90059" } -->> { "username" : "user94273" } on : shard0001 Timestamp(1, 19)
{ "username" : "user94273" } -->> { "username" : "user98488" } on : shard0001 Timestamp(1, 20)
{ "username" : "user98488" } -->> { "username" : { "$maxKey" : 1 } } on : shard0001 Timestamp(1, 21)
mongos>
sh.status()的更多相关文章
- zookeeper-3.4.5安装&3台机器安装之后 ./zkServer.sh status 之后会显示“Error contacting service. It is probably not running.”的解决办法
安装文件上传工具:yum install lrzsz成功安装后有如下的提示:Complete![root@server01 apps]# yum install lrzszLoaded plugins ...
- zookeeper: zkServer.sh status没有到主机的路由
zookeeper: zkServer.sh status没有到主机的路由 没有到主机的路由这种问题很常见,多数是由机器的防火墙没有关闭. Ubuntu查看防火墙状态ufw status 关闭防火墙u ...
- mongoDB sh.status() too many chunks to print
too many chunks to print, use verbose if you want to force print 想要看到详细的信息则需要执行: mongos> sh.statu ...
- zookeeper命令行(zkCli.sh&zkServer.sh)使用及四字命令
zookeeper提供了很多方便的功能,方便我们查看服务器的状态,增加,修改,删除数据(入口是zkServer.sh和zkCli.sh). 还提供了一系列四字命令,方便我们跟服务器进行各种交互,来确认 ...
- 【Apache ZooKeeper】命令行zkCli.sh使用指南
ZooKeeper命令行 原文 http://blog.csdn.net/ganglia/article/details/11606807 ZooKeeper客户端 ...
- mongoDB rs和sh关键字的作用
rs是一个全局变量,其其中定义了很多分片操作的辅助函数, 可以sh.help()查看使用的辅助函数 这些是rs和sh所有函数 在mongoDB中有两种方法表示 例 sh.enableSharding( ...
- zookeeper之 zkServer.sh命令、zkCli.sh命令、四字命令
一.zkServer.sh 1.查看 zkServer.sh 帮助信息[root@bigdata05 bin]# ./zkServer.sh helpZooKeeper JMX enabled by ...
- CentOS6上实现Tomcat8 service启动,并查看status
service配置脚本,“/etc/init.d/tomcat”,实现通过"service tomcat status " 查看tomcat状态,并输出PID,见脚本 # desc ...
- Zookeeper命令行zkCli.sh&zkServer.sh的使用(四)
上篇博文,我们成功的安装和启动了zookeeper服务器,zookeeper还提供了很多方便的功能,方便我们查看服务器的状态,增加,修改,删除数据(入口是zkServer.sh和zkCli.sh).还 ...
随机推荐
- jquery格式化时间戳 2011-01-01
/* * 时间戳转换日期 * @param <int> unixTime 待时间戳(秒) ...
- PHP防止用户重复提交表单
我们提交表单的时候,不能忽视的一个限制是防止用户重复提交表单,因为有可能用户连续点击了提交按钮或者是攻击者恶意提交数据,那么我们在提交数据后的处理如修改或添加数据到数据库时就会惹上麻烦. 那么如何规避 ...
- jquery循环绑定事件
<html> <head> <title></title> <script type="text/javascript" sr ...
- Structured Streaming Programming Guide
https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html http://www.slidesha ...
- 【No.3 Ionic】超级逗表情 App
本人使用Ionic框架开发了一个 超级逗表情 的App 依赖插件 cordova-plugin-app-version 0.1.9 "AppVersion" cordova-plu ...
- 在Vista或更高版本Windows系统中, 获取超大图标的办法
这几天写个小东西, 需要获取系统正在运行的程序图标, 一般来说32*32就足够了, 不过既然Win7能够支持超大图标(256*256), 咱们也需要与时俱进, 说不定什么时候遇到个变态客户就有这要求了 ...
- Nginx 启动脚本/重启脚本
第一步先运行命令关闭nginx sudo kill `cat /usr/local/nginx/logs/nginx.pid` 第二步 vi /etc/init.d/nginx 输入以下内容 #!/b ...
- FTS抓包看AVDTP
1.概述 测试过程为打开Audio连接,没有听音乐,人后断开Audio连接,主要目的是为了测试AVDTP的工作流程. 2.Frame分析 首先贴出抓取的关于AVDTP的包: 在L2CAP ...
- nrf51822-广播模式
解决以下几个问题: 1 SDK9 中的几种广播模型 2 广播超时如何进入睡眠 3 如何取消广播超时睡眠使其可以无限广播. 1 SDK9 中的几种广播模型 Nordci SDK对于广播方面有一个模块.这 ...
- lifecycle of opensource products--x86-64
x86是指intel的开发的一种32位指令集,从386开始时代开始的,一直沿用至今,是一种cisc指令集,所有intel早期的cpu,amd早期的cpu都支持这种指令集,ntel官方文档里面称为“IA ...