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. PHP 开发 APP 接口 学习笔记与总结 - XML 方式封装通信接口

    1.PHP 生成 XML 数据 ① 拼接字符串 ② 使用系统类(DomDocument,XMLWriter,SimpleXML) 例1 使用 PHP 系统类中的 DomDocument 类: < ...

  2. php中json_decode()和json_encode()的使用方法

    php中json_decode()和json_encode()的使用方法 作者: 字体:[增加 减小] 类型:转载   json_decode对JSON格式的字符串进行编码而json_encode对变 ...

  3. VS 本机调试

    VS~通过IIS网站启用"域名"调试 在我们开发网站时,对某些信息进行序列化时,通常使用session,cookies,nosql等技术,而为了安全,我们在服务器上很多情况都做了防 ...

  4. apache安装 mod_evasive

    centos环境下安装 首先安装httpd-devel yum安装mod_evasive 配置mod_evasive: DOSHashTableSize 3097      #哈希表大小(无需修改)  ...

  5. thinkPhp 3.1.3的验证码无法显示的问题

    Image帮助类的output方法中,在下面的代码 header("Content-type: image/" . $type); 前增加代码: ob_end_clean();

  6. linux下php-fpm 启动参数及重要配置

    约定几个目录 /usr/local/php/sbin/php-fpm/usr/local/php/etc/php-fpm.conf/usr/local/php/etc/php.iniI. php-fp ...

  7. bootstrap static popover

    jq $('.popover').show().css('position','relative');

  8. von Neumann architecture

    COMPUTER ORGANIZATION AND ARCHITECTURE DESIGNING FOR PERFORMANCE NINTH EDITION 3.1 COMPUTER COMPONEN ...

  9. 【转】 class 和 struct 区别

    转载来源:http://blog.sina.com.cn/s/blog_48f587a80100k630.html C++中的struct对C中的struct进行了扩充,它已经不再只是一个包含不同数据 ...

  10. DOCTYPE、指定语言、字符集

    <!DOCTYPE html> 在HTML的最开始部分声明DOCTYPE文档类型,可以让浏览器或其他用户代理知道你要使用的Html语言类型:无论你打算使用何种类型的HTML语言,DOCTY ...