Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
839f4648
Commit
839f4648
authored
9 years ago
by
ocelot-inc
Browse files
Options
Downloads
Patches
Plain Diff
Fixes gh-956
parent
bf57d0a7
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/sphinx/reference/index.rst
+2
-0
2 additions, 0 deletions
doc/sphinx/reference/index.rst
doc/sphinx/reference/tarantool.rst
+35
-0
35 additions, 0 deletions
doc/sphinx/reference/tarantool.rst
with
37 additions
and
0 deletions
doc/sphinx/reference/index.rst
+
2
−
0
View file @
839f4648
...
...
@@ -24,3 +24,5 @@
other
expirationd
shard
tarantool
This diff is collapsed.
Click to expand it.
doc/sphinx/reference/tarantool.rst
0 → 100644
+
35
−
0
View file @
839f4648
-------------------------------------------------------------------------------
Package `tarantool`
-------------------------------------------------------------------------------
.. module:: tarantool
By saying :code:`require('tarantool')`, one can answer
some questions about how the tarantool server was built,
such as "what flags were used", or "what was the version
of the compiler". Additionally one can see the uptime
and the server version and the process id, but those
information items are more commonly accessed with
:func:`box.info`.
| EXAMPLE
| :codenormal:`tarantool>` :codebold:`tarantool = require('tarantool')`
| :codenormal:`---`
| :codenormal:`...`
| |nbsp|
| :codenormal:`tarantool>` :codebold:`tarantool`
| :codenormal:`---`
| :codenormal:`- build:`
| |nbsp| |nbsp| |nbsp| |nbsp| :codenormal:`flags: ' -fno-omit-frame-pointer -fno-stack-protector`
| |nbsp| |nbsp| |nbsp| |nbsp| |nbsp| |nbsp| :codenormal:`-fopenmp -msse2 -std=c11 -Wall`
| |nbsp| |nbsp| |nbsp| |nbsp| |nbsp| |nbsp| :codenormal:`-fno-gnu89-inline'`
| |nbsp| |nbsp| |nbsp| |nbsp| :codenormal:`target: Linux-x86_64-Release`
| |nbsp| |nbsp| |nbsp| |nbsp| :codenormal:`compiler: /usr/bin/cc /usr/bin/c++`
| |nbsp| |nbsp| |nbsp| |nbsp| :codenormal:`options: cmake . -DCMAKE_INSTALL_PREFIX=/usr/local`
| |nbsp| |nbsp| :codenormal:`uptime: 'function: 0x4109a670'`
| |nbsp| |nbsp| :codenormal:`version: 1.6.0-3142-g63af2df`
| |nbsp| |nbsp| :codenormal:`pid: 'function: 0x4109a690'`
| :codenormal:`...`
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment