Search Results

Search: Posts Made By: vai_sh
2,091
Posted By vai_sh
Hi Don, Thanks for providing the excellent...
Hi Don,

Thanks for providing the excellent cue about the env settings difference with respect cron and when one logs in.
Added the paths etc. and the utility works fine as required!

Thanks...
2,091
Posted By vai_sh
Hi Don, Sorry for the typo while writing...
Hi Don,

Sorry for the typo while writing here: it should have been:
/path/to/utility/ABC >>/tmp/output

But that is not the issue.

The OS: HP-UX
The command line utility is an executable...
2,091
Posted By vai_sh
Issue in running a command line utility in CRON
Hi Everyone!

I am facing an issue in running a command line utility from the CRON.

This utility displays IPC statistics on UNIX message queues: The "queue name" and the "count" of messages in...
Forum: HP-UX 03-09-2014
4,292
Posted By vai_sh
Thanks for suggestion on using 'WHILE' loop with...
Thanks for suggestion on using 'WHILE' loop with 'READ'.
Will try to use this in the script.
Forum: HP-UX 03-08-2014
4,292
Posted By vai_sh
I made the below change and the script ran...
I made the below change and the script ran fine...!

Thank you all for your time; pointing out the issues and getting it resolved.

:)

will remember to check UUOC from next time...

...
Forum: HP-UX 03-08-2014
4,292
Posted By vai_sh
output of sh -x <script> >sh -x test.sh ...
output of sh -x <script>


>sh -x test.sh
+ + hostname
server=******
+ configfile=/home/spgroup/sup/config_file
+ flagfile=/home/spgroup/sup/flag_file
+ mailfile=/home/spgroup/sup/mail_file...
Forum: HP-UX 03-08-2014
4,292
Posted By vai_sh
Hello, I made the below changes, but I...
Hello,

I made the below changes, but I getting the same error on line 27.


x=`grep -c "$queue" ${flagfile}`
...
...
if [ "$queue" = "q_ft_out" ]
Forum: HP-UX 03-08-2014
4,292
Posted By vai_sh
Hi All, Please see the output of "od -bc...
Hi All,

Please see the output of "od -bc configfile"


0>od -bc config_file
0000000 t e l l a b s 7 1 0 0 0 \n t e
164 145 154 154 141 142 163 067...
Forum: HP-UX 03-08-2014
4,292
Posted By vai_sh
Thanks for checking. Sorry: please dont...
Thanks for checking.

Sorry: please dont conisider "line 48" as that giving the error.
Actaully, while copying the script on this page, I removed some comments and extra lines.
So, if I run the...
Forum: HP-UX 03-08-2014
4,292
Posted By vai_sh
Please see the full script: (Note: it works on...
Please see the full script:
(Note: it works on Linux, but gives the error on HP-UX)


#!/bin/sh

#=============================================================
# Variable Declaration...
Forum: HP-UX 03-08-2014
4,292
Posted By vai_sh
HP-UX: Shell Script giving " 0^J30: Syntax error"
Hi All,
We are getting a very unique error while running a shell script on HP-UX box.
Can somebody help in this regards?

The shell script is working fine on linux/solaris box.

Error:...
Showing results 1 to 11 of 11

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