Skip to content

Instantly share code, notes, and snippets.

@mingder78
Created February 9, 2013 07:25
Show Gist options
  • Select an option

  • Save mingder78/4744485 to your computer and use it in GitHub Desktop.

Select an option

Save mingder78/4744485 to your computer and use it in GitHub Desktop.
my mongod log
mongod Wangteki-MacBook-Air.local
List all commands | Replica set status
Commands: buildInfo cursorInfo features hostInfo isMaster listDatabases replSetGetStatus serverStatus top
db version v2.2.3, pdfile version 4.5
git hash: nogitversion
sys info: Darwin teneight-slave.macports.org 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64 BOOST_LIB_VERSION=1_49
uptime: 30 seconds
overview (only reported if can acquire read lock quickly)
time to get readlock: 0ms
# databases: 1
# Cursors: 0
replication:
master: 0
slave: 0
clients
Client OpId Locking Waiting SecsRunning Op Namespace Query client msg progress
initandlisten 6 { waitingForLock: false } 2004 test { options.temp: { $in: [ true, 1 ] } } 0.0.0.0:0
journal 0 { waitingForLock: false } 0 :27017
snapshotthread 0 { waitingForLock: false } 0 :27017
TTLMonitor 0 { waitingForLock: false } 0 :27017
DataFileSync 0 { waitingForLock: false } 0 :27017
clientcursormon 0 { waitingForLock: false } 0 :27017
websvr 0 { waitingForLock: false } 0 :27017
dbtop (occurrences|percent of elapsed)
NS total Reads Writes Queries GetMores Inserts Updates Removes
TOTAL 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
write lock % time in write lock, by 4 sec periods
0 0 0 0 0 0 0
write locked now: false
Log
Sat Feb 9 15:23:38 [initandlisten] MongoDB starting : pid=530 port=27017 dbpath=/data/db/ 64-bit host=Wangteki-MacBook-Air.local
15:23:38 [initandlisten]
15:23:38 [initandlisten] ** WARNING: soft rlimits too low. Number of files is 256, should be at least 1000
15:23:38 [initandlisten] db version v2.2.3, pdfile version 4.5
15:23:38 [initandlisten] git version: nogitversion
15:23:38 [initandlisten] build info: Darwin teneight-slave.macports.org 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64 BOOST_LIB_VERSION=1_49
15:23:38 [initandlisten] options: {}
15:23:38 [initandlisten] journal dir=/data/db/journal
15:23:38 [initandlisten] recover : no journal files present, no recovery needed
15:23:39 [websvr] admin web console waiting for connections on port 28017
15:23:39 [initandlisten] waiting for connections on port 27017
15:23:56 [initandlisten] connection accepted from 127.0.0.1:51263 #1 (1 connection now open)
15:23:56 [initandlisten] connection accepted from 127.0.0.1:51264 #2 (2 connections now open)
15:23:56 [conn1] end connection 127.0.0.1:51263 (1 connection now open)
15:23:57 [conn2] end connection 127.0.0.1:51264 (0 connections now open)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment