Results 1 to 2 of 2
10-18-2012, 05:57 PM #1
- Join Date
- Mar 2007
- Thanked 0 Times in 0 Posts
Getting the Status of an SLP on NB 7.1
I am trying to see if there is a way to get the status of an SLP (active/inactive) when there are no images to process?
nbstlutil report only seems to give you information if images are in a not started state or in process state.
nbstlutil report -lifecycle Duplicate1
No images to process
Trying to script something and this would be very helpful.
02-20-2013, 03:03 PM #2
There is this for simply checking incomplete images.
nbstlutil list -l -image_incomplete
Or if you wanted a scripted version with more complete results try this:
!/usr/bin/ksh # # # Script to check for non-duplicated images in SLP # # Begin BPimage='/usr/openv/netbackup/bin/admincmd/bpimagelist' # Check for -h or -? to print command syntax and exit if [[ $1 = "-h" ]] || [[ $1 = "-?" ]] then print "\nslp_check used to check status of non-duplicated backup images." print " Usage: " print " slp_check <hoursago> - use this to insert any hours ago prior to 24 hours" print " By default this script checks back 24 hours" exit fi # Get Hours ago info # Check for hoursago override; default is 24 hours if [[ $1 = @([0-9]*) ]] then Hours=$1 else Hours=24 fi # Script begin $BPimage -stl_incomplete -U -hoursago $Hours exit
# slp_check 999
Thanks and Good Luck!
By fbettenw in forum Tape / Media LibraryReplies: 2Last Post: 03-29-2011, 04:55 AM
By totalstu in forum TSM OperationReplies: 11Last Post: 01-31-2011, 09:25 AM
By tsmlover in forum TSM Reporting & MonitoringReplies: 2Last Post: 05-15-2009, 03:17 PM
By OKTSMGURU21 in forum Tape / Media LibraryReplies: 2Last Post: 03-13-2008, 08:02 PM
By kiwi_tech in forum Tape / Media LibraryReplies: 0Last Post: 01-03-2007, 06:35 PM