Sambones
Touch command works for the specified Date formatwith the format i have in the script .And also for the Month (I have same program as yours)
I have no issues reported by touch (bad command argument ..etc)
Anyway i think i am still looking for a shortcut.I will post once i...
SamBones
No. Its not honestly. I am looking for a alternative as i could not figure one .
I am using this as input to a touch command which create a file dd .Based on that start timestamp i have to find files that has changed in a given interval.There can be multiple logfiles.It works fine...
Hi
I am looking for a short and neat program to convert Month Name like Sep to 09 in Solaris
I do not see any date function that can help. This can be for any month and not necessarily current month
I have tried Case statement it works but very messsy.
Input provided
Sep 09
Output...
Hi
Here is another way to grep multiple strings in the same file
code
tail -100 logtest |grep -Ei "engine 0|engine 1|engine 2"
Here is how the o/p
$ grep -Ei "engine 0|engine 1|engine 2" logtest
10/12/2009 11:43:53 [1] ChildID=707908 IndexID=4775801 for engine 0, cmd...
AnniHalic
Kudos to you.I tried to write using for loop while etc not succesffull. Your one liner has helped me and the User community . I have googled and many of them have asked similar questions however there was no answer.
So I would like to give you 5 Stars ***** however only one star...
Annihilannic
Thanks for the response.The code prints timestamp at the begining of the prstat as shown below. What i was looking for is on every line you see there. The reason i am looking at them there is so that i can sort them by timestamp using excel to check on which process was...
Hi
I am trying to run the prstat tool in Solaris to capture merics in production that would tell which PID is using high cpu .Apparently prstat do not have a inbuilt command argument i can pass on which would give me time stamp.So i am thinking of using prstat and then appending timestamp...
Hello
We are planning on using the AIX CIO mount option for our Oracle data and redo log filesystems .Oracle version is 10.2
I checked with the DBA and the DB_Block_size is 8KB
I checked with SA and see the agblksize on the filesystem as 4KB
I want to mount the FS with the cio option . I...
Hi
i have a file vv whose contents are below
<entries xmi:id="VariableSubstitutionEntry_29" symbolicName="UNIVERSAL_JDBC_DRIVER_PATH" value="${WAS_INSTALL_ROOT}/universalDriver/lib" description="The directory that contains the DB2 Universal JDBC driver license file."/>
I need to extract...
All
I have been assigned the task of migrating applications into new Infrastructure . We are moving Apps from Solaris Environment ( Running on Sunfire V480 , E420R E10k V890 .. etc ) to AIX environment P570 only . i need to Size the new Infrastructure based on current Model and utilization...
Hi
I figured out what the problem is . Its basically permission that is set on the linux server . I changed it to following
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
Thought i would share my finding
Cheers
Naveen
Hi
Thanks Jstriech. Actually i need to automate few tasks and want the client to be configured for Automatic login .
For example to run certain automation jobs . It should not prompt me for password .
I followed the instruction as below
1) on Linux server i logged in as the user for which...
Hi All
I have a Linux Server ( Used as SSH Server) and cygwin running on a windows 2003 Server ( used as a SSH client)
I need to execute commands on Linux servers using ssh from cygwin command prompts
Can anyone guide me on how to setup the same .
Thanks and regards
Naveen
d3Vzero
Great and Simple Script . This script works for all months. Thanks a lot in helping me out .
The beauty of this script is that it can be customized for any day ( Monday thursday ...etc)
Hats off to you for thinking so simply . I went in to arithmetics to solve this ... wheras you...
Hello
I want to run my Backup every Second and Fourth Friday of the month .Is there anyway to find which week is today
For example in May , May 17 will be the Fourth week of thye month and May 1 the first week
Thanks in advance
Naveen
Om
I missed one more step . After the server is restarted run the db2iupdt command to update all ur instances and then u should be able to start the DB2 Instance
Cheers
Naveen
Om Sharma
Here is the solution for the same . Sorry for not replying immediately
Solution
=======
Here is the link where i got the solution from
http://dbforums.com/arch/199/2002/11/579037
Moving aio from defined to available will fix the issue..
DB2 UDB Version 8.1 you now
need two...
Hello Friends
I installed DB2V8.1 on AIX 5.1 (32 bit) .All installation went successfull . When i try to start the db2 instance it gives the following error. I checked and the links exist for /usr/lib/threads/libc.a and there is no link for /usr/opt/db2_08_01/lib/libdb2e.a this file . I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.