• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1115
  • Last Modified:

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.
0
Titan522
Asked:
Titan522
  • 3
  • 2
1 Solution
 
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
 
jrb1Commented:
Do you have to if you run it like:

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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now