Solved

Cache Database Script

Posted on 2006-06-20
5
1,081 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In today’s complex data management environments, it is not unusual for UNIX servers to be dedicated to a particular department, purpose, or database.  As a result, a SAS® data analyst often works with multiple servers, each with its own data storage…
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
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…

911 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

23 Experts available now in Live!

Get 1:1 Help Now