-
-
Save ypai/000a66b8db2caf42467b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> db.serverStatus(); | |
{ | |
"uptime" : 436957, | |
"localTime" : "Tue May 11 2010 11:28:53 GMT-0700 (PDT)", | |
"globalLock" : { | |
"totalTime" : 436957735644, | |
"lockTime" : 118360387, | |
"ratio" : 0.00027087376500053783 | |
}, | |
"mem" : { | |
"resident" : 216, | |
"virtual" : 31223, | |
"supported" : true, | |
"mapped" : 28771 | |
}, | |
"connections" : { | |
"current" : 4, | |
"available" : 19996 | |
}, | |
"extra_info" : { | |
"note" : "fields vary by platform" | |
}, | |
"indexCounters" : { | |
"btree" : { | |
"accesses" : 1242, | |
"hits" : 1223, | |
"misses" : 19, | |
"resets" : 0, | |
"missRatio" : 0.015297906602254429 | |
} | |
}, | |
"backgroundFlushing" : { | |
"flushes" : 7281, | |
"total_ms" : 262763, | |
"average_ms" : 36.0888614201346, | |
"last_ms" : 39619, | |
"last_finished" : "Tue May 11 2010 11:28:16 GMT-0700 (PDT)" | |
}, | |
"opcounters" : { | |
"insert" : 119, | |
"query" : 12711, | |
"update" : 12931, | |
"delete" : 6, | |
"getmore" : 0, | |
"command" : 7976 | |
}, | |
"asserts" : { | |
"regular" : 0, | |
"warning" : 0, | |
"msg" : 0, | |
"user" : 0, | |
"rollovers" : 0 | |
}, | |
"ok" : 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> use ycsb; | |
switched to db ycsb | |
> db.usertable.stats(); | |
{ | |
"ns" : "ycsb.usertable", | |
"count" : 10000000, | |
"size" : 22999816176, | |
"storageSize" : 24054402816, | |
"numExtents" : 41, | |
"nindexes" : 1, | |
"lastExtentSize" : 1853702400, | |
"paddingFactor" : 1, | |
"flags" : 1, | |
"totalIndexSize" : 703587264, | |
"indexSizes" : { | |
"_id_" : 703587264 | |
}, | |
"ok" : 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
disk0 disk1 disk2 cpu load average | |
KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us sy id 1m 5m 15m | |
17.72 9 0.16 9.93 0 0.00 25.60 17 0.42 2 1 97 0.10 0.15 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 98 0.10 0.15 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 97 0.10 0.15 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 98 0.10 0.15 0.19 | |
8.00 1 0.01 0.00 0 0.00 0.00 0 0.00 2 1 97 0.10 0.15 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 98 0.10 0.15 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 97 0.10 0.15 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 98 0.09 0.15 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 98 0.09 0.15 0.19 | |
7.56 9 0.07 0.00 0 0.00 0.00 0 0.00 1 1 98 0.09 0.15 0.19 | |
7.10 93 0.64 0.00 0 0.00 0.00 0 0.00 9 4 88 0.09 0.15 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 11 87 0.09 0.15 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 3 4 93 0.08 0.14 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 96 0.08 0.14 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 97 0.08 0.14 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 3 2 96 0.08 0.14 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 1 96 0.08 0.14 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 1 97 0.07 0.14 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 96 0.07 0.14 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 97 0.07 0.14 0.19 | |
disk0 disk1 disk2 cpu load average | |
KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us sy id 1m 5m 15m | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 96 0.07 0.14 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 96 0.07 0.14 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 96 0.07 0.14 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 1 96 0.07 0.14 0.19 | |
82.00 2 0.16 0.00 0 0.00 0.00 0 0.00 2 1 97 0.07 0.14 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 5 2 94 0.07 0.14 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 96 0.07 0.14 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 1 96 0.06 0.14 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 8 2 91 0.06 0.14 0.19 | |
11.86 70 0.81 0.00 0 0.00 0.00 0 0.00 2 2 96 0.06 0.14 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 97 0.06 0.14 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 1 97 0.06 0.14 0.19 | |
14.15 13 0.18 0.00 0 0.00 0.00 0 0.00 3 2 95 0.14 0.15 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 96 0.14 0.15 0.19 | |
8.00 2 0.02 0.00 0 0.00 0.00 0 0.00 2 2 96 0.14 0.15 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 1 96 0.14 0.15 0.19 | |
64.00 4 0.25 0.00 0 0.00 0.00 0 0.00 3 2 95 0.14 0.15 0.19 | |
21.33 3 0.06 0.00 0 0.00 0.00 0 0.00 2 1 96 0.12 0.15 0.19 | |
10.81 37 0.39 0.00 0 0.00 0.00 0 0.00 4 2 94 0.12 0.15 0.19 | |
21.33 3 0.06 0.00 0 0.00 0.00 0 0.00 2 2 96 0.12 0.15 0.19 | |
disk0 disk1 disk2 cpu load average | |
KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us sy id 1m 5m 15m | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 96 0.12 0.15 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 96 0.12 0.15 0.19 | |
6.40 5 0.03 0.00 0 0.00 0.00 0 0.00 3 2 96 0.19 0.16 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 97 0.19 0.16 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 96 0.19 0.16 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 97 0.19 0.16 0.19 | |
232.00 1 0.23 0.00 0 0.00 0.00 0 0.00 2 2 96 0.19 0.16 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 1 97 0.34 0.19 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 97 0.34 0.19 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 97 0.34 0.19 0.20 | |
12.57 7 0.09 0.00 0 0.00 0.00 0 0.00 3 2 95 0.34 0.19 0.20 | |
18.00 2 0.04 0.00 0 0.00 0.00 0 0.00 2 2 96 0.34 0.19 0.20 | |
21.33 3 0.06 0.00 0 0.00 0.00 0 0.00 2 2 96 0.31 0.19 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 1 97 0.31 0.19 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 97 0.31 0.19 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 1 97 0.31 0.19 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 97 0.31 0.19 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 1 97 0.29 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 97 0.29 0.18 0.20 | |
9.89 35 0.34 0.00 0 0.00 0.00 0 0.00 1 2 97 0.29 0.18 0.20 | |
disk0 disk1 disk2 cpu load average | |
KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us sy id 1m 5m 15m | |
12.00 2 0.02 0.00 0 0.00 0.00 0 0.00 5 2 93 0.29 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 1 97 0.29 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 1 97 0.26 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 97 0.26 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 1 97 0.26 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 1 97 0.26 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 97 0.26 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 1 97 0.24 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 97 0.24 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 97 0.24 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 10 2 88 0.24 0.18 0.20 | |
6.40 5 0.03 0.00 0 0.00 0.00 0 0.00 6 2 92 0.24 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 97 0.22 0.17 0.20 | |
14.67 3 0.04 0.00 0 0.00 0.00 0 0.00 3 2 95 0.22 0.17 0.20 | |
22.40 10 0.22 0.00 0 0.00 0.00 0 0.00 2 2 96 0.22 0.17 0.20 | |
7.33 6 0.04 0.00 0 0.00 0.00 0 0.00 2 2 97 0.22 0.17 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 97 0.22 0.17 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 1 97 0.28 0.19 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 97 0.28 0.19 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 2 96 0.28 0.19 0.20 | |
disk0 disk1 disk2 cpu load average | |
KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us sy id 1m 5m 15m | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 97 0.28 0.19 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 5 1 94 0.28 0.19 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 97 0.26 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 97 0.26 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 97 0.26 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 97 0.26 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 97 0.26 0.18 0.20 | |
14.00 8 0.11 0.00 0 0.00 0.00 0 0.00 3 3 95 0.24 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 7 3 90 0.24 0.18 0.20 | |
10.00 39 0.38 0.00 0 0.00 0.00 0 0.00 1 3 96 0.24 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 97 0.24 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 97 0.24 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 96 0.22 0.18 0.20 | |
8.00 15 0.12 0.00 0 0.00 0.00 0 0.00 2 2 96 0.22 0.18 0.20 | |
8.00 2 0.02 0.00 0 0.00 0.00 0 0.00 1 2 97 0.22 0.18 0.20 | |
8.00 1 0.01 0.00 0 0.00 0.00 0 0.00 1 2 97 0.22 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 96 0.22 0.18 0.20 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 96 0.20 0.17 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 2 96 0.20 0.17 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 97 0.20 0.17 0.19 | |
disk0 disk1 disk2 cpu load average | |
KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us sy id 1m 5m 15m | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 98 0.20 0.17 0.19 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 97 0.20 0.17 0.19 | |
8.00 1 0.01 0.00 0 0.00 0.00 0 0.00 1 1 97 1.71 0.49 0.30 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 98 1.71 0.49 0.30 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 98 1.71 0.49 0.30 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 98 1.71 0.49 0.30 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 98 1.71 0.49 0.30 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 98 1.57 0.48 0.30 | |
8.00 1 0.01 0.00 0 0.00 0.00 0 0.00 1 1 98 1.57 0.48 0.30 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 98 1.57 0.48 0.30 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2 1 97 1.57 0.48 0.30 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 98 1.57 0.48 0.30 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 98 1.44 0.47 0.30 | |
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 1 98 1.44 0.47 0.30 | |
8.00 1 0.01 0.00 0 0.00 0.00 0 0.00 1 1 97 1.44 0.47 0.30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# YCSB test properties | |
# fields / columns | |
fieldcount=20 | |
# number of records | |
recordcount=10000000 | |
# number of operations (for non-insert ops) | |
operationcount=100000 | |
# threads | |
threads=10 | |
# operations per second | |
target=20000 | |
# type of performance measurement | |
# "histogram" or "timeseries" | |
measurementtype=histogram | |
# in ms | |
timeseries.granularity=1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ycsb.db; | |
import java.util.HashMap; | |
import java.util.Iterator; | |
import java.util.Properties; | |
import java.util.Set; | |
import java.util.Vector; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import com.mongodb.BasicDBObject; | |
import com.mongodb.DBAddress; | |
import com.mongodb.DBCollection; | |
import com.mongodb.DBCursor; | |
import com.mongodb.DBObject; | |
import com.mongodb.Mongo; | |
import com.mongodb.DB.WriteConcern; | |
import com.yahoo.ycsb.DB; | |
import com.yahoo.ycsb.DBException; | |
/** | |
* MongoDB client for YCSB framework. | |
* | |
* @author ypai | |
* | |
*/ | |
public class MongoDb extends DB { | |
private static final Logger logger = LoggerFactory.getLogger(MongoDb.class); | |
private Mongo mongo; | |
private WriteConcern writeConcern; | |
private String database; | |
/** | |
* Initialize any state for this DB. Called once per DB instance; there is | |
* one DB instance per client thread. | |
*/ | |
public void init() throws DBException { | |
// initialize MongoDb driver | |
Properties props = getProperties(); | |
String url = props.getProperty("mongodb.url"); | |
database = props.getProperty("mongodb.database"); | |
String writeConcernType = props.getProperty("mongodb.writeConcern"); | |
if ("none".equals(writeConcernType)) { | |
writeConcern = WriteConcern.NONE; | |
} else if ("strict".equals(writeConcernType)) { | |
writeConcern = WriteConcern.STRICT; | |
} else if ("normal".equals(writeConcernType)) { | |
writeConcern = WriteConcern.NORMAL; | |
} | |
try { | |
// strip out prefix since Java driver doesn't currently support | |
// standard | |
// connection format URL yet | |
// http://www.mongodb.org/display/DOCS/Connections | |
if (url.startsWith("mongodb://")) { | |
url = url.substring(10); | |
} | |
mongo = new Mongo(new DBAddress(url)); | |
} catch (Exception e1) { | |
logger.error( | |
"Could not initialize MongoDB connection pool for Loader: " | |
+ e1, e1); | |
return; | |
} | |
} | |
@Override | |
/** | |
* Delete a record from the database. | |
* | |
* @param table The name of the table | |
* @param key The record key of the record to delete. | |
* @return Zero on success, a non-zero error code on error. See this class's description for a discussion of error codes. | |
*/ | |
public int delete(String table, String key) { | |
try { | |
com.mongodb.DB db = mongo.getDB(database); | |
DBCollection collection = db.getCollection(table); | |
DBObject q = new BasicDBObject().append("_id", key); | |
if (writeConcern.equals(WriteConcern.STRICT)) { | |
q.put("$atomic", true); | |
} | |
collection.remove(q); | |
// see if record was deleted | |
DBObject errors = db.getLastError(); | |
return (Long) errors.get("n") == 1 ? 0 : 1; | |
} catch (Exception e) { | |
logger.error(e + "", e); | |
return 1; | |
} | |
} | |
@Override | |
/** | |
* Insert a record in the database. Any field/value pairs in the specified values HashMap will be written into the record with the specified | |
* record key. | |
* | |
* @param table The name of the table | |
* @param key The record key of the record to insert. | |
* @param values A HashMap of field/value pairs to insert in the record | |
* @return Zero on success, a non-zero error code on error. See this class's description for a discussion of error codes. | |
*/ | |
public int insert(String table, String key, HashMap<String, String> values) { | |
try { | |
com.mongodb.DB db = mongo.getDB(database); | |
DBCollection collection = db.getCollection(table); | |
DBObject r = new BasicDBObject().append("_id", key); | |
r.putAll(values); | |
collection.setWriteConcern(writeConcern); | |
collection.insert(r); | |
// determine if record was inserted | |
DBObject errors = db.getLastError(); | |
return (Long) errors.get("n") == 1 ? 0 : 1; | |
} catch (Exception e) { | |
logger.error(e + "", e); | |
return 1; | |
} | |
} | |
@Override | |
/** | |
* Read a record from the database. Each field/value pair from the result will be stored in a HashMap. | |
* | |
* @param table The name of the table | |
* @param key The record key of the record to read. | |
* @param fields The list of fields to read, or null for all of them | |
* @param result A HashMap of field/value pairs for the result | |
* @return Zero on success, a non-zero error code on error or "not found". | |
*/ | |
public int read(String table, String key, Set<String> fields, | |
HashMap<String, String> result) { | |
try { | |
com.mongodb.DB db = mongo.getDB(database); | |
DBCollection collection = db.getCollection(table); | |
DBObject q = new BasicDBObject().append("_id", key); | |
DBObject fieldsToReturn = new BasicDBObject(); | |
boolean returnAllFields = fields == null; | |
DBObject queryResult = null; | |
if (!returnAllFields) { | |
Iterator<String> iter = fields.iterator(); | |
while (iter.hasNext()) { | |
fieldsToReturn.put(iter.next(), 1); | |
} | |
queryResult = collection.findOne(q, fieldsToReturn); | |
} else { | |
queryResult = collection.findOne(q); | |
} | |
if (queryResult != null) { | |
result.putAll(queryResult.toMap()); | |
} | |
return queryResult != null ? 0 : 1; | |
} catch (Exception e) { | |
logger.error(e + "", e); | |
return 1; | |
} | |
} | |
@Override | |
/** | |
* Perform a range scan for a set of records in the database. Each field/value pair from the result will be stored in a HashMap. | |
* | |
* @param table The name of the table | |
* @param startkey The record key of the first record to read. | |
* @param recordcount The number of records to read | |
* @param fields The list of fields to read, or null for all of them | |
* @param result A Vector of HashMaps, where each HashMap is a set field/value pairs for one record | |
* @return Zero on success, a non-zero error code on error. See this class's description for a discussion of error codes. | |
*/ | |
public int scan(String table, String startkey, int recordcount, | |
Set<String> fields, Vector<HashMap<String, String>> result) { | |
try { | |
com.mongodb.DB db = mongo.getDB(database); | |
DBCollection collection = db.getCollection(table); | |
// { "_id":{"$gte":startKey, "$lte":{"appId":key+"\uFFFF"}} } | |
DBObject scanRange = new BasicDBObject().append("$gte", startkey); | |
DBObject q = new BasicDBObject().append("_id", scanRange); | |
DBCursor cursor = collection.find(q).limit(recordcount); | |
while (cursor.hasNext()) { | |
result.add((HashMap<String, String>) cursor.next().toMap()); | |
} | |
return 0; | |
} catch (Exception e) { | |
logger.error(e + "", e); | |
return 1; | |
} | |
} | |
@Override | |
/** | |
* Update a record in the database. Any field/value pairs in the specified values HashMap will be written into the record with the specified | |
* record key, overwriting any existing values with the same field name. | |
* | |
* @param table The name of the table | |
* @param key The record key of the record to write. | |
* @param values A HashMap of field/value pairs to update in the record | |
* @return Zero on success, a non-zero error code on error. See this class's description for a discussion of error codes. | |
*/ | |
public int update(String table, String key, HashMap<String, String> values) { | |
try { | |
com.mongodb.DB db = mongo.getDB(database); | |
DBCollection collection = db.getCollection(table); | |
DBObject q = new BasicDBObject().append("_id", key); | |
DBObject u = new BasicDBObject(); | |
DBObject fieldsToSet = new BasicDBObject(); | |
Iterator<String> keys = values.keySet().iterator(); | |
String tmpKey = null, tmpVal = null; | |
while (keys.hasNext()) { | |
tmpKey = keys.next(); | |
tmpVal = values.get(tmpKey); | |
fieldsToSet.put(tmpKey, tmpVal); | |
} | |
u.put("$set", fieldsToSet); | |
collection.setWriteConcern(writeConcern); | |
collection.update(q, u); | |
// determine if record was inserted | |
DBObject errors = db.getLastError(); | |
return (Long) errors.get("n") == 1 ? 0 : 1; | |
} catch (Exception e) { | |
logger.error(e + "", e); | |
return 1; | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# connection/client properties used by MongoDb YCSB client | |
mongodb.url=mongodb://localhost:27017 | |
mongodb.database=ycsb | |
# normal, strict, none | |
mongodb.writeConcern=normal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
connected to: 127.0.0.1 | |
insert/s query/s update/s delete/s getmore/s command/s mapped vsize res % locked % idx miss conn time | |
0 0 0 0 0 1 28771 31222 90 0 0 3 11:26:46 | |
0 0 0 0 0 1 28771 31222 90 0 0 3 11:26:47 | |
0 0 0 0 0 1 28771 31222 90 0 0 3 11:26:48 | |
0 0 0 0 0 1 28771 31222 90 0 0 3 11:26:49 | |
0 0 0 0 0 1 28771 31222 90 0 0 3 11:26:50 | |
0 0 1 0 0 1 28771 31223 90 0 0 4 11:26:51 | |
0 0 0 0 0 1 28771 31223 90 0 0 4 11:26:52 | |
0 0 0 0 0 1 28771 31223 90 0 0 4 11:26:53 | |
0 0 0 0 0 1 28771 31223 90 0 0 4 11:26:54 | |
0 0 0 0 0 1 28771 31223 90 0 0 4 11:26:55 | |
0 22 38 0 0 39 28771 31223 91 5.52 0 4 11:26:56 | |
0 47 37 0 0 38 28771 31223 93 0.418 0 4 11:26:57 | |
0 47 68 0 0 70 28771 31223 94 0.583 0 4 11:26:58 | |
0 46 69 0 0 70 28771 31223 96 0.554 0.2 4 11:26:59 | |
0 56 50 0 0 51 28771 31223 98 0.445 0 4 11:27:00 | |
0 63 64 0 0 64 28771 31223 100 0.44 0 4 11:27:01 | |
0 49 73 0 0 74 28771 31223 101 0.619 0 4 11:27:02 | |
0 58 63 0 0 65 28771 31223 103 0.499 0.167 4 11:27:03 | |
0 54 59 0 0 59 28771 31223 104 0.515 0 4 11:27:04 | |
0 60 68 0 0 69 28771 31223 106 0.504 0.167 4 11:27:05 | |
insert/s query/s update/s delete/s getmore/s command/s mapped vsize res % locked % idx miss conn time | |
0 69 73 0 0 74 28771 31223 108 0.516 0.143 4 11:27:06 | |
0 61 73 0 0 74 28771 31223 110 0.535 0 4 11:27:07 | |
0 52 65 0 0 67 28771 31223 111 0.53 0 4 11:27:08 | |
0 53 63 0 0 64 28771 31223 113 0.513 0 4 11:27:09 | |
0 65 60 0 0 60 28771 31223 114 0.402 0 4 11:27:10 | |
0 61 72 0 0 74 28771 31223 116 0.54 0.167 4 11:27:11 | |
0 67 63 0 0 63 28771 31223 118 0.455 0 4 11:27:12 | |
0 69 62 0 0 63 28771 31223 119 0.447 0 4 11:27:13 | |
0 66 67 0 0 68 28771 31223 121 0.449 0 4 11:27:14 | |
0 64 72 0 0 74 28771 31223 123 0.545 0 4 11:27:15 | |
0 58 63 0 0 64 28771 31223 124 0.499 0 4 11:27:16 | |
0 76 60 0 0 61 28771 31223 126 0.456 0 4 11:27:17 | |
0 70 73 0 0 74 28771 31223 128 0.452 0 4 11:27:18 | |
0 71 68 0 0 69 28771 31223 130 0.45 0 4 11:27:19 | |
0 66 69 0 0 70 28771 31223 131 0.536 0 4 11:27:20 | |
0 80 66 0 0 67 28771 31223 133 0.415 0 4 11:27:21 | |
0 72 58 0 0 59 28771 31223 135 0.409 0 4 11:27:22 | |
0 74 82 0 0 82 28771 31223 136 0.515 0 4 11:27:23 | |
0 63 72 0 0 74 28771 31223 138 0.501 0 4 11:27:24 | |
0 79 70 0 0 71 28771 31223 140 0.393 0 4 11:27:25 | |
insert/s query/s update/s delete/s getmore/s command/s mapped vsize res % locked % idx miss conn time | |
0 64 67 0 0 67 28771 31223 141 0.509 0 4 11:27:26 | |
0 102 69 0 0 70 28771 31223 143 0.441 0 4 11:27:27 | |
0 62 69 0 0 70 28771 31223 145 0.565 0 4 11:27:28 | |
0 73 73 0 0 75 28771 31223 147 0.469 0 4 11:27:29 | |
0 62 73 0 0 73 28771 31223 148 0.497 0 4 11:27:30 | |
0 76 61 0 0 62 28771 31223 150 0.471 0 4 11:27:31 | |
0 75 61 0 0 63 28771 31223 151 0.392 0 4 11:27:32 | |
0 87 66 0 0 67 28771 31223 153 0.399 0 4 11:27:33 | |
0 73 69 0 0 69 28771 31223 155 0.515 0 4 11:27:34 | |
0 75 85 0 0 87 28771 31223 157 0.535 0 4 11:27:35 | |
0 83 75 0 0 76 28771 31223 158 0.446 0.125 4 11:27:36 | |
0 61 65 0 0 65 28771 31223 159 0.442 0 4 11:27:37 | |
0 47 39 0 0 41 28771 31223 160 0.492 0 4 11:27:38 | |
0 54 37 0 0 38 28771 31223 161 0.412 0 4 11:27:39 | |
0 34 34 0 0 34 28771 31223 161 0.409 0 4 11:27:40 | |
0 42 44 0 0 45 28771 31223 162 0.429 0 4 11:27:41 | |
0 30 30 0 0 31 28771 31223 162 0.458 0 4 11:27:42 | |
0 37 25 0 0 26 28771 31223 163 0.307 0 4 11:27:43 | |
0 44 47 0 0 48 28771 31223 163 0.562 0 4 11:27:44 | |
0 51 59 0 0 61 28771 31223 164 0.535 0 4 11:27:45 | |
insert/s query/s update/s delete/s getmore/s command/s mapped vsize res % locked % idx miss conn time | |
0 29 32 0 0 32 28771 31223 164 0.428 0 4 11:27:46 | |
0 24 24 0 0 25 28771 31223 165 0.487 0 4 11:27:47 | |
0 31 24 0 0 26 28771 31223 165 1.02 0 4 11:27:48 | |
0 58 52 0 0 53 28771 31223 166 0.456 0 4 11:27:49 | |
0 27 39 0 0 40 28771 31223 166 0.556 0 4 11:27:50 | |
0 27 28 0 0 29 28771 31223 167 0.533 0 4 11:27:51 | |
0 33 20 0 0 21 28771 31223 167 0.429 0 4 11:27:52 | |
0 27 23 0 0 23 28771 31223 167 0.544 0 4 11:27:53 | |
0 23 20 0 0 21 28771 31223 168 0.528 0 4 11:27:54 | |
0 25 32 0 0 33 28771 31223 168 0.583 0 4 11:27:55 | |
0 19 24 0 0 26 28771 31223 168 0.487 0 4 11:27:56 | |
0 31 36 0 0 36 28771 31223 169 0.394 0.333 4 11:27:57 | |
0 26 32 0 0 33 28771 31223 169 0.509 0 4 11:27:58 | |
0 30 23 0 0 25 28771 31223 170 0.572 0 4 11:27:59 | |
0 32 32 0 0 32 28771 31223 170 0.596 0 4 11:28:00 | |
0 36 32 0 0 33 28771 31223 171 0.471 0 4 11:28:01 | |
0 28 25 0 0 26 28771 31223 171 0.456 0 4 11:28:02 | |
0 37 25 0 0 26 28771 31223 171 0.471 0 4 11:28:03 | |
0 34 23 0 0 24 28771 31223 172 0.417 0 4 11:28:04 | |
0 26 23 0 0 24 28771 31223 172 0.482 0 4 11:28:05 | |
insert/s query/s update/s delete/s getmore/s command/s mapped vsize res % locked % idx miss conn time | |
0 28 30 0 0 31 28771 31223 172 0.596 0 4 11:28:06 | |
0 37 30 0 0 31 28771 31223 173 0.523 0 4 11:28:07 | |
0 26 21 0 0 22 28771 31223 173 0.552 0 4 11:28:08 | |
0 45 27 0 0 29 28771 31223 174 0.356 0.25 4 11:28:09 | |
0 41 34 0 0 35 28771 31223 174 0.544 0 4 11:28:10 | |
0 31 21 0 0 22 28771 31223 175 0.41 0 4 11:28:11 | |
0 28 32 0 0 33 28771 31223 175 0.554 0 4 11:28:12 | |
0 26 23 0 0 24 28771 31223 175 0.532 0 4 11:28:13 | |
0 27 26 0 0 26 28771 31223 176 0.381 0 4 11:28:14 | |
0 22 26 0 0 27 28771 31223 176 0.6 0 4 11:28:15 | |
0 29 42 0 0 43 28771 31223 177 0.647 0 4 11:28:16 | |
0 75 67 0 0 68 28771 31223 178 0.428 0 4 11:28:17 | |
0 65 75 0 0 76 28771 31223 180 0.389 0 4 11:28:18 | |
0 26 23 0 0 25 28771 31223 180 0.95 0 4 11:28:19 | |
0 80 70 0 0 70 28771 31223 182 0.459 0 4 11:28:20 | |
0 53 86 0 0 87 28771 31223 183 0.636 0 4 11:28:21 | |
0 73 71 0 0 72 28771 31223 185 0.508 0 4 11:28:22 | |
0 81 79 0 0 80 28771 31223 186 0.474 0 4 11:28:23 | |
0 75 66 0 0 67 28771 31223 188 0.438 0 4 11:28:24 | |
0 74 69 0 0 71 28771 31223 190 0.534 0 4 11:28:25 | |
insert/s query/s update/s delete/s getmore/s command/s mapped vsize res % locked % idx miss conn time | |
0 74 66 0 0 67 28771 31223 191 0.452 0 4 11:28:26 | |
0 73 73 0 0 74 28771 31223 193 0.486 0.143 4 11:28:27 | |
0 69 70 0 0 70 28771 31223 194 0.424 0 4 11:28:28 | |
0 76 78 0 0 80 28771 31223 196 0.541 0 4 11:28:29 | |
0 65 70 0 0 71 28771 31223 197 0.481 0 4 11:28:30 | |
0 62 56 0 0 57 28771 31223 199 0.503 0 4 11:28:31 | |
0 70 73 0 0 73 28771 31223 200 0.484 0 4 11:28:32 | |
0 75 71 0 0 73 28771 31223 202 0.502 0 4 11:28:33 | |
0 73 77 0 0 77 28771 31223 203 0.555 0 4 11:28:34 | |
0 68 85 0 0 88 28771 31223 205 0.507 0 4 11:28:35 | |
0 88 68 0 0 69 28771 31223 206 0.457 0 4 11:28:36 | |
0 68 67 0 0 68 28771 31223 208 0.52 0 4 11:28:37 | |
0 64 53 0 0 54 28771 31223 208 0.391 0 4 11:28:38 | |
0 32 28 0 0 29 28771 31223 209 0.445 0 4 11:28:39 | |
0 28 25 0 0 25 28771 31223 209 0.42 0 4 11:28:40 | |
0 50 43 0 0 44 28771 31223 210 0.539 0 4 11:28:41 | |
0 40 33 0 0 35 28771 31223 210 0.511 0 4 11:28:42 | |
0 40 39 0 0 39 28771 31223 210 0.569 0 4 11:28:43 | |
0 54 47 0 0 50 28771 31223 211 0.549 0 4 11:28:44 | |
0 45 52 0 0 52 28771 31223 212 0.51 0 4 11:28:45 | |
insert/s query/s update/s delete/s getmore/s command/s mapped vsize res % locked % idx miss conn time | |
0 46 48 0 0 50 28771 31223 212 0.5 0 4 11:28:46 | |
0 33 51 0 0 51 28771 31223 213 0.532 0.2 4 11:28:47 | |
0 36 39 0 0 40 28771 31223 213 0.577 0 4 11:28:48 | |
0 30 26 0 0 28 28771 31223 214 0.381 0 4 11:28:49 | |
0 37 34 0 0 35 28771 31223 214 0.259 0 4 11:28:50 | |
0 60 46 0 0 46 28771 31223 215 0.417 0 4 11:28:51 | |
0 34 38 0 0 39 28771 31223 215 0.454 0 4 11:28:52 | |
0 47 53 0 0 54 28771 31223 216 0.492 0 4 11:28:53 | |
0 31 36 0 0 38 28771 31223 216 0.434 0.333 4 11:28:54 | |
0 41 36 0 0 38 28771 31223 217 0.469 0 4 11:28:55 | |
0 50 56 0 0 56 28771 31223 217 0.504 0 4 11:28:56 | |
0 28 31 0 0 32 28771 31223 218 0.544 0 4 11:28:57 | |
0 23 36 0 0 37 28771 31223 218 0.689 0 4 11:28:58 | |
0 32 35 0 0 37 28771 31223 219 0.544 0 4 11:28:59 | |
0 27 26 0 0 26 28771 31223 219 0.436 0 4 11:29:00 | |
0 36 31 0 0 32 28771 31223 219 0.479 0 4 11:29:01 | |
0 32 23 0 0 25 28771 31223 220 0.462 0 4 11:29:02 | |
0 27 15 0 0 16 28771 31223 220 0.393 0 4 11:29:03 | |
0 30 37 0 0 37 28771 31223 220 0.526 0 4 11:29:04 | |
0 33 19 0 0 20 28771 31223 221 0.305 0 4 11:29:05 | |
insert/s query/s update/s delete/s getmore/s command/s mapped vsize res % locked % idx miss conn time | |
0 46 41 0 0 43 28771 31223 221 0.529 0 4 11:29:06 | |
0 37 35 0 0 35 28771 31223 222 0.429 0 4 11:29:07 | |
0 76 55 0 0 57 28771 31223 223 0.415 0 4 11:29:08 | |
0 73 75 0 0 75 28771 31223 225 0.445 0 4 11:29:09 | |
0 71 68 0 0 70 28771 31223 226 0.559 0 4 11:29:10 | |
0 91 67 0 0 68 28771 31223 228 0.401 0.143 4 11:29:11 | |
0 88 76 0 0 76 28771 31223 230 0.444 0 4 11:29:12 | |
0 82 89 0 0 91 28771 31223 231 0.523 0.111 4 11:29:13 | |
0 77 77 0 0 77 28771 31223 233 0.47 0 4 11:29:14 | |
0 82 70 0 0 72 28771 31223 234 0.459 0 4 11:29:15 | |
0 69 78 0 0 79 28771 31223 236 0.492 0.143 4 11:29:16 | |
0 63 88 0 0 89 28771 31223 237 0.606 0 4 11:29:17 | |
0 84 81 0 0 81 28771 31223 239 0.494 0 4 11:29:18 | |
0 68 69 0 0 71 28771 31223 240 0.499 0.143 4 11:29:19 | |
0 55 46 0 0 47 28771 31223 241 0.306 0 4 11:29:20 | |
0 37 43 0 0 43 28771 31223 242 0.296 0 4 11:29:21 | |
0 79 95 0 0 96 28771 31223 243 0.537 0 4 11:29:22 | |
0 75 86 0 0 87 28771 31223 245 0.47 0 4 11:29:23 | |
0 84 73 0 0 75 28771 31223 247 0.497 0.125 4 11:29:24 | |
0 62 79 0 0 79 28771 31223 248 0.559 0 4 11:29:25 | |
insert/s query/s update/s delete/s getmore/s command/s mapped vsize res % locked % idx miss conn time | |
0 65 101 0 0 103 28771 31223 250 0.645 0 4 11:29:26 | |
0 81 76 0 0 77 28771 31223 251 0.532 0 4 11:29:27 | |
0 82 79 0 0 79 28771 31223 253 0.484 0 4 11:29:28 | |
0 85 85 0 0 87 28771 31223 254 0.521 0 4 11:29:29 | |
0 80 75 0 0 75 28771 31223 256 0.477 0 4 11:29:30 | |
0 88 68 0 0 70 28771 31223 257 0.45 0 4 11:29:31 | |
0 72 77 0 0 78 28771 31223 259 0.546 0 4 11:29:32 | |
0 71 72 0 0 73 28771 31223 260 0.488 0 4 11:29:33 | |
0 69 86 0 0 86 28771 31223 261 0.463 0 4 11:29:34 | |
0 72 70 0 0 72 28771 31223 263 0.561 0 4 11:29:35 | |
0 76 80 0 0 80 28771 31223 264 0.463 0 4 11:29:36 | |
0 79 77 0 0 79 28771 31223 265 0.507 0 4 11:29:37 | |
0 46 49 0 0 50 28771 31223 266 0.541 0.2 4 11:29:38 | |
0 41 38 0 0 38 28771 31223 266 0.519 0 4 11:29:39 | |
0 24 40 0 0 41 28771 31223 266 0.599 0.25 4 11:29:40 | |
0 41 26 0 0 28 28771 31223 267 0.536 0 4 11:29:41 | |
0 1 1 0 0 2 28771 31222 266 0.0461 0 3 11:29:42 | |
0 0 0 0 0 1 28771 31222 265 0 0 3 11:29:43 | |
0 0 0 0 0 1 28771 31222 264 0 0 3 11:29:44 | |
0 0 0 0 0 1 28771 31222 263 0 0 3 11:29:45 | |
insert/s query/s update/s delete/s getmore/s command/s mapped vsize res % locked % idx miss conn time | |
0 0 0 0 0 1 28771 31222 262 0 0 3 11:29:46 | |
0 0 0 0 0 1 28771 31222 261 0 0 3 11:29:47 | |
0 0 0 0 0 1 28771 31222 260 0 0 3 11:29:48 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 0.0 03:29.71 9 0 42 78 2513M+ 244K- 259M 28G+ 30G 85698 85698 sleeping 501 120280 105 15954 7972 351709 9260 276564 51450 ypai | |
Processes: 129 total, 4 running, 125 sleeping, 501 threads | |
2010/05/11 11:34:17 | |
Load Avg: 0.34, 0.27, 0.25 | |
CPU usage: 1.68% user, 2.4% sys, 96.26% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21619 total, 3838M resident, 25M private, 478M shared. | |
PhysMem: 650M wired, 2340M active, 3009M inactive, 5999M used, 144M free. | |
VM: 302G vsize, 1035M framework vsize, 55596982(0) pageins, 554550(0) pageouts. | |
Networks: packets: 501192985/349G in, 499176017/347G out. | |
Disks: 22881749/411G read, 33601815/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 0.0 03:29.71 9 0 42 78 2513M 244K 259M 28G 30G 85698 85698 sleeping 501 120280 105 15954 7972 351710+ 9260 276565+ 51450 ypai | |
Processes: 131 total, 4 running, 127 sleeping, 528 threads | |
2010/05/11 11:34:18 | |
Load Avg: 0.34, 0.27, 0.25 | |
CPU usage: 1.99% user, 2.9% sys, 95.91% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21827 total, 3876M resident, 25M private, 480M shared. | |
PhysMem: 650M wired, 2347M active, 3009M inactive, 6007M used, 136M free. | |
VM: 307G vsize, 1035M framework vsize, 55596990(8) pageins, 554550(0) pageouts. | |
Networks: packets: 501192985/349G in, 499176017/347G out. | |
Disks: 22881782/411G read, 33601815/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 0.0 03:29.71 9 0 42 78 2513M 244K 259M 28G 30G 85698 85698 sleeping 501 120280 105 15954 7972 351711+ 9260 276566+ 51450 ypai | |
Processes: 131 total, 3 running, 128 sleeping, 540 threads | |
2010/05/11 11:34:19 | |
Load Avg: 0.31, 0.26, 0.25 | |
CPU usage: 8.7% user, 3.54% sys, 88.37% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21904 total, 3928M resident, 25M private, 481M shared. | |
PhysMem: 651M wired, 2398M active, 3009M inactive, 6058M used, 89M free. | |
VM: 307G vsize, 1035M framework vsize, 55597171(181) pageins, 554550(0) pageouts. | |
Networks: packets: 501193511/349G in, 499176541/347G out. | |
Disks: 22881879/411G read, 33601815/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 1.6 03:29.72 10 0 43+ 80+ 2517M+ 244K 260M+ 28G+ 30G+ 85698 85698 sleeping 501 120599+ 105 15956+ 7973+ 352129+ 9261+ 276698+ 51629+ ypai | |
Processes: 131 total, 2 running, 129 sleeping, 540 threads | |
2010/05/11 11:34:20 | |
Load Avg: 0.31, 0.26, 0.25 | |
CPU usage: 2.92% user, 2.59% sys, 94.48% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21904 total, 3951M resident, 25M private, 481M shared. | |
PhysMem: 651M wired, 2414M active, 3010M inactive, 6075M used, 67M free. | |
VM: 307G vsize, 1035M framework vsize, 55597431(260) pageins, 554550(0) pageouts. | |
Networks: packets: 501194349/349G in, 499177379/347G out. | |
Disks: 22881993/411G read, 33601815/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 2.5 03:29.75 10 0 43 80 2523M+ 244K 262M+ 28G 30G 85698 85698 sleeping 501 121069+ 105 15956 7973 352802+ 9261 276913+ 51888+ ypai | |
Processes: 131 total, 4 running, 127 sleeping, 537 threads | |
2010/05/11 11:34:21 | |
Load Avg: 0.31, 0.26, 0.25 | |
CPU usage: 2.16% user, 2.16% sys, 95.66% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21897 total, 3964M resident, 25M private, 473M shared. | |
PhysMem: 651M wired, 2414M active, 3010M inactive, 6075M used, 65M free. | |
VM: 307G vsize, 1035M framework vsize, 55597680(249) pageins, 554550(0) pageouts. | |
Networks: packets: 501195087/349G in, 499178115/347G out. | |
Disks: 22882104/411G read, 33601815/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 2.1 03:29.77 10 0 43 80 2528M+ 244K 263M+ 28G 30G 85698 85698 sleeping 501 121453+ 105 15956 7973 353399+ 9261 277096+ 52135+ ypai | |
Processes: 131 total, 4 running, 127 sleeping, 536 threads | |
2010/05/11 11:34:22 | |
Load Avg: 0.31, 0.26, 0.25 | |
CPU usage: 2.37% user, 2.72% sys, 94.89% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21894 total, 3962M resident, 25M private, 473M shared. | |
PhysMem: 650M wired, 2415M active, 3011M inactive, 6076M used, 64M free. | |
VM: 307G vsize, 1035M framework vsize, 55597923(243) pageins, 554550(0) pageouts. | |
Networks: packets: 501195907/349G in, 499178935/347G out. | |
Disks: 22882229/411G read, 33601877/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 2.5 03:29.80 10 0 43 80 2534M+ 244K 265M+ 28G 30G 85698 85698 sleeping 501 121881+ 105 15956 7973 354059+ 9261 277286+ 52381+ ypai | |
Processes: 131 total, 4 running, 127 sleeping, 531 threads | |
2010/05/11 11:34:23 | |
Load Avg: 0.37, 0.27, 0.25 | |
CPU usage: 2.37% user, 2.26% sys, 95.36% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21889 total, 3963M resident, 25M private, 481M shared. | |
PhysMem: 650M wired, 2418M active, 3011M inactive, 6079M used, 63M free. | |
VM: 307G vsize, 1035M framework vsize, 55598176(253) pageins, 554550(0) pageouts. | |
Networks: packets: 501196695/349G in, 499179723/347G out. | |
Disks: 22882348/411G read, 33601877/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 2.4 03:29.83 10/1 0 43 80 2541M+ 244K 266M+ 28G 30G 85698 85698 running 501 122320+ 105 15956 7973 354701+ 9261 277498+ 52636+ ypai | |
Processes: 131 total, 3 running, 128 sleeping, 528 threads | |
2010/05/11 11:34:24 | |
Load Avg: 0.37, 0.27, 0.25 | |
CPU usage: 2.17% user, 1.93% sys, 95.88% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21883 total, 3977M resident, 24M private, 481M shared. | |
PhysMem: 650M wired, 2418M active, 3012M inactive, 6080M used, 61M free. | |
VM: 307G vsize, 1035M framework vsize, 55598474(298) pageins, 554550(0) pageouts. | |
Networks: packets: 501197545/349G in, 499180571/347G out. | |
Disks: 22882468/411G read, 33601877/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 2.4 03:29.85 10 0 43 80 2546M+ 244K 268M+ 28G 30G 85698 85698 sleeping 501 122787+ 105 15956 7973 355375+ 9261 277708+ 52925+ ypai | |
Processes: 131 total, 4 running, 127 sleeping, 527 threads | |
2010/05/11 11:34:25 | |
Load Avg: 0.37, 0.27, 0.25 | |
CPU usage: 1.80% user, 2.44% sys, 95.74% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21881 total, 3983M resident, 24M private, 481M shared. | |
PhysMem: 646M wired, 2422M active, 3012M inactive, 6081M used, 59M free. | |
VM: 307G vsize, 1035M framework vsize, 55598730(256) pageins, 554550(0) pageouts. | |
Networks: packets: 501198409/349G in, 499181435/347G out. | |
Disks: 22882590/411G read, 33601877/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 2.6 03:29.88 10/1 0 43 80 2553M+ 244K 270M+ 28G 30G 85698 85698 running 501 123247+ 105 15956 7973 356093+ 9261 277912+ 53190+ ypai | |
Processes: 131 total, 2 running, 129 sleeping, 526 threads | |
2010/05/11 11:34:26 | |
Load Avg: 0.37, 0.27, 0.25 | |
CPU usage: 1.79% user, 2.15% sys, 96.5% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21879 total, 3990M resident, 24M private, 481M shared. | |
PhysMem: 646M wired, 2423M active, 3013M inactive, 6082M used, 60M free. | |
VM: 307G vsize, 1035M framework vsize, 55598988(258) pageins, 554550(0) pageouts. | |
Networks: packets: 501199157/349G in, 499182181/347G out. | |
Disks: 22882705/411G read, 33601877/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 2.2 03:29.91 10 0 43 80 2559M+ 244K 271M+ 28G 30G 85698 85698 sleeping 501 123658+ 105 15956 7973 356696+ 9261 278100+ 53445+ ypai | |
Processes: 131 total, 4 running, 127 sleeping, 524 threads | |
2010/05/11 11:34:27 | |
Load Avg: 0.37, 0.27, 0.25 | |
CPU usage: 1.63% user, 1.93% sys, 96.43% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21875 total, 3995M resident, 24M private, 481M shared. | |
PhysMem: 647M wired, 2423M active, 3013M inactive, 6083M used, 56M free. | |
VM: 307G vsize, 1035M framework vsize, 55599255(267) pageins, 554550(0) pageouts. | |
Networks: packets: 501200049/349G in, 499183073/347G out. | |
Disks: 22882823/411G read, 33601877/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 2.5 03:29.93 10 0 43 80 2565M+ 244K 273M+ 28G 30G 85698 85698 sleeping 501 124099+ 105 15956 7973 357410+ 9261 278320+ 53711+ ypai | |
Processes: 131 total, 3 running, 128 sleeping, 524 threads | |
2010/05/11 11:34:29 | |
Load Avg: 0.42, 0.29, 0.25 | |
CPU usage: 2.29% user, 2.41% sys, 95.29% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21875 total, 4002M resident, 24M private, 481M shared. | |
PhysMem: 644M wired, 2432M active, 3014M inactive, 6090M used, 50M free. | |
VM: 307G vsize, 1035M framework vsize, 55599525(270) pageins, 554550(0) pageouts. | |
Networks: packets: 501200929/349G in, 499183953/347G out. | |
Disks: 22882943/411G read, 33601877/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 2.5 03:29.96 10 0 43 80 2563M- 244K 274M+ 28G 30G 85698 85698 sleeping 501 124569+ 105 15956 7973 358118+ 9261 278538+ 53982+ ypai | |
Processes: 131 total, 4 running, 127 sleeping, 525 threads | |
2010/05/11 11:34:30 | |
Load Avg: 0.42, 0.29, 0.25 | |
CPU usage: 1.87% user, 1.99% sys, 96.12% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21879 total, 4002M resident, 24M private, 481M shared. | |
PhysMem: 646M wired, 2433M active, 3014M inactive, 6092M used, 48M free. | |
VM: 307G vsize, 1035M framework vsize, 55599767(242) pageins, 554550(0) pageouts. | |
Networks: packets: 501201713/349G in, 499184737/347G out. | |
Disks: 22883054/411G read, 33601877/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 2.3 03:29.98 10 0 43 80 2562M- 244K 276M+ 28G 30G 85698 85698 sleeping 501 124986+ 105 15956 7973 358752+ 9261 278744+ 54223+ ypai | |
Processes: 131 total, 2 running, 129 sleeping, 527 threads | |
2010/05/11 11:34:31 | |
Load Avg: 0.42, 0.29, 0.25 | |
CPU usage: 1.65% user, 2.12% sys, 96.22% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21883 total, 4001M resident, 24M private, 481M shared. | |
PhysMem: 646M wired, 2433M active, 3014M inactive, 6093M used, 47M free. | |
VM: 307G vsize, 1035M framework vsize, 55600046(279) pageins, 554550(0) pageouts. | |
Networks: packets: 501202545/349G in, 499185567/347G out. | |
Disks: 22883176/411G read, 33601877/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 2.5 03:30.01 10 0 43 80 2561M- 244K 278M+ 28G 30G 85698 85698 sleeping 501 125429+ 105 15956 7973 359435+ 9261 278945+ 54506+ ypai | |
Processes: 131 total, 3 running, 128 sleeping, 527 threads | |
2010/05/11 11:34:32 | |
Load Avg: 0.42, 0.29, 0.25 | |
CPU usage: 1.77% user, 2.13% sys, 96.9% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21883 total, 4003M resident, 24M private, 481M shared. | |
PhysMem: 646M wired, 2433M active, 3015M inactive, 6094M used, 49M free. | |
VM: 307G vsize, 1035M framework vsize, 55600297(251) pageins, 554550(0) pageouts. | |
Networks: packets: 501203341/349G in, 499186363/347G out. | |
Disks: 22883294/411G read, 33601877/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 2.3 03:30.04 10 0 43 80 2562M+ 244K 279M+ 28G 30G 85698 85698 sleeping 501 125860+ 105 15956 7973 360072+ 9261 279144+ 54756+ ypai | |
Processes: 131 total, 4 running, 127 sleeping, 526 threads | |
2010/05/11 11:34:33 | |
Load Avg: 0.42, 0.29, 0.25 | |
CPU usage: 2.12% user, 2.36% sys, 95.51% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21882 total, 4003M resident, 24M private, 481M shared. | |
PhysMem: 646M wired, 2435M active, 3015M inactive, 6096M used, 44M free. | |
VM: 307G vsize, 1035M framework vsize, 55600584(287) pageins, 554550(0) pageouts. | |
Networks: packets: 501204241/349G in, 499187261/347G out. | |
Disks: 22883415/411G read, 33601877/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 2.6 03:30.06 10/1 0 43 80 2560M- 244K 281M+ 28G 30G 85698 85698 running 501 126320+ 105 15956 7973 360799+ 9261 279363+ 55041+ ypai | |
Processes: 131 total, 3 running, 128 sleeping, 523 threads | |
2010/05/11 11:34:34 | |
Load Avg: 0.46, 0.30, 0.26 | |
CPU usage: 1.86% user, 1.98% sys, 96.14% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21877 total, 4001M resident, 24M private, 481M shared. | |
PhysMem: 646M wired, 2441M active, 3016M inactive, 6103M used, 38M free. | |
VM: 307G vsize, 1035M framework vsize, 55600851(267) pageins, 554550(0) pageouts. | |
Networks: packets: 501205063/349G in, 499188083/347G out. | |
Disks: 22883535/411G read, 33601877/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 2.4 03:30.09 10/1 0 43 80 2554M- 244K 282M+ 28G 30G 85698 85698 running 501 126774+ 105 15956 7973 361474+ 9261 279580+ 55311+ ypai | |
Processes: 131 total, 2 running, 129 sleeping, 521 threads | |
2010/05/11 11:34:35 | |
Load Avg: 0.46, 0.30, 0.26 | |
CPU usage: 2.28% user, 2.28% sys, 95.42% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21873 total, 4003M resident, 25M private, 481M shared. | |
PhysMem: 646M wired, 2441M active, 3016M inactive, 6103M used, 38M free. | |
VM: 307G vsize, 1035M framework vsize, 55601119(268) pageins, 554550(0) pageouts. | |
Networks: packets: 501205973/349G in, 499188993/347G out. | |
Disks: 22883658/411G read, 33601877/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 2.5 03:30.12 10 0 43 80 2555M+ 244K 284M+ 28G 30G 85698 85698 sleeping 501 127229+ 105 15956 7973 362199+ 9261 279785+ 55578+ ypai | |
Processes: 131 total, 5 running, 126 sleeping, 522 threads | |
2010/05/11 11:34:36 | |
Load Avg: 0.46, 0.30, 0.26 | |
CPU usage: 2.21% user, 2.10% sys, 95.68% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21875 total, 4001M resident, 25M private, 481M shared. | |
PhysMem: 646M wired, 2441M active, 3017M inactive, 6104M used, 37M free. | |
VM: 307G vsize, 1035M framework vsize, 55601384(265) pageins, 554550(0) pageouts. | |
Networks: packets: 501206787/349G in, 499189807/347G out. | |
Disks: 22883778/411G read, 33601877/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 2.3 03:30.14 10/1 0 43 80 2554M- 244K 286M+ 28G 30G 85698 85698 running 501 127655+ 105 15956 7973 362857+ 9261 279989+ 55842+ ypai | |
Processes: 131 total, 4 running, 1 stuck, 126 sleeping, 522 threads | |
2010/05/11 11:34:37 | |
Load Avg: 0.46, 0.30, 0.26 | |
CPU usage: 2.10% user, 3.86% sys, 94.2% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21875 total, 4004M resident, 25M private, 481M shared. | |
PhysMem: 646M wired, 2446M active, 3024M inactive, 6115M used, 27M free. | |
VM: 307G vsize, 1035M framework vsize, 55601649(265) pageins, 554550(0) pageouts. | |
Networks: packets: 501207553/349G in, 499190571/347G out. | |
Disks: 22883885/411G read, 33602036/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 13.2 03:30.29 10 0 43 80 2551M- 244K 286M+ 28G 30G 85698 85698 stuck 501 128059+ 105 15956 7973 363485+ 9261 280357+ 56104+ ypai | |
Processes: 131 total, 3 running, 1 stuck, 127 sleeping, 522 threads | |
2010/05/11 11:34:38 | |
Load Avg: 0.43, 0.29, 0.26 | |
CPU usage: 1.41% user, 2.59% sys, 95.99% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21875 total, 4002M resident, 25M private, 481M shared. | |
PhysMem: 646M wired, 2446M active, 3026M inactive, 6118M used, 25M free. | |
VM: 307G vsize, 1035M framework vsize, 55601801(152) pageins, 554550(0) pageouts. | |
Networks: packets: 501208027/349G in, 499191043/347G out. | |
Disks: 22883960/411G read, 33602133/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 6.5 03:30.36 10 0 43 80 2550M- 244K 287M+ 28G 30G 85698 85698 stuck 501 128307+ 105 15956 7973 363864+ 9261 280603+ 56260+ ypai | |
Processes: 131 total, 5 running, 126 sleeping, 524 threads | |
2010/05/11 11:34:39 | |
Load Avg: 0.43, 0.29, 0.26 | |
CPU usage: 1.77% user, 2.84% sys, 95.38% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21879 total, 4005M resident, 25M private, 481M shared. | |
PhysMem: 646M wired, 2446M active, 3030M inactive, 6122M used, 23M free. | |
VM: 307G vsize, 1035M framework vsize, 55601976(175) pageins, 554550(0) pageouts. | |
Networks: packets: 501208571/349G in, 499191587/347G out. | |
Disks: 22884032/411G read, 33602226/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 6.5 03:30.42 10/1 0 43 80 2552M+ 244K 288M+ 28G 30G 85698 85698 running 501 128600+ 105 15956 7973 364314+ 9261 280864+ 56436+ ypai | |
Processes: 131 total, 4 running, 1 stuck, 126 sleeping, 526 threads | |
2010/05/11 11:34:40 | |
Load Avg: 0.43, 0.29, 0.26 | |
CPU usage: 1.61% user, 2.88% sys, 95.50% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21883 total, 4004M resident, 25M private, 481M shared. | |
PhysMem: 646M wired, 2446M active, 3032M inactive, 6124M used, 21M free. | |
VM: 307G vsize, 1035M framework vsize, 55602131(155) pageins, 554550(0) pageouts. | |
Networks: packets: 501209089/349G in, 499192105/347G out. | |
Disks: 22884112/411G read, 33602330/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 8.7 03:30.52 10 0 43 80 2551M- 244K 288M+ 28G 30G 85698 85698 stuck 501 128845+ 105 15956 7973 364744+ 9261 281117+ 56591+ ypai | |
Processes: 131 total, 2 running, 1 stuck, 128 sleeping, 533 threads | |
2010/05/11 11:34:41 | |
Load Avg: 0.43, 0.29, 0.26 | |
CPU usage: 2.14% user, 3.21% sys, 94.64% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21897 total, 4004M resident, 25M private, 481M shared. | |
PhysMem: 648M wired, 2444M active, 3033M inactive, 6125M used, 19M free. | |
VM: 307G vsize, 1035M framework vsize, 55602301(170) pageins, 554550(0) pageouts. | |
Networks: packets: 501209729/349G in, 499192751/347G out. | |
Disks: 22884195/411G read, 33602423/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 7.9 03:30.60 10 0 43 80 2551M+ 244K 289M+ 28G 30G 85698 85698 stuck 501 129163+ 105 15956 7973 365211+ 9261 281381+ 56761+ ypai | |
Processes: 131 total, 5 running, 1 stuck, 125 sleeping, 534 threads | |
2010/05/11 11:34:42 | |
Load Avg: 0.43, 0.29, 0.26 | |
CPU usage: 2.6% user, 3.28% sys, 94.65% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21899 total, 4005M resident, 25M private, 481M shared. | |
PhysMem: 650M wired, 2442M active, 3034M inactive, 6126M used, 19M free. | |
VM: 307G vsize, 1035M framework vsize, 55602471(170) pageins, 554550(0) pageouts. | |
Networks: packets: 501210253/349G in, 499193275/347G out. | |
Disks: 22884272/411G read, 33602517/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 8.5 03:30.69 10 0 43 80 2552M+ 244K 289M+ 28G 30G 85698 85698 stuck 501 129426+ 105 15956 7973 365618+ 9261 281637+ 56929+ ypai | |
Processes: 131 total, 3 running, 1 stuck, 127 sleeping, 534 threads | |
2010/05/11 11:34:43 | |
Load Avg: 0.39, 0.29, 0.25 | |
CPU usage: 1.88% user, 2.66% sys, 95.45% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21897 total, 3998M resident, 25M private, 481M shared. | |
PhysMem: 653M wired, 2433M active, 3035M inactive, 6121M used, 22M free. | |
VM: 307G vsize, 1035M framework vsize, 55602573(102) pageins, 554550(0) pageouts. | |
Networks: packets: 501210639/349G in, 499193661/347G out. | |
Disks: 22884325/411G read, 33602596/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 4.0 03:30.74 10 0 43 80 2552M+ 244K 290M+ 28G 30G 85698 85698 stuck 501 129619+ 105 15956 7973 365943+ 9261 281825+ 57032+ ypai | |
Processes: 129 total, 4 running, 125 sleeping, 505 threads | |
2010/05/11 11:34:45 | |
Load Avg: 0.39, 0.29, 0.25 | |
CPU usage: 1.78% user, 3.68% sys, 94.53% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21626 total, 3910M resident, 25M private, 481M shared. | |
PhysMem: 650M wired, 2342M active, 3036M inactive, 6028M used, 116M free. | |
VM: 302G vsize, 1035M framework vsize, 55602677(104) pageins, 554550(0) pageouts. | |
Networks: packets: 501210960/349G in, 499193980/347G out. | |
Disks: 22884376/411G read, 33602746/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 12.5 03:30.87 9/1 0 42- 78- 2554M+ 244K 290M- 28G- 30G- 85698 85698 running 501 129791+ 105 15956 7973 366206+ 9261 282050+ 57137+ ypai | |
Processes: 129 total, 4 running, 125 sleeping, 503 threads | |
2010/05/11 11:34:46 | |
Load Avg: 0.39, 0.29, 0.25 | |
CPU usage: 1.68% user, 4.8% sys, 94.23% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21622 total, 3910M resident, 25M private, 481M shared. | |
PhysMem: 650M wired, 2342M active, 3038M inactive, 6029M used, 114M free. | |
VM: 302G vsize, 1035M framework vsize, 55602677(0) pageins, 554550(0) pageouts. | |
Networks: packets: 501210960/349G in, 499193980/347G out. | |
Disks: 22884376/411G read, 33603005/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 13.4 03:31.01 9/1 0 42 78 2554M 244K 289M- 28G 30G 85698 85698 running 501 129791 105 15956 7973 366209+ 9261 282252+ 57137 ypai | |
Processes: 129 total, 4 running, 1 stuck, 124 sleeping, 502 threads | |
2010/05/11 11:34:47 | |
Load Avg: 0.39, 0.29, 0.25 | |
CPU usage: 1.66% user, 4.39% sys, 93.93% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21620 total, 3910M resident, 25M private, 481M shared. | |
PhysMem: 650M wired, 2341M active, 3039M inactive, 6030M used, 112M free. | |
VM: 302G vsize, 1035M framework vsize, 55602677(0) pageins, 554550(0) pageouts. | |
Networks: packets: 501210968/349G in, 499193986/347G out. | |
Disks: 22884376/411G read, 33603248/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 17.3 03:31.20 9 0 42 78 2554M 244K 288M- 28G 30G 85698 85698 stuck 501 129791 105 15956 7973 366214+ 9261 282442+ 57137 ypai | |
Processes: 129 total, 2 running, 127 sleeping, 501 threads | |
2010/05/11 11:34:48 | |
Load Avg: 0.39, 0.29, 0.25 | |
CPU usage: 1.32% user, 2.28% sys, 96.38% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21618 total, 3910M resident, 25M private, 481M shared. | |
PhysMem: 650M wired, 2341M active, 3039M inactive, 6030M used, 113M free. | |
VM: 302G vsize, 1035M framework vsize, 55602677(0) pageins, 554550(0) pageouts. | |
Networks: packets: 501210970/349G in, 499193988/347G out. | |
Disks: 22884376/411G read, 33603302/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 3.3 03:31.23 9 0 42 78 2554M 244K 287M- 28G 30G 85698 85698 sleeping 501 129791 105 15958+ 7974+ 366215+ 9262+ 282479+ 57137 ypai | |
^CProcesses: 129 total, 5 running, 124 sleeping, 504 threads | |
2010/05/11 11:34:49 | |
Load Avg: 0.36, 0.28, 0.25 | |
CPU usage: 4.37% user, 1.89% sys, 93.72% idle | |
SharedLibs: 5668K resident, 1700K data, 0B linkedit. | |
MemRegions: 21624 total, 3910M resident, 25M private, 481M shared. | |
PhysMem: 650M wired, 2341M active, 3039M inactive, 6030M used, 113M free. | |
VM: 302G vsize, 1035M framework vsize, 55602677(0) pageins, 554550(0) pageouts. | |
Networks: packets: 501210980/349G in, 499193998/347G out. | |
Disks: 22884376/411G read, 33603302/893G written. | |
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS USER | |
85699 mongod 0.0 03:31.23 9 0 42 78 2554M 244K 287M 28G 30G 85698 85698 sleeping 501 129791 105 15958 7974 366216+ 9262 282480+ 57137 ypai |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mach Virtual Memory Statistics: (page size of 4096 bytes, cache hits 0%) | |
free active spec inactive wire faults copy 0fill reactive pageins pageout | |
18083 604011 3841 778855 167442 819281K 12758100 318795K 13108224 55652034 554550 | |
20842 600771 3841 778855 168083 357 8 146 0 0 0 | |
20922 601398 3841 778855 167451 91 0 69 0 0 0 | |
20999 601393 3841 778855 167447 84 0 62 0 0 0 | |
21070 601385 3841 778855 167455 90 0 65 0 0 0 | |
21211 601313 3841 778855 167457 87 0 65 0 0 0 | |
21293 601326 3841 778855 167445 104 1 76 0 0 0 | |
21455 601265 3841 778855 167445 92 0 65 0 0 0 | |
22086 600260 3841 778855 168046 273 6 202 0 0 0 | |
21140 600900 3841 778855 167404 126 2 68 0 0 0 | |
5796 615009 4104 778881 168206 18161 379 14793 0 55 0 | |
4457 615452 5011 778988 168204 874 2 470 0 201 0 | |
2087 619608 4274 779099 167337 4263 0 3859 0 220 0 | |
1915 619985 4807 779216 166785 417 0 88 0 211 0 | |
2022 620006 4054 779324 166968 472 0 114 0 218 0 | |
2097 620349 3998 779331 166968 837 0 437 0 206 0 | |
2024 620394 3877 778973 166969 457 0 64 0 218 0 | |
1579 620430 4497 779086 166972 409 0 59 0 196 0 | |
1559 620531 4270 779201 166971 505 0 119 0 217 0 | |
1508 620576 3856 779315 166970 453 0 56 0 228 0 | |
2018 622927 3392 776986 166980 2854 0 2368 1 242 0 | |
Mach Virtual Memory Statistics: (page size of 4096 bytes, cache hits 0%) | |
free active spec inactive wire faults copy 0fill reactive pageins pageout | |
1570 622884 3036 778186 166983 819312K 12758498 318818K 13108225 55654452 554550 | |
1636 622891 2844 778687 166981 307 0 61 0 132 0 | |
2000 624274 1215 777319 166971 1689 0 1450 3 121 0 | |
2395 624069 1591 777515 166968 1436 0 1193 0 124 0 | |
2118 623753 1853 777810 167294 837 127 89 0 128 0 | |
2056 623703 1654 777739 167307 301 0 66 0 137 0 | |
1526 625462 1678 776781 166982 1749 0 1503 0 133 0 | |
2004 625700 1816 775145 166985 518 0 295 0 111 0 | |
3585 623178 2007 775620 168047 310 1 56 0 118 0 | |
3164 624234 2235 775902 166991 276 0 65 0 127 0 | |
25175 600977 2496 775959 167507 1578 11 1249 0 53 0 | |
25264 600983 2496 775959 167502 99 0 65 0 0 0 | |
25332 600980 2496 775959 167507 86 0 64 0 0 0 | |
25400 600986 2496 775959 167504 87 0 65 0 0 0 | |
25464 600983 2496 775959 167509 88 0 58 0 0 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment