Solved

Cache Database Script

Posted on 2006-06-20
5
1,076 Views
Last Modified: 2012-06-27
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.
0
Comment
Question by:Titan522
  • 3
  • 2
5 Comments
 
LVL 25

Expert Comment

by:jrb1
ID: 16948689
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
 
LVL 3

Author Comment

by:Titan522
ID: 16951982
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
 
LVL 25

Expert Comment

by:jrb1
ID: 16957181
0
 
LVL 3

Author Comment

by:Titan522
ID: 16960730
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
 
LVL 25

Accepted Solution

by:
jrb1 earned 500 total points
ID: 16961103
Do you have to if you run it like:

csession <configname> "[label[+offset]]^routine"
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Join & Write a Comment

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now