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 [...]

111
 
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 [...]

146
End of the line!
Latest Windows news
 
Read More
59
 
Read More
60
 
Read More
2875

Trending Topics
windows server
Development
hyper-v
News
SysAdmins
windows
containers
windows admin center
Web Technologies
Follow Us
Top Stories
 
 
 
 
 
 
 
 
Right Now
 
How to clear Powershell history (done right!)
 
 
 
 
 
Top Five
Heat Index
 
1
Must Read:How to containerize Windows Admin Center
 
2
Must Read:How to run PHP 7 x64/x86 on Windows Azure Pack
 
3
Visual Studio: how to run Windows Phone and Android emulators in a virtual machine
 
4
WordPress and MySQL: fixing the wp_options table
 
5
The little virtual machine that is crashing Hyper-V on AMD

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