Check disk and RAM usage on Windows Server
Son güncelleme
Investigate capacity issues by checking free disk space and physical memory.
Before you begin
Open PowerShell on a Windows device you are authorised to use. Adapt the examples to your environment.
Example command
Get-Volume | Select-Object DriveLetter,Size,SizeRemaining
Get-CimInstance Win32_OperatingSystem | Select-Object TotalVisibleMemorySize,FreePhysicalMemory
Interpret the result
The disk values are in bytes and the memory values are in kilobytes. Track the trend over time instead of relying on a single reading.
Precautions
Prioritise database and backup drives that are running low on space. Low free RAM can be normal when the system is using memory for its cache.
İlgili makaleler
Check Windows Server services with PowerShell
Check running Windows Server services and their startup types with Get-Service and Win32_Service without changing their settings.
Read Windows Server event logs with Get-WinEvent
Filter critical and error events in Windows Server with Get-WinEvent. Review event IDs, providers and timestamps together.
Verify Windows Server backups
Verify that Windows Server backups can be restored. Keep an offline copy, run an isolated test restore and record time and data-loss limits.
Makale etkileşimi
Bu makale işinize yaradı mı?
Sorular ve yorumlar
Onaylı gönderim bulunmuyor.