Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by naveenrt

  1. naveenrt

    COnvert Month into a numeric value in Solaris

    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...
  2. naveenrt

    COnvert Month into a numeric value in Solaris

    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...
  3. naveenrt

    COnvert Month into a numeric value in Solaris

    Thanks Sambones and Avaya I have this code currently .I am looking at an alternative like a one or few lines of code with Awk ..etc Cheers Naveen
  4. naveenrt

    COnvert Month into a numeric value in Solaris

    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...
  5. naveenrt

    Greping for multiple strings in a file

    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...
  6. naveenrt

    Appending prstat command with timestamp

    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...
  7. naveenrt

    Appending prstat command with timestamp

    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...
  8. naveenrt

    Appending prstat command with timestamp

    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...
  9. naveenrt

    AIX and CIO

    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...
  10. naveenrt

    Need help in awk scripting

    thanks alot hoinz that worked . Its simple and it did not strike at all Cheers Naveen
  11. naveenrt

    Need help in awk scripting

    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...
  12. naveenrt

    Comparing AIX and Solaris architecture

    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...
  13. naveenrt

    Using SSh between Linux Servers and Cygwin client

    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
  14. naveenrt

    Using SSh between Linux Servers and Cygwin client

    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...
  15. naveenrt

    Using SSh between Linux Servers and Cygwin client

    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

Part and Inventory Search

Back
Top