Oracle Solaris System Administration (MOSC)

MOSC Banner

how to find the most consuming process cpu and memory

edited Jan 18, 2017 4:56AM in Oracle Solaris System Administration (MOSC) 4 commentsAnswered

Hello

As an admin I am obliged to find the most utilizing process and command that is run that is consuming the most cpu or memory.

I have searched the internet and found these but do not give out what I need so I told myself to return to the experts and most experienced users:

ps -elfy

processes are using the most memory

/usr/bin/ps -el | sort -rn -k 10

(top2bottom)

ps -e -o pid,vsz,comm | sort -rn +1

prstat -acs size

prstat -acs size -n 9999999,9999

lists files from largest to smallest on the root filesystem

du -akd / | sort -nr | more

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center