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 TouchToneTommy 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: 630111
  • Content: Threads
  • Order by date
  1. 630111

    NetBackup 6.0 MP4 backup notify script

    (Master Server is running Solaris 10) Under Properties --> Global Attributes for my Master Server, is a field for Administrator e-mail address. Whatever you put here, emails are sent to the address once a backup has completed. What is the pathname of the script that NetBackup uses to send this...
  2. 630111

    Diskgroup with eight 18gb disks - adding two 36gb disks

    I have a diskgroup with eight 18gb disks. My dba wants to add two 36gb disks (only size he could get). Does it makes sense to add these two disks into the configuration below? What would be a good/better alternative other than creating a separate disk group? Disk group: databasedg DG NAME...
  3. 630111

    Lock down one registry key

    Looking at an off-the-shelf application here that has an option that is stored as a registry key. What we'd like to do is lock that particular key so that users cannot change the option. Is anyone aware of a way to lock down the one key? Thanks! 630111
  4. 630111

    Spaces interpreted as newline

    Here's my script #! /bin/sh SPAN1="-d 10/18/2004 17:00 -e 10/22/2004 06:00" SPAN2="-d 10/22/2004 17:00 -e 10/25/2004 06:00" SPAN3="-d 10/25/2004 17:00 -e 10/29/2004 06:00" for I in $SPAN1 $SPAN2 $SPAN3 do echo $I done My output looks like this -d 10/18/2004 17:00 -e 10/22/2004 06:00 -d...
  5. 630111

    Converting a string to a pathname

    Greetings! I've had a request to convert something like this 00054WNGB398977DS to this \00054\WNGB3\98977.DS I suppose it would be easy enough to do it by hand, but I have to do it 2625 times! What utility would I use, and what syntax? I'm guessing every string is consistent. For sure...
  6. 630111

    How do I invert a file

    Say I have a file as follows january february march april may june july august september october november december I want to invert the file so that it reads december november october september august july june may april march february january I don't want to sort it alphabetically, I want...
  7. 630111

    Patch now, reboot later

    We are in a situation where it is necessary to patch servers in our datacenter in the evening, but wait until morning to perform the necessary reboots. Are there any concerns with leaving a machine patched (but not rebooted) for any length of time? Is anyone else doing this? Does anyone NOT...
  8. 630111

    Passing environment variables

    Running Solaris 8 here. When I log in, my path is set to a list of directories. I need to write a script that will change the path and when it exits, retains the new path. Is this even possible? What would be a better approach? Thanks! 630111
  9. 630111

    /usr/bin/logger -f option gives multiple entries per line in the file

    My input file is this... QUANTUMSDLT320 /dev/rmt/7cbn PMC25Y0169 QUANTUMSDLT320 /dev/rmt/8cbn RBD15Y1693 QUANTUMSDLT320 /dev/rmt/9cbn PMC36Y0665 QUANTUMSDLT320 /dev/rmt/10cbn RBD38Y0893 QUANTUMSDLT320 /dev/rmt/11cbn RBE17Y0665 QUANTUMSDLT320 /dev/rmt/12cbn RBD30Y1052 I try to use logger...
  10. 630111

    dumpadm

    In the process of a drive failing and getting replaced, it seems I have lost my dump device # dumpadm Dump content: kernel pages Dump device: none (dumps disabled) Savecore directory: /var/crash/p0690b02 Savecore enabled: yes In /etc/vfstab, I have an entry for a swap volume...
  11. 630111

    Extract two fields (using command line, not an awk file)

    Here's part of my input file... Client: p0691t01 Backup ID: p0691t01_1089702189 Policy: NON_PROD_SOLARIS Policy Type: Standard (0) Proxy Client: (none specified) Creator: root . . . All I need is to get the Client and Policy fields like this...
  12. 630111

    Parsing a file - there's got to be a better way!

    I have a file called ~failures.txt that contains both Production and Non Production backup failures, one line per server. I'd like to parse this file and put the Production failures in one file, and the Non-Production failures in another file. The best way I can come up with is to cat the...
  13. 630111

    Change kb to gb in script

    The script I'm working on produces values in kb (such as 230802698 kb). How do I convert this value so that it's expressed in gb? Thanks, in advance! 630111
  14. 630111

    Microsoft vs UNIX security

    Would appreciate links to internet whitepapers or articles discussing why UNIX security is better than Microsoft security in operating systems. THANKS MUCH, in advance! 630111
  15. 630111

    grep not matching EXACTLY what I tell it to

    I have a text file... usdalnpd01 PROD_WINDOWS usdalphm01 PROD_WINDOWS usdalqdb01 NON_PROD_WINDOWS usdalsvc01 NON_PROD_WINDOWS usdaluat01 NON_PROD_WINDOWS When I do this... cat text.file | grep PROD_WINDOWS I get both the PROD_WINDOWS and...
  16. 630111

    Tape went bad, how to run bpduplicate again on a few images

    I had a tape get stuck last night that had duplicates of four backups. The tape is trashed, and I need to rerun bpduplicate but I get 11:33:27 INF - Skipping backup id usdalfsr03_1087605503, it already has 2 copies. 11:33:30 INF - Skipping backup id usbkrsrv02_1087619089, it already has 2...
  17. 630111

    Necessity of ./ to run a script

    I heard the reason a long time ago but have forgotten it. Why is it that scripts have to be preceeded with a ./ in order to run them? Thanks! 630111
  18. 630111

    Extracting unique IDs from a file

    I have a text file with the following: Andy Bill Brian Jessica Michelle Judy Julie Larry Luke Bill Brian I want to extract only one occurance of each name, no matter how many times it appears in the file. How would I go about this? Thanks! 630111
  19. 630111

    What needs to be in place for my Sun box to receive mail and process

    I'm a little sketchy on the details, so thanks in advance for your patience. All my Sun boxes have Sendmail and I use it alot for reporting (statuses, backups, etc). What I want to do is have Host A send an email to Host B when something happens, and have Host B either do something with the...
  20. 630111

    What is the difference between /kernel/drv/st and /kernel/drv/sg

    The vendor that did our Veritas NetBackup 4.5 FP5 install said it was necessary to use /kernel/drv/sg in our situation (and it looks like the robot is /dev/sg/c3t1l0). SG is some sort of generic SCSI driver, correct? Why would I need both st and sg? There's still alot I don't understand about...

Part and Inventory Search

Back
Top