kdb system Functions
kdb provides the following system commands:
System Commands:
sym | description |
---|---|
\ | Exit q session |
Toggle q/k language or exit debug mode | |
_ | Compile q script (hide source) |
* | Execute OS command |
1 | Redirect standard out to file |
2 | Redirect standard error to file |
a | List tables in namespace. No parameter means current NS |
b | List dependencies in NS. No parameter means current NS |
B | Invalid dependencies in NS. No parameter means current NS |
c | Return/set console height & width -c H W 23 79 |
C | Return/set web browser display height & width -C H W 36 2000 |
d | Return/set current namespace `. |
e | Return/set error trap mode -e [0|1] 0 |
f | List functions in NS. No parameter means current NS |
l | Load q script or database directory |
o | Return/set local time offset in hours from GMT -o N 0N |
p | Return/set port used \p portNumber . Note 0=no listening socket. |
P | Return/set print precision. 0 = maximum -P N 7 |
r | Display replication (host;port); OR oldfile newfile /- Rename a file |
s | Display number of slaves used for parallel execution -s N 0 |
S | Display/set seed for pseudo-random number generator -S N -314159 |
t | Display/set timer in milliseconds. 0=timer off -t N 0 |
ts | time and space measuring of function call |
T | Display/set timeout (secs) for single client call. 0=off -T N 0 |
u | Reload user:password file -u F |
v | Display list of variables in current namespace |
w | Workspace memory (used/heap/peak/max/mapped); OR 0 /- print internalised symbol count and memory usage |
W | Display/set weekday offset. 0 = Saturday -W N 2 |
x | .z.?? Reset .z function |
z | Display/set date conversion format from string -z [0|1] 0 |