Load
uptime and top give you a quick summary of load averages, logged-in users and overall system stress.
Solaris · System Monitoring
Solaris · Lesson 12
Monitor CPU, memory and disk in Solaris. Performance tools overview. Identify bottlenecks. Log file analysis.
System monitoring is about answering a few key questions quickly: Is the system healthy? What is slow? Which component is the bottleneck? As a Solaris admin, you will use a combination of CPU, memory, disk and log tools to build this picture.
In this lesson we focus on tools you listed: top, prstat, iostat, df, du, uptime and system logs.
uptime and top give you a quick summary of load averages, logged-in users and overall system stress.
prstat shows per-process and per-user CPU/memory usage and lets you sort or filter quickly.
iostat tells you if disks and controllers are saturated or error-prone, which often explains slow I/O.
df, du and logs show you where space is used and what errors the system is reporting.
Walk through these flows in your lab. Open two terminals: one to run monitoring commands, another to start/stop test workloads and see their impact.
First get a quick feel of system load and active processes using uptime, top and prstat.
Use prstat -a -s rss to see which processes consume most memory, and ::memstat in mdb -k for a kernel-level view.
Filter prstat output for a specific user, or aggregate usage per user with prstat -t.
Use iostat to see device errors, throughput and extended statistics for disks and controllers.
Check filesystem and directory usage to find where space is being used.
Use tail and grep to scan important logs when you notice high load or errors.
In future lessons on ZFS and patching, these monitoring tools will help you verify the impact of your changes.