Search Results

Search: Posts Made By: AusS2000
6,929
Posted By AusS2000
Ok, so it doesn't have a log file. Any other...
Ok, so it doesn't have a log file.

Any other clues?
6,929
Posted By AusS2000
Hey guys, thanks for all your help. I just need...
Hey guys, thanks for all your help. I just need to ask one more question.

The script works and detects whether or not fmxdbc_listener is running, ECHOs the results to the log, and if negative,...
6,929
Posted By AusS2000
Cheers Corona. I love how with Unix no matter how...
Cheers Corona. I love how with Unix no matter how long and convoluted the command there is always a shorter, pithier way of expressing the same thing, that just depends on your knowledge level (or...
6,929
Posted By AusS2000
Cheers. But is my new line: ps -ax...
Cheers.

But is my new line:

ps -ax |grep '/[f]mxdbc_listen' | > /dev/null 2>&1
or
ps -ax |grep '/[f]mxdbc_listen' |grep > /dev/null 2>&1
or something else.

< newb
6,929
Posted By AusS2000
Thought I had better report back on this. ...
Thought I had better report back on this.

Success!!!

#!/bin/sh

#checking to see if fmxdbc_listener exists and writing to a variable

ps -ax |grep '/fmxdbc_listen' |grep -v grep >...
6,929
Posted By AusS2000
Ok, so going back to this post, I assume the grep...
Ok, so going back to this post, I assume the grep statement is comparing a string to the output and matching 'fmxdbc_listener' in both, hence the problem. Should I instead search for...
6,929
Posted By AusS2000
Strange, that reports an illegal option.
Strange, that reports an illegal option.
6,929
Posted By AusS2000
Hmm, that doesn't return anything, just hangs...
Hmm, that doesn't return anything, just hangs until I Ctrl-C..
6,929
Posted By AusS2000
That gives: When running 501 60992 60974...
That gives:

When running
501 60992 60974 0 0:00.00 ?? 0:00.00 (fmxdbc_listener)
501 76383 273 0 0:55.56 ?? 6:12.40 /Applications/FileMaker Pro 11...
6,929
Posted By AusS2000
When I run the code (without redirect) with...
When I run the code (without redirect) with fmxdbc_listener running I get:

211 ?? S 2:23.14 ./fmxdbc_listener

If I run it without fmxdbc_listener running I get:

211 ?? Z ...
6,929
Posted By AusS2000
Any chance I could get some help with this line: ...
Any chance I could get some help with this line:

/bin/ps ax |grep fmxdbc_listener |egrep -v "grep|checkfmxdbc" > /dev/null 2>&1

I guess the intention is that it returns 0 then the process is...
6,929
Posted By AusS2000
The only problem I see with this is that I don't...
The only problem I see with this is that I don't initially launch the process. It is a part of FileMaker's start up. So getting the initial PID might be a problem.
6,929
Posted By AusS2000
I seems to happen once or twice a week at current...
I seems to happen once or twice a week at current load.

I'm not sure how to recuperate the processID at launch time. If this would help I would appreciate your guidance.

But shouldn't I be able...
6,929
Posted By AusS2000
How to tell if a process is running?
Hi all, please excuse the newby question.

I run OSX servers with Filemaker and Terascript (formerly Witango, before that Tango). Terascript talks to Filemaker via JDBC so I have installed the...
Showing results 1 to 14 of 14

 
All times are GMT -4. The time now is 11:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy