Solved

Cache Database Script

Posted on 2006-06-20
5
1,089 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
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