Skip to content

Instantly share code, notes, and snippets.

@bcg
Created October 9, 2010 14:27
Show Gist options
  • Save bcg/618228 to your computer and use it in GitHub Desktop.
Save bcg/618228 to your computer and use it in GitHub Desktop.
bcg:~ $ ktserver '*'
2010-10-09T09:23:35.495177-05:00: [SYSTEM]: ================ [START]: pid=10572
2010-10-09T09:23:35.496495-05:00: [SYSTEM]: opening a database: path=*
2010-10-09T09:23:35.496622-05:00: [SYSTEM]: starting the server
2010-10-09T09:23:35.496695-05:00: [SYSTEM]: server socket opened: expr=:1978 timeout=30.0
2010-10-09T09:23:35.496720-05:00: [SYSTEM]: listening server socket started: fd=3
... In another Term
bcg:~ $ ktremotemgr set key1 val1
bcg:~ $ ktremotemgr inform
count: 1
size: 8390469
bcg:~ $ ktremotemgr set -xt 10 key2 val2
bcg:~ $ ktremotemgr list
key1
key2
... Wait 10 seconds
bcg:~ $ ktremotemgr list
key1
bcg:~ $ ktremotemgr inform
count: 2
size: 8390522
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment