Open-AudIT

What's on your network?
It is currently Fri Apr 27, 2018 10:59 am

All times are UTC + 10 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Nov 13, 2015 2:14 am 
Offline
Newbie

Joined: Sat Oct 31, 2015 5:54 am
Posts: 2
Hi guys,

Due to the nature of the servers I want to audit I need the audit scripts to run as the lowest possible priority. How can I accomplish that? Cpu impact is verging on killing my project :(

Any thoughts?


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 13, 2015 9:49 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1254
I don't think you can do what you want. The high CPU is coming from the WMI queries which don't run with the priority of the script process but the WMI process. And you can't give low priority to a service (that I know of.)

You could audit fewer machines at a time. Or you could put artificial pauses in the script to spread out the load of the WMI queries it makes. I haven't attempted to see which queries cause the highest CPU usage. Might be an interesting exercise.


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 16, 2015 10:42 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1944
Location: Brisbane, Australia
You could also run your discovery at a time of low use (say 2am).

_________________
Support and Development hours available from Opmantek.
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 17, 2015 7:53 pm 
Offline
Newbie

Joined: Sat Oct 31, 2015 5:54 am
Posts: 2
the problem i have is my customer facing environment is 24/7 with strict cost implications if our customers are unable to use the system even for a few moments.

in the mean time i have got the green light to roll this out to the internal network as is. so will be able to get an audit done of the internal systems.

thanks for the replys guys. I will look for a way to script a priority change for the wmi for this script.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group