In this video I will show you how to monitor and display real time CPU usage and memory usage on your system using typeperf command.
Command used here are:
typeperf "\Processor(_Total)\% Processor Time"
typeperf "\Processor(_Total)\% Processor Time" -si 2 -sc 10
typeperf "\Processor(_Total)\% Processor Time" "\Memory\Available MBytes"
Hope you like this!