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!

Search results for query: *

  1. santhas

    Perl - convert file to CSV formatted file

    I asked this question in Powershell forum but I didn't receive any help, so trying Perl now I have file with data like this: ++++++++++++++++Input file +++++++++++++++++++++++++++++ User Name: Power DBA Description: Role: Power DBA Last Login Date: Jul 1, 2011 4:54:18 PM User Name: Power...
  2. santhas

    Powershell convert to CSV formatted file

    Need help on Powershell I have file with data like this: ++++++++++++++++Input file +++++++++++++++++++++++++++++ User Name: Power DBA Description: Role: Power DBA Last Login Date: Jul 1, 2011 4:54:18 PM User Name: Power User Description: Admin Team Role...
  3. santhas

    AWK question

    Dear awk gurus, I have an out put like this: Min 8% 426 0 0 Avg 20% 0 0 968 I want them to be printed like this: Min 8% 426 0 0 Avg 20% 0 0 968 Thanks
  4. santhas

    cannot connect on socket (25)

    Hi, Have you setup NDMP credentials ( a valid user / password) and have you added the filers as NDMP host?
  5. santhas

    Netbackup restrict where the restore goes

    Hi Netbackup Gurus, I have a question about limiting where the restore can be send to. I have given OPS the bp -r option so when the login they will be taken to recovery menu. Sometimes they forget to change the destination directory ( they have a dedicated restore directory to send all the...
  6. santhas

    AWK help

    Thanks Guys. Both worked for me. Appreciated.
  7. santhas

    AWK help

    Thanks for the input. It didn't help me. It prints everything from File2. I want to print the line above the matching line from File1 ( Ex: filer_xxxxx_Wed_Full) Thanks
  8. santhas

    AWK help

    I have two files File1 filer_xxxxx_Wed_Full /vol/vol1/qtree .... .... File2 /vol/vol1/qtree I want read File2 and if the line in File2 matches a line in File1 then print the line previous to matching line. I tried with this command for ln in `cat /tmp/File2`; do nawk -v var=$ln...
  9. santhas

    Awk records mnipulation

    Dear Gurus, I have an output like this: fcp 1 aaaaaaaaaaaa bbbbbbbbbbbb 1:2:3:4 dddddddd fcp 2 vvvvvvvvvvvvvv 2:4:0:5:9:9 ccccccccccccccc bbbbbbbbbbbbbbb I want to print line 2 and line 3 next to each other ex: bbbbbbbbbbbb 1:2:3:4 How could I do this? Thanks again
  10. santhas

    Backupexec newbie

    Hi Guys, I am new to backup exec and Win. I need to get a list of tapes used in previous night and email that to me. How could I do it?. Can I use bemcmd or any other? Thanks
  11. santhas

    Extract characters

    Hi Gurus, I am trying to separate char and numeric values from ex 12G in an awk script. I want to convert 12G to 24g ( 12*2)g.Any clues pl? Thanks
  12. santhas

    KSH Function

    Sorry, I am not using Gunu date. It's Solaris.
  13. santhas

    KSH Function

    Hi Scripting Gurus, I got this script from internet. Script is fine when I run as a stand alone. I need to embed it into my script as a function to get yesterday/day before yesterday and so on... But it fails when called as function. ********************************************************* #...
  14. santhas

    how to add more tape drives in NetBackup

    Hi, You can either from the Netbackup master server menu run configure Storage devices or in Devices click the New Storage device icon on the top.
  15. santhas

    bptm hangs

    We had SUN to replace one of the tape drive because we were seeing some error messages logged in messages file: May 18 09:54:37 bk001 scsi: [ID 107833 kern.warning] WARNING: /pci@84,2000/lpfc@1/fp@0,0/st@w500104f0005e12d0,0 (st7): May 18 09:54:37 bk001 transport rejected May 18 09:54:41...
  16. santhas

    bptm hangs

    Thanks for your inputs. This week I had SUN engineer came on-site and upgraded the LTO 2 FW. Today I am going to replace one tape drive ( which has been failing nearly everyday) I have enabled bptm log with VERBOSE=5, let see what is says. Thanks again
  17. santhas

    bptm hangs

    I am running NBU 6MP4. Every other day I have NBU bringing down the tape drives and I have to reboot the server to remove the hung bptm procs
  18. santhas

    Simple AWK question

    Hi AWK gurus, What is the quick way to print a file containing values 1 2 3 4 5 to as 1:2:3:4:5 Thanks San
  19. santhas

    Gathering system info

    /usr/platform/`uname -i`/sbin/prtdiag -v grep -i net /etc/path_to_inst ( see any unplumbed networks) prtconf
  20. santhas

    HTML email

    How can I embed a HTML formated file into email via perl on SOlaris. When I print it into email it prints like /font></TD> <TD WIDTH = 2% BGCOLOR = #F0F0F0>&nbsp</TD> <TD ALIGN = LEFT WIDTH = 45% BGCOLOR = #F0F0F0> <font size = 2 face = 'Courier New' color = navy> <U>OW REQUESTS (IAPF940)</U>...

Part and Inventory Search

Back
Top