Cache Database Script

I need to be able to create a script that can check the free space in Cache 5 and 5.1.  I have starting using the csession tool but I can't even find basic commands. Can someone point me in the right direction for some good Cache docs that covers csession.
LVL 3
Titan522Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
jrb1Connect With a Mentor Commented:
Do you have to if you run it like:

csession <configname> "[label[+offset]]^routine"
0
 
jrb1Commented:
Hi Titan522,

Have you seen these sample Java programs?

http://vista.intersystems.com/csp/docbook/DocBook.UI.Page.cls?KEY=GCJB_config

Also, check out this (do a find on csession):

http://www.intersystems.com/cache/downloads/documentation/cache5docs/PDFS/GCOS.pdf

Regards,
John
0
 
Titan522Author Commented:
Thanks but all I need to do is create ksh script that checks free space and then quits.  Exiting the csession turns out is giving me problems. All of the basic commands quit exit Control-C dont work.
0
 
Titan522Author Commented:
ccontrol stops are starts cache

but once you type csession <configname> how do you get out of csession and back to the command line?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.