Date: JUN 2008
Product & Version: NVBU Any
OS Version: Any
Module & Version: N/A
Application version: N/A
Symptoms:
On occasions netvault may be very slow, appear to hang or plugins may crash this could be down to lack of available memory on the system the client or server application is running. To check what memory is being used by which process and if netvault is not releasing memory back to the operating system we can run the attached script (nvmemusage_task.bat)
Here's How to schedule nvmemusage_task.bat to run during the backup window in windows 2003 and 2008 :
A) Under C:\ put supplied script nvmemusage_task.bat, a script that runs nvmemusage, tasklist and pipes to a file. Below is an example of this script:
Example:
nvmemusage_task.bat:
----------------------
@echo off
echo ============================================================================================= >> C:\nvmemusage.txt
echo. >> C:\nvmemusage.txt
echo %date% >> C:\nvmemusage.txt
"C:\Program Files (x86)\BakBone Software\NetVault Backup\util\nvmemusage.exe" >> C:\nvmemusage.txt
echo. >> C:\nvmemusage.txt
tasklist >> C:\nvmemusage.txt
echo. >> C:\nvmemusage.txt
echo ============================================================================================= >> C:\nvmemusage.txt
B) We now need to create from command line a task in windows task scheduler to run the script every minute. This needs to be done as administrator and the following parameters are required:
- Give a name to the task
- Point it to the script
- define the frequency (every 1 min)
- define duration to prevent from continuously running the task (sd = start date, ed = endtime):
Example:
 schtasks /create /tn ak_sched_final /tr "C:\nvmemusage_task.bat" /sc MINUTE /mo 1 /sd 03/23/2011 /ed 03/24/2011
The task will be created under current logged-on user name ("CSLAB\ex07").
Please enter the run as password for CSLAB\ex07: *********
SUCCESS: The scheduled task "ak_sched_final" has successfully been created.
C) now Run the task: The task will be run immediately, then every 1 minutes until the end date:
Example:
C:\Documents and Settings\ex07.CSLAB>schtasks /run /tn ak_sched_final
SUCCESS: Attempted to run the scheduled task "ak_sched_final".
Note:
The task will run nvmemusage followed by tasklist showing all processes running reporting on their memory usage.
The result of all will be appended to a unique file.
Each section will be printed between clear sections delimited by a line of '===' characters to separate each run, and starting by the %date%.
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center