Skip to content
/ qx Public

Easy way of managing a list of remote kdb/q services

Notifications You must be signed in to change notification settings

jparmstrong/qx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

qx - kdb/q remote prompt

This experimental script provides the ability to connect to a remote kdb/q session as if you were accessing it locally. When paired with fzf, it provides a seamless way of managing your production estate.

Installation

Prerequisites:

  • kdb+/q (obviously)
  • fzf
  • xargs >= 4.7.0 (requires --open-tty)

Add the following to your ~/.bashrc:

export QXHOME=/home/jp/code/qx # update to root of your project
alias qx="cat $QXHOME/qservers.txt | fzf --with-nth=1 | xargs -n2 -o rlwrap q $QXHOME/x.k -conn"

Copy qservers.txt.skeleton to qservers.txt. Update it with the servers you want listed when running qx.

Usage

Run qx and select a server from the list.

To execute against the server run, x)command or .x.e "command"

Screencast

asciicast

About

Easy way of managing a list of remote kdb/q services

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published