Looking for a very simple thing to do in Solaris.
I have a solaris box which has lot of zones ( so not only the host box, also the total available including zones ), i would want to see
Am a linux guy, top gives me everything in Linux. What is the command to do it in Solaris.
Note: I cannot install any commands, so please tell me with the basic available commands that ship with OS installation.
While there are many tools available to check top process but we are going to have focus on two commands. First Command in our list prstat command in solaris and 2nd command will be ps command in solaris. prstat command in solaris.
You can also filter processes by memory usage in top. To do this, press SHIFT + m as shown: Top will filter the processes by memory usage in descending order. Doing this can help identify the process using the most memory, giving you a chance to take action.
Solaris Service Manager unifies service control by managing the interdependency between services, ensuring that they are started (or restarted following service failure) in the appropriate order.
Use the ps command to see what processes are currently running. The ps command shows the process identification number (listed under PID ) for each process you own, which is created after you type a command.
You really want prstat - it does what top does, but it can take setting some switches to get what you want. For example prstat -L for lwp's.
The display is very much like top. And if you require to look like top exactly then you will have to script things together. Linux is BSD, Solaris is system V. A different world.
In general, the the unix rosetta stone helps finding 'commands like xxx from zzz on yyy unix':
http://bhami.com/rosetta.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With