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

    Is it possible to lock the administrator (or an account with administrator privledges) out of this particular key? Thanks!
  4. 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
  5. 630111

    VSP Cache

    By design, VSP files are supposed to be automatically deleted after the backup has completed. If a problem occurs during the backup, the file doesn't always get deleted. Unless a backup is occuring on the particular machine at the moment, they are ok to delete. If you get some sort of access...
  6. 630111

    How happy are you with NetBackup?

    We went from Legato Networker in March of 2004 to Veritas NetBackup 4.5. It was very painful and Veritas' way of doing things seemed very backwards. Forward almost a year later and I must say that NetBackup is a much superior product. I remember jumping through lots of hoops to get things...
  7. 630111

    Spaces interpreted as newline

    THANKS PHV !! Why are the quotes necessary around the variables? Much appreciated 630111
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 630111

    Passing environment variables

    Thanks for that, Mike042. I should have explained myself better earlier on. I'm fully aware of ~/.profile, ~/.bashrc, and ~/.cshrc. This carrying over of environment variables is supposed to occur after the login. At first, I thought my dba wanted to redefine environment variables from a...
  13. 630111

    Passing environment variables

    Ahhh, I didn't understand you both at first so I had to read it a few times. I created a script called testpath.sh. This is it... #!/bin/sh PATH=/export/home/me export PATH So I log in and check my current path bash-2.03$ echo $PATH /usr/dt/bin:/usr/bin:/usr/ucb:/etc: I run my script...
  14. 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
  15. 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...
  16. 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...
  17. 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...
  18. 630111

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

    You have all been a great help - not only did I get the answer to my question, but I learned a bunch about AWK as well! Thanks so much! 630111
  19. 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...
  20. 630111

    Change kb to gb in script

    Thanks TomThumbKP, that's part of the answer I needed. Because of you, I don't have to divide my kb by 1024 to get mb then divide again by 1024 to get gb. Here's where I am: #!/bin/sh KBVALUE=980642650 GBVALUE=`expr $KBVALUE / 1048576` echo "$KBVALUE kb is $GBVALUE gb" Thanks again! 630111

Part and Inventory Search

Back
Top