Warning: strpos() expects parameter 1 to be string, array given in /home/theserverside/public_html/wp-includes/blocks.php on line 20
Automation | The Server Side Technology
Trending
Heat Index

Notice: Undefined variable: posts in /home/theserverside/public_html/wp-content/themes/engine/functions/theme.php on line 388

Notice: Trying to access array offset on value of type null in /home/theserverside/public_html/wp-content/themes/engine/functions/theme.php on line 388
Automation
Most Recent
 
Read More
March 7, 2018

Detecting unusual CPU load in Powershell

We recently had a problem on a server since one of its services was randomly experiencing spikes in CPU load that required restarting the service. Such event was happening once in a while and only required a restart. While we were tracking the problem down, we needed a temporary solution that didn’t require us to manually restart the service. Luckily Powershell came to the rescue with a simple script:

$interval = 30 #seconds $counterSample = Get-Counter '\Processor(_Total)\% Processor Time' -SampleInterval $interval $avgLoad = $counterSample.CounterSamples.CookedValue Write-Output "Average CPU load : $avgLoad"

The tricky thing is that we didn’t want to measure [...]

169
 
Read More
August 13, 2015

Windows 10 ora ha il suo super package manager

Windows 10 è appena stato rilasciato e si puĂ² iniziare a scoprire tutte le funzionalitĂ  che il nuovo sistema si porta dietro, alcune molto note, altre molte meno. E’ il caso di PackageManagement,  un nome poco fantasioso che nasconde perĂ² il debutto sulle versioni client di Windows di un package manager che a molti ricorderĂ  il famoso apt-get disponibile su molte distribuzioni Linux. In realtĂ  sarebbe meglio definirlo un super package manager perchĂ© unifica le funzionalitĂ  di tutti i diversi sistemi di installazione e gestione applicazioni disponibili su Windows e sviluppati nel corso degli anni, oltre che rappresentare un sistema di inventoring e discovery. Basato su [...]

179
End of the line!
Latest Windows news
 
Read More
272
 
Read More
126
 
Read More
5903

Trending Topics
windows server
SysAdmins
hyper-v
Development
windows
containers
windows admin center
News
powershell
Follow Us
Top Stories
 
 
 
 
 
 
 
 
Right Now
 
Acronis Storage Gateway: how to replace a node for the Backup Service
 
 
 
 
 
Top Five
Heat Index
 
1
Must Read:How to containerize Windows Admin Center
 
2
The little virtual machine that is crashing Hyper-V on AMD
 
3
WordPress and MySQL: fixing the wp_options table
 
4
How to clear Powershell history (done right!)
 
5
Visual Studio: how to run Windows Phone and Android emulators in a virtual machine

Warning: A non-numeric value encountered in /home/theserverside/public_html/wp-content/themes/engine/functions/loop.php on line 75