Академический Документы
Профессиональный Документы
Культура Документы
#echo ::memstat|mdb -k
#prstat -a
#prstat -s cpu -n 5
(command is used to list the five processes that are consuming the most CPU resources.
The -s cpu flag tells prstat to sort the output by CPU usage. The -n 5 flag tells prstat to
restrict the output to the top five processes.)
#prstat -s size -n 5
(To view the process consuming the most virtual memory, use the command prstat with
the -s size option. The command prstat -s size -n 5 provides the top five processes on a
system in terms of virtual memory consumption)
#prstat -s rss -n 20 -c 1 1
(To illustrate the problem to the vendor, run a prstat command that is limited to the
process ID of the server application and gathers the statistics every 15 seconds. The
following code example shows how you can do this)
#prstat -p 2443 15
#sar 5 5
#vmstat -p 3
#prstat -t -u wasadm
Mukesh Dhiman
Senior Specialist- UNIX
HCL Comnet Ltd.
Mobile:- +91-9910120149
A-2, Sector 3, Noida, U.P.
Pin- 201301.