Skip to content

Instantly share code, notes, and snippets.

View guillaume8375's full-sized avatar

Guillaume Athenour guillaume8375

  • Paris
  • 12:44 (UTC -12:00)
View GitHub Profile
@guillaume8375
guillaume8375 / top_powershell.ps1
Last active April 24, 2023 14:43
top equivalent for powershell
while (1) {ps | sort -desc cpu | select -first 30; sleep -seconds 2; cls;
write-host "Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName";
write-host "------- ------ ----- ----- ----- ------ -- -----------"}