diff options
Diffstat (limited to 'doc/InfoCommand.html')
-rw-r--r-- | doc/InfoCommand.html | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/doc/InfoCommand.html b/doc/InfoCommand.html new file mode 100644 index 000000000..325deff47 --- /dev/null +++ b/doc/InfoCommand.html @@ -0,0 +1,50 @@ + +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> + <head> + <link type="text/css" rel="stylesheet" href="style.css" /> + </head> + <body> + <div id="page"> + + <div id='header'> + <a href="index.html"> + <img style="border:none" alt="Redis Documentation" src="redis.png"> + </a> + </div> + + <div id="pagecontent"> + <div class="index"> +<!-- This is a (PRE) block. Make sure it's left aligned or your toc title will be off. --> +<b>InfoCommand: Contents</b><br> <a href="#INFO">INFO</a><br> <a href="#Return value">Return value</a><br> <a href="#Notes">Notes</a><br> <a href="#See also">See also</a> + </div> + + <h1 class="wikiname">InfoCommand</h1> + + <div class="summary"> + + </div> + + <div class="narrow"> + <h1><a name="INFO">INFO</a></h1><blockquote>The info command returns different information and statistics about the server in an format that's simple to parse by computers and easy to red by huamns.</blockquote> +<h2><a name="Return value">Return value</a></h2><a href="ReplyTypes.html">Bulk reply</a>, specifically in the following format:<br/><br/><pre class="codeblock python" name="code"> +edis_version:0.07 +connected_clients:1 +connected_slaves:0 +used_memory:3187 +changes_since_last_save:0 +last_save_time:1237655729 +total_connections_received:1 +total_commands_processed:1 +uptime_in_seconds:25 +uptime_in_days:0 +</pre>All the fields are in the form <code name="code" class="python">field:value</code><h2><a name="Notes">Notes</a></h2><ul><li> <code name="code" class="python">used_memory</code> is returned in bytes, and is the total number of bytes allocated by the program using <code name="code" class="python">malloc</code>.</li><li> <code name="code" class="python">uptime_in_days</code> is redundant since the uptime in seconds contains already the full uptime information, this field is only mainly present for humans.</li><li> <code name="code" class="python">changes_since_last_save</code> does not refer to the number of key changes, but to the number of operations that produced some kind of change in the dataset.</li></ul> +<h2><a name="See also">See also</a></h2> +<ul><li> <a href="LastsaveCommand.html">LASTSAVE</a></li><li> <a href="DbsizeCommand.html">DBSIZE</a></li></ul> + </div> + + </div> + </div> + </body> +</html> + |