Skip to main content
Applied syntax highlighting
Source Link
JW0914
  • 8.3k
  • 7
  • 31
  • 50
 

There's nothing that I know of that in single cmdlet form, but like you say, scripts are easy to write to emulate top.

while (1) { ps | sort -desc cpu | select -first 30; sleep -seconds 2; cls }
while (1) { ps | sort -desc cpu | select -first 30; sleep -seconds 2; cls }

There's nothing that I know of that in single cmdlet form, but like you say, scripts are easy to write to emulate top.

while (1) { ps | sort -desc cpu | select -first 30; sleep -seconds 2; cls }
 

There's nothing that I know of that in single cmdlet form, but like you say, scripts are easy to write to emulate top.

while (1) { ps | sort -desc cpu | select -first 30; sleep -seconds 2; cls }
typo: right -> write
Source Link
x0n
  • 608
  • 5
  • 9

There's nothing that I know of that in single cmdlet form, but like you say, scripts are easy to rightwrite to emulate top.

while (1) { ps | sort -desc cpu | select -first 30; sleep -seconds 2; cls }

There's nothing that I know of that in single cmdlet form, but like you say, scripts are easy to right to emulate top.

while (1) { ps | sort -desc cpu | select -first 30; sleep -seconds 2; cls }

There's nothing that I know of that in single cmdlet form, but like you say, scripts are easy to write to emulate top.

while (1) { ps | sort -desc cpu | select -first 30; sleep -seconds 2; cls }
Post Migrated Here from stackoverflow.com (revisions)
Source Link
x0n
  • 608
  • 5
  • 9

There's nothing that I know of that in single cmdlet form, but like you say, scripts are easy to right to emulate top.

while (1) { ps | sort -desc cpu | select -first 30; sleep -seconds 2; cls }