Veritas-bu

[Veritas-bu] checking for no activity

2000-07-10 11:31:36
Subject: [Veritas-bu] checking for no activity
From: David A. Chapa david AT datastaff DOT com
Date: Mon, 10 Jul 2000 10:31:36 -0500 (CDT)
My opinion:

bpdbjobs -report | grep Active
if [ $? = 0 ];then
echo "Jobs are still running"
else
echo "Jobs are done"
fi

Perhaps putting this is an until loop would be best for 
your scenario.

David

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David A. Chapa                847 413 1144 p
Director of Technology        847 413 1168 f
DataStaff, Inc.               http://www.datastaff.com
nbu-lserv AT datastaff DOT com       majordomo AT datastaff DOT com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Quoting "Lawrence, Bob" <bob.lawrence AT primark DOT com>:

> 
> I'm using Netbackup 3.1.5 on NT
>
> Before my operators eject tapes each day I want them 
to check that no
> backups (normal or catalog) are running.
> I need to give them a simple yes/no result, so I was 
thinking I'd write a
> script for them to run.
>
> What is the best way to detect if there is no 
activity?
> I reckon run
> c:\veritas\volmgr\bin\vmoprcmd.exe
> and make sure there are no tapes in any of the drives.
>
> Any other suggestions?
>
>
>
> thanks in advance
> Bob
> _______________________________________________
> Veritas-bu maillist  -  Veritas-
bu AT mailman.eng.auburn DOT edu
> 
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-
bu
> 





<Prev in Thread] Current Thread [Next in Thread>