Search Results

Search: Posts Made By: swmk
2,091
Posted By swmk
Wow.... Thanks a lot for great replies :). So,...
Wow.... Thanks a lot for great replies :). So, that means my script is wrong... :(
2,091
Posted By swmk
Help on Process Monitoring Script
Hi All,

I have a Java application running in the background which process looks like this.


java -DMyService=Y -DWorkingDir

And I have a monitoring script which looks like this;

...
Forum: Solaris 10-21-2008
5,961
Posted By swmk
Thanks for the replies. Can you suggest me what...
Thanks for the replies. Can you suggest me what will be the most suitable option for my case? What I need is that I need to write directly to remote location. Number of files would be fairly large...
2,844
Posted By swmk
Sorry that I didn't do a good research. For now,...
Sorry that I didn't do a good research. For now, we are planning to use sshfs. And I have other questions on this in other threads. Thanks for your reply.
Forum: Solaris 10-21-2008
5,961
Posted By swmk
Solaris 8 and sshfs
Hi, all..

Does Solaris 8 support sshfs? (Sorry if my question is too simple :o)

We are going to mount a file system from Solaris 8 on HP-UX 11i. Will things will go smoothly with this? Will...
2,844
Posted By swmk
Facts about mounting remote file system
Say, we are going to mount a remote file system on our server. I am not too sure about how will data be transferred back to original host when it is written to the mounted FS. Could you please share...
47,237
Posted By swmk
Anyway to assign it to a variable?
Anyway to assign it to a variable?
47,237
Posted By swmk
Return this; sed: command garbled: s/\/\\/g
Return this;
sed: command garbled: s/\/\\/g
47,237
Posted By swmk
Another problem is that the directory name starts...
Another problem is that the directory name starts with n. Something like this;

C:\ndm\stores

So, when I put like C:\\ndm\\stores, again, it takes \n as a line break.
47,237
Posted By swmk
I cannot add another "\" in the configuration...
I cannot add another "\" in the configuration file. Actually, the values are read from the properties file. Any other alternative? If, no, need to talk with my manager :)
47,237
Posted By swmk
Escaping backslash
I have a variable containt something like this, c:\mask\mask. How can I escape "\" in the values? I want the value as it it.
0
6,774
Posted By swmk
Ndmcli
Hi, all.
This is related to my previous post.
https://www.unix.com/shell-programming-scripting/83718-need-help-awk.html

What I like to know is, can I put like;
copy from (file="$REPORTS_NODE"...
3,701
Posted By swmk
Yes, thank you very much. It solved my problem....
Yes, thank you very much. It solved my problem. One last question. I have to feed that variables to ndmcli. Can I put like

?
Thanks a million!
3,701
Posted By swmk
Like this; ...
Like this;

REPORTS_NODE=/maskhome/mask/mask/daily/*
MASK_P1=/maskhome/mask/mask/input/mask/*
3,701
Posted By swmk
I have tried this. But still, it's printing out...
I have tried this. But still, it's printing out all the files...
4,205
Posted By swmk
I think I didn't make it clear. Sorry. ...
I think I didn't make it clear. Sorry.
Actually, MY_DIR=/apphome/some/mydir is containted in a variable, VAR. That's why.
3,701
Posted By swmk
Need help with awk
CFG_SOURCE=/apphome/work/cfg/app.properties
REPORTS_NODE=`awk -F"=" '/REPORTS_NODE/{$1="";print}' $CFG_SOURCE`

Ok, I have some thing like;
REPORTS_NODE=/maskhome/mask/mask/daily/*
in...
4,205
Posted By swmk
I want MY_DIR as a variable containing...
I want MY_DIR as a variable containing /apphome/some/mydir.

Thanks
4,205
Posted By swmk
Actually, there is nothing to do with the path. I...
Actually, there is nothing to do with the path. I am making a shell script that reads values from a properties file. So, in properties file, I put like that;
MY_DIR=/apphome/some/mydir. I read them...
4,205
Posted By swmk
Thanks! But echoing $MY_DIR returns nothing.
Thanks! But echoing $MY_DIR returns nothing.
4,205
Posted By swmk
Additional Info
I'm using ksh. I did like this export $VAR but it keeps on saying "is not an identifier"
4,205
Posted By swmk
Exporting Value of a Variable as a Variable
Here's how;
Say;
I have a variable VAR which contains something like MY_DIR=/apphome/some/mydir.

What I want is I want to export VAR so that it will vitually export MY_DIR. Please suggest me?
Showing results 1 to 22 of 22

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