0% found this document useful (0 votes)
4 views4 pages

Performance Command

The document provides a command reference for monitoring system performance, covering CPU, RAM, disk, network, system, process, and power metrics. It includes specific commands to check system health indicators and troubleshooting steps for common issues. Additionally, it features example tickets demonstrating practical applications of the commands for resolving performance problems.

Uploaded by

rizwansabir265
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views4 pages

Performance Command

The document provides a command reference for monitoring system performance, covering CPU, RAM, disk, network, system, process, and power metrics. It includes specific commands to check system health indicators and troubleshooting steps for common issues. Additionally, it features example tickets demonstrating practical applications of the commands for resolving performance problems.

Uploaded by

rizwansabir265
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

System Performance Command Reference

What it
Success
Category Command Monitors /
Indicator
Measures

Current processor Lower is better


CPU wmic cpu get loadpercentage
utilization (%) (Idle: 0-10%)

Live CPU Stable numbers;


typeperf "\Processor(_Total)\%
CPU "heartbeat" (5 no constant
Processor Time" -sc 5
samples) 100%

Higher = more
Available memory
RAM wmic OS get FreePhysicalMemory "breathing
in Kilobytes (KB)
room"

Lists apps using > Identifies


RAM tasklist /fi "memusage gt 100000"
100MB of RAM "Memory Hogs"

S.M.A.R.T.
Must return
DISK wmic diskdrive get status hardware health
"OK"
check

wmic logicaldisk get caption, Available storage At least 10-15%


DISK
freespace, size space on all drives should be free

DISK typeperf "\PhysicalDisk(_Total)\% How hard the hard Over 80%


System Performance Command Reference

What it
Success
Category Command Monitors /
Indicator
Measures

suggests a slow
Disk Time" -sc 5 drive is working
disk

Total bytes
"Errors" should
NETWORK netstat -e sent/received &
be 0
errors

Traces route and


0% loss at every
NETWORK pathping [Link] checks for packet
"hop"
loss

Recent boot =
systeminfo | find "System Boot When the OS last
SYSTEM fresher
Time" started
performance

"Running" is
List of all tasks good; "Not
PROCESS tasklist /v
with "Status" Responding" is
bad

Battery health Capacity should


POWER powercfg /batteryreport
(Laptops only) be near "Design"
System Performance Command Reference

What it
Success
Category Command Monitors /
Indicator
Measures

--- PERFORMANCE
full echo --- PERFORMANCE SNAPSHOT SNAPSHOT ---
"Performance --- & wmic cpu get loadpercentage & LoadPercentage
Snapshot" at wmic diskdrive get status & wmic OS
once: get FreePhysicalMemory Status

Free memory

Example Ticket #1: "The Frozen Workstation"

1. Check CPU load: wmic cpu get loadpercentage. Result: 98%.

2. Check what is using the CPU: tasklist. Result: [Link] is using massive
resources.

3. The Solution: taskkill /f /im [Link].

4. Verification: Run wmic cpu get loadpercentage again. Result: 5%. (System is now
Available).

Example Ticket #2: "The Ghost Network"

1. Ping Google: ping [Link]. Result: General Failure.

2. Check IP address: ipconfig. Result: IP is [Link] or 169.x.x.x.

3. The Solution: ipconfig /renew.

4. Verification: ping [Link]. Result: Reply received.

System Troubleshooting Flowchart


Start with this Look for this "Red Then use this "Fix"
If the symptom is...
Command: Flag": Command:

"The Internet is "Request timed out"


ping [Link] ipconfig /renew
down" or 100% loss.

"The PC feels wmic cpu get Numbers tasklist (to find the
laggy/slow" loadpercentage consistently > 90. hog)

"I can't save my wmic logicaldisk get "FreeSpace" is a cleanmgr (opens Disk
files" freespace very small number. Cleanup)

"Applications are wmic OS get Number is low (less taskkill /f /im


crashing" FreePhysicalMemory than 500,000 KB). [appname].exe

"The Printer isn't "Print Spooler" is


`net start find "Spooler"`
working" missing from the list.

"The PC is behaving systeminfo | find "Boot Boot time was shutdown /r /t 0


'weird'" Time" weeks ago. (Restart)

"Website is up, but "DNS request timed


nslookup [Link] ipconfig /flushdns
I can't see it" out."

You might also like