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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Dudek
  • Order by date
  1. Dudek

    converting vxfs filesystem to ufs

    Hi there.. We have a couple of filesystems that have been converted from UFS to VXFS. I was wondering whether there is any way to convert the VXFS filesystems back to UFS without having to copy out all the files in the VXFS filesystem and copying them back into a UFS filesystem. Is there any...
  2. Dudek

    xntp not updating date

    >>Restart the ntp daemon at the ntp client side and sync >>the date.. Does that mean that every time i change the date on the server i need to restart the daemon at the client? I need to know this cos i am planning to have 20 other clients to sync with the server.. and it defeats the purpose if...
  3. Dudek

    xntp not updating date

    Hi there, I have configured 2 servers running on Solaris 2.6, one as a ntp server and one as an ntp client pointing to the server. The thing is, when i first started up the ntp daemons on the server and then the client, the time on the client server synced with the time of the my ntp server...
  4. Dudek

    convert vxfs to ufs

    hi there.. thanks for the reply. Nope. not talking about my boot disk. Its just another filesystem. I was thinking that creating a new filesystem and copying out the files from the converted (vxfs) to the new filesystem would do it. But are there any other way? And would the vxunroot work for...
  5. Dudek

    convert vxfs to ufs

    Hi there, I have a filesystem that was converted from ufs to vxfs using the veritas file system converter vxfsconvert. How do i undo the conversion to convert back from vxfs to ufs file system? Thanks JD
  6. Dudek

    Using disk for separate oracle instances

    Hi there.. Sorry for the late reply again. The reason why i dont want to use import export is because the database is huge 10TB and to do and import export would cause a too long down time. Actually i have read somewhere that if you have the contorlfiles, datafiles and all (from the 815), you...
  7. Dudek

    Using disk for separate oracle instances

    ...would be able to do it. But is there any other way to do it wihtout using imp/exp. That is why I am wondering whether the steps i mention would work or not and if it *could* work, how do i go about doing it and what are the main points / issues i should keep in mind. Thanks in advance JD
  8. Dudek

    Using disk for separate oracle instances

    Hi there.. Sorry for the late reply. But actually what i really need to know is, If i have 2 different oracle instances running on the same server, basically one is oracle 816 32 bit and the other is oracle 817 64bit (64 bit OS obviuosly). Currently i have the database with the data running...
  9. Dudek

    Using disk for separate oracle instances

    Hi there. I have a one instance running Oracle 816 32 bit and one disk with all the data in it. I also have another instance on another server running 817 64 bit. Both the databases are the same (table spaces/ tables etc etc). So i was wondering whether i can just take the disk form the 816 32...
  10. Dudek

    Urgent!! Inserting UNIX enviroment variables in a Perl script

    Hi there... I currently have a perl script. I was wondering whether it was possible for me to include into the script the environment variables in my unix .profile file into the Perl script. The reason for this is, i need the cron job to run the script automatically every day. But when the cron...
  11. Dudek

    Comparing the number of rows in two files

    Hi there, How can i compare the number of rows in two files (UNIX)? Basically what i need to do is: if (compare number of rows ('file1', 'file2')==0) { do something; } so is there any way to do the comparison of the two files to see whether they have the same number of rows? TIA JD
  12. Dudek

    Checking multiple processes has ended

    Hi there again.. Another question I have a script that runs 3 seperate scripts like below: script1.sh & script2.sh & script3.sh & it pushes it all to the background. I need to run a script script4.sh that would start after ALL THREE scripts script1.sh script2.sh and script3.sh has been...
  13. Dudek

    How to compare between files

    Hi there.. I was wondering whether anyone can help me here.. I have ten files which is divided into two groups IN and OUT the format of the files are rraIN, rraOUT, rrkIN, rrkOUT, szrIN, szrOUT..... where the first 3 letters are in a list in another file list.txt which lists rra rrk szr...
  14. Dudek

    Select a random row

    ...ANybody knows how to select a random row from a table? The table has a key, but the key's number jumps occasionally so i couldnt use like below: select convert (int, max(key) * rand()) for a random key, as it will sometimes give out a null number So anybody can help me here? Thanks JD
  15. Dudek

    Cursor returns last row twice

    ...varchar (5), no_of_letters int) while (@@sqlstatus !=2) begin fetch rr_t into @ltr_type insert #ltr_type select @ltr_type, count(*) from letter_log_rr where letter_type = @ltr_type end close rr_t deallocate cursor rr_t select #ltr_type.letter_type...
  16. Dudek

    Checking whether account is valid or not

    Was wondering whether anyone can help me with this.. I have two tables A and B and one of the columns is an account_id. What i need to do is to check whether the account_id in table B is in table A. If it is, update a column called status to ACTIVE. If the account isnt in table A, then update...
  17. Dudek

    Wait for background processes to finish? How?

    ...2done 1done It seems that the "All done" comes out after the first of the 3 forks finish.. I was wondering whether it would be possible for the "All done" comes out after *all three* finishes.. something like 1 2 3 3done 2done 1done All done Is that possible? Again, TIA JD
  18. Dudek

    Wait for background processes to finish? How?

    ...been around for a week.. anyway, i tried your sample script, and the thing is, i am not sure where to put my process/program p4 such that p4 runs *after* p1, p2, and p3 *completes*...not after they start Heres what i did.. if(fork()){ sleep(5); # parent here, give everything time to...
  19. Dudek

    Wait for background processes to finish? How?

    ...a mistake in the post... What i need is to have p1, p2 and p3 to run simultaneously and then once all of these are finished, then only run p4. I *think* this could be done using threads, but is there any way of doing this without threads? Something like... $pid1 = fork(); $pid1; if ($pid1){...
  20. Dudek

    Wait for background processes to finish? How?

    Hi there... How do i run 3 different processes in a row and then run a 4th process once all three before have finished. Something like: `p1 &`; `p2 &`; `p3 &`; (Once p1, p2 and p3 has finished){`run p4`;} TIA JD

Part and Inventory Search

Back
Top