Search Results

Search: Posts Made By: gowri_g_s
Forum: Linux 09-27-2009
13,907
Posted By gowri_g_s
I would try to do the following (Im a beginner ;)...
I would try to do the following (Im a beginner ;) ) -



CHK=`ssh2 -q <IP> "ps -ef | grep rshd | grep -v grep"`

if [ $CHK -eq 0 ]; then
sleep 30
CHK=`ssh2 -q <IP> "ps -ef | grep...
14,257
Posted By gowri_g_s
I would try to check if there is any issue with...
I would try to check if there is any issue with my script. It should NOT be waiting for any input from stdin nor should it display the output to stdout.
45,665
Posted By gowri_g_s
Unix string? - whats the format that you want?...
Unix string? - whats the format that you want? Please, give example.
Forum: Solaris 09-25-2009
3,973
Posted By gowri_g_s
If what I understood is what you are clarifying -...
If what I understood is what you are clarifying - I would do the following

cron the following command to run every 10 minutes and save the output to a log file

0,10,20,30,40,50 * * * * * ps -u...
4,862
Posted By gowri_g_s
Hi danmero, aigles, Thanks a lot. That...
Hi danmero, aigles,

Thanks a lot. That worked.
4,862
Posted By gowri_g_s
Hi Vidyadhar, Great. That worked. Thanks. ...
Hi Vidyadhar,

Great. That worked. Thanks.
I was using /&!/ and was not getting the desired result.

Hi Ryandegreat25 - thanks for your time.
4,862
Posted By gowri_g_s
awk - use double NOT in search
Hi folks,

Can someone guide me on how to use two "not" in an awk search function?

What would be equivalent to
grep ABCD file | grep TO | grep -v "#" | grep -v "DR" in awk
(my idea is to use...
14,257
Posted By gowri_g_s
you can try "nohup test.sh &" - that would run...
you can try "nohup test.sh &" - that would run the test.sh in backgroud and "nohup" will help it run even if the session is closed.
Forum: Solaris 09-25-2009
6,794
Posted By gowri_g_s
Whats the cron output? Did you try running the...
Whats the cron output? Did you try running the cron script from the prompt rather than from cron?
Forum: Solaris 09-25-2009
6,794
Posted By gowri_g_s
I have done a su and added cron entries that...
I have done a su and added cron entries that worked. Whats the cron entry that you added? What OS are you using? Did you check the 'x' permission of the script that you cron?
4,867
Posted By gowri_g_s
Hi rdcwayx, Never mind. I found out that I...
Hi rdcwayx,

Never mind. I found out that I had committed a syntax error.
Its working fine now.
Thanks a lot to you and to Vidhyadhar.
Have a great time.
4,867
Posted By gowri_g_s
Hi Vidhyadhar, I use Solaris 10. ...
Hi Vidhyadhar,
I use Solaris 10.

----------------

Hi rdcwayx,
nawk worked well in the example above.

But, It did not work with the following line,
DEFINE CHNL(TO.ABC.DEF) CHLTYPE(SDR)...
4,867
Posted By gowri_g_s
Hi, No the above awk line did not work. It...
Hi,

No the above awk line did not work. It throws "awk : syntax error". However, I removed the gsub function and used {print $0} instead and it returns the correct line. But, substitution is...
4,867
Posted By gowri_g_s
Hi Vidyadhar, I will check that out. Thank...
Hi Vidyadhar,

I will check that out. Thank You.
4,867
Posted By gowri_g_s
AWK : copy file with changes
Hi,

I am seeking help to copy a file - with the changes (not just the changes) - to a new file. I have a text file that contains numerous lines of text as given below -

Name ABC.DEF.GHI Adrs...
Showing results 1 to 15 of 15

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