Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A question about getting data in #2

Open
hnu20123501025 opened this issue Mar 24, 2016 · 0 comments
Open

A question about getting data in #2

hnu20123501025 opened this issue Mar 24, 2016 · 0 comments

Comments

@hnu20123501025
Copy link

I installed the Java SE 7/ Mongo DB version 3.0.5/ Apache Maven 3.3.3 in Mac os. I also run the program successfully. When I run sudo ./server.sh
The result is below. It seems right.

2016-03-22T22:56:24.172+0800 I CONTROL [initandlisten] MongoDB starting : pid=4404 port=27017 dbpath=/data/db 64-bit host=ZhangJunTaodeMacBook-Pro.local
2016-03-22T22:56:24.173+0800 I CONTROL [initandlisten] db version v3.2.4
2016-03-22T22:56:24.173+0800 I CONTROL [initandlisten] git version: e2ee9ffcf9f5a94fad76802e28cc978718bb7a30
2016-03-22T22:56:24.173+0800 I CONTROL [initandlisten] allocator: system
2016-03-22T22:56:24.173+0800 I CONTROL [initandlisten] modules: none
2016-03-22T22:56:24.173+0800 I CONTROL [initandlisten] build environment:
2016-03-22T22:56:24.173+0800 I CONTROL [initandlisten] distarch: x86_64
2016-03-22T22:56:24.173+0800 I CONTROL [initandlisten] target_arch: x86_64
2016-03-22T22:56:24.173+0800 I CONTROL [initandlisten] options: {}
2016-03-22T22:56:24.174+0800 I - [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2016-03-22T22:56:24.175+0800 W - [initandlisten] Detected unclean shutdown - /data/db/mongod.lock is not empty.
2016-03-22T22:56:24.175+0800 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
2016-03-22T22:56:24.175+0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=4G,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
2016-03-22T22:56:25.040+0800 I CONTROL [initandlisten] ** WARNING: You are running this process as the root user, which is not recommended.
2016-03-22T22:56:25.040+0800 I CONTROL [initandlisten]
2016-03-22T22:56:25.040+0800 I CONTROL [initandlisten]
2016-03-22T22:56:25.040+0800 I CONTROL [initandlisten] ** WARNING: soft rlimits too low. Number of files is 256, should be at least 1000
2016-03-22T22:56:25.050+0800 I NETWORK [HostnameCanonicalizationWorker] Starting hostname canonicalization worker
2016-03-22T22:56:25.050+0800 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data'
2016-03-22T22:56:25.053+0800 I NETWORK [initandlisten] waiting for connections on port 27017
2016-03-22T22:56:26.015+0800 I FTDC [ftdc] Unclean full-time diagnostic data capture shutdown detected, found interim file, some metrics may have been lost. OK
2016-03-22T22:56:34.009+0800 I NETWORK [initandlisten] connection accepted from 127.0.0.1:49374 #1 (1 connection now open)
2016-03-22T22:56:34.011+0800 I NETWORK [conn1] end connection 127.0.0.1:49374 (0 connections now open)
2016-03-22T22:56:34.701+0800 I NETWORK [initandlisten] connection accepted from 127.0.0.1:49375 #2 (1 connection now open)
Mar 22, 2016 10:56:36 PM events.collect.WebsocketClientEndpoint onOpen
信息: opening websocket:

Unfortunately, I do not know how to find the collected information in MongoDB. Because I have seen
"2016-03-22T22:56:25.050+0800 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data' ", I searched the "data/db/diagnostic.data". In this file, I can see the file named like this "metrics.2016-03-22T14-56-26Z-00000".
So do you know how can I do now.

Thank you very much.
Best Regards.
ZhangJunTao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant