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()的更多相关文章

  1. 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 ...

  2. zookeeper: zkServer.sh status没有到主机的路由

    zookeeper: zkServer.sh status没有到主机的路由 没有到主机的路由这种问题很常见,多数是由机器的防火墙没有关闭. Ubuntu查看防火墙状态ufw status 关闭防火墙u ...

  3. mongoDB sh.status() too many chunks to print

    too many chunks to print, use verbose if you want to force print 想要看到详细的信息则需要执行: mongos> sh.statu ...

  4. zookeeper命令行(zkCli.sh&zkServer.sh)使用及四字命令

    zookeeper提供了很多方便的功能,方便我们查看服务器的状态,增加,修改,删除数据(入口是zkServer.sh和zkCli.sh). 还提供了一系列四字命令,方便我们跟服务器进行各种交互,来确认 ...

  5. 【Apache ZooKeeper】命令行zkCli.sh使用指南

    ZooKeeper命令行 原文                   http://blog.csdn.net/ganglia/article/details/11606807 ZooKeeper客户端 ...

  6. mongoDB rs和sh关键字的作用

    rs是一个全局变量,其其中定义了很多分片操作的辅助函数, 可以sh.help()查看使用的辅助函数 这些是rs和sh所有函数 在mongoDB中有两种方法表示 例 sh.enableSharding( ...

  7. zookeeper之 zkServer.sh命令、zkCli.sh命令、四字命令

    一.zkServer.sh 1.查看 zkServer.sh 帮助信息[root@bigdata05 bin]# ./zkServer.sh helpZooKeeper JMX enabled by ...

  8. CentOS6上实现Tomcat8 service启动,并查看status

    service配置脚本,“/etc/init.d/tomcat”,实现通过"service tomcat status " 查看tomcat状态,并输出PID,见脚本 # desc ...

  9. Zookeeper命令行zkCli.sh&zkServer.sh的使用(四)

    上篇博文,我们成功的安装和启动了zookeeper服务器,zookeeper还提供了很多方便的功能,方便我们查看服务器的状态,增加,修改,删除数据(入口是zkServer.sh和zkCli.sh).还 ...

随机推荐

  1. spring mvc和spring配置扫描包问题

    spring mvc和spring俩配置文件,其中都要配置扫描包. <context:component-scan base-package="com.controller" ...

  2. 基础C++ functional

    函数对象:可以定义函数对象. sort(this->sprites.begin(), this->sprites.end(), [](const struct SpriteInfo &am ...

  3. Ubuntu kill命令用法详解

    转自:Ubuntu kill命令用法详解 1. kill   作用:根据进程号杀死进程   用法: kill [信号代码] 进程ID   root@fcola:/# ps -ef | grep sen ...

  4. unity 环境增强

        早上过来解决两个问题: (1)VS2012 配置下 VA_X 插件,现在VS在字体颜色方面已经提高很多,但是在类成员实时显示方面还是不方便,或者我没找到吧 (2)安装unityVs插件,微软把 ...

  5. 未在本地计算机上注册“Microsoft.ACE.OLEDB.12.0”提供程序。

    笔记本装的是windows 7旗舰版64位系统,使用的是MS Office 2007(Microsoft.ACE.OLEDB.12.0,32位程序),开发用的是Visual Studio 2010,我 ...

  6. MZhong's Cover Letter

    Application for front-end developer position in Chicago Office Dear HR, I am writing to apply for th ...

  7. [转]20个高级Java面试题汇总

    http://saebbs.com/forum.php?mod=viewthread&tid=37567&page=1&extra= 这是一个高级Java面试系列题中的第一部分 ...

  8. Rochester Memory Hardware Error Research Project

    http://www.cs.rochester.edu/research/os/memerror/

  9. include pointers as a primitive data type

    Computer Science An Overview _J. Glenn Brookshear _11th Edition Many modern programming languages in ...

  10. foreach遍历 < 创建表 >练习题

    原表如下: 效果图如下: <table border="1" width="500" height="260"><tr&g ...