| Name | Modified | Size | Downloads / Week | 
|---|---|---|---|
| Parent folder | |||
| avg_ping | 2019-06-13 | 420 Bytes | |
| dbping | 2019-06-13 | 2.3 kB | |
| readme | 2019-06-13 | 721 Bytes | |
| Totals: 3 Items | 3.5 kB | 0 | |
dbping: simple timing to see if your database connection is up.
written by: Obnoxio The Clown
Make sure dbping and avg_ping are in your PATH, and that should be it.  No
warranties or nothing. If you find a bug (unlikely, but still...), email me at
obnoxio@hotmail.com and I'll see if I'll deign to fix it.  It's a shell script,
so if you really care, you can work it out for yourself.  :-)
Oh, I only tested it on Solaris 2.6
Usage:
dbping [-i <instance>] [-d <database>] [-r|-n <count>] [-s <seconds>] [-v] [-h|-?]
Defaults are: database sysmaster, instance $INFORMIXSERVER, 1 iteration
('instance is alive|not alive'), 5 seconds between iterations.
-r    : infinite loop
-v    : verbose more
-h|-? : this message