Sun Solaris 7


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Sun Solaris 7
# 1  
Old 07-29-2002
Sun Solaris 7

As a beginning UNIX administrator, I am looking for the command to display the processor usage in percentage. I am using a Sun Solaris 7.

I have tried to use the command ps -aux, but this does not give any CPU usage.

Can someone please advise me?

Thanks you.

Kind regards,

Myriam
# 2  
Old 07-29-2002
ps -aux should be from /usr/ucb. The output should look like:

USER PID %CPU %MEM SZ RSS TT S START TIME COMMAND
root 1832 1.9 2.3 3048 2736 pts/6 O 10:48:56 0:00 /usr/ucb/ps -aux

You should be able to read the man page using
% man -s1b ps
which give you a different description of the ps command since this one is the Berkeley version of the ps command.

If you need cpu usage it gives the percentage of the cpu being used by a process and the time on the cpu (both user and system time) for the process.

You can look into the sar command if you are looking for cpu utilization (not by processes).

If you are just looking for a utility to monitor, look for top on the Internet.
# 3  
Old 07-29-2002
You might also look into /usr/dt/bin/sdtprocess (check the man page - set /usr/dt/man in your man path)
# 4  
Old 07-30-2002
try using vmstat...
man vmstat
raju
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Patching Procedure in Solaris 10 with sun cluster having Solaris zone

Hi Gurus I am not able to find the patching procedure for solaris 10 ( sol10 u11) to latest patchset with sun cluster having failover zones so that same I should follow. Take an instance, there are sol1 and sol2 nodes and having two failover zones like sozone1-rg and sozone2-rg and currently... (1 Reply)
Discussion started by: nick101
1 Replies

2. Solaris

Sun Solaris not able to ping Sun Solaris

I have a Sun Blade 2500 with SUN 5.9 OS installed. I can ping other machines(windowsXP/2003) from my SUN machines but not able to ping each other SUN machines which i have newly installed. (7 Replies)
Discussion started by: z_haseeb
7 Replies

3. Solaris

useful links and help resources for Sun's products and Sun's Solaris

Hi all, Those links might help anyone Knowledge base Video tutorials (0 Replies)
Discussion started by: h@foorsa.biz
0 Replies

4. Solaris

Solaris 9 to Solaris 10 upgrade on Sun Fire 3800

Hello there! I have Sun Fire 3800 with very old Solaris 9 and I need to perform upgrade to concurrent Solaris 10 version, preserving current OS configuration. I supose to make it using Live Upgrade, but according to Solaris Live Upgrade Software: Minimum Patch Requirements page, I need to... (5 Replies)
Discussion started by: Sapfeer
5 Replies

5. Solaris

Sun Fire 280R Sun Solaris CRT/Monitor requirements

I am new to Sun. I brought Sun Fire 280R to practice UNIX. What are the requirements for the monitor/CRT? Will it burn out old non-Sun CRTs? Does it need LCD monitor? Thanks. (3 Replies)
Discussion started by: bramptonmt
3 Replies

6. UNIX for Dummies Questions & Answers

Sun Solaris 10: How do I create a bootup disc? The Sun website confuses me

Hey there, I am starting a Computer Science Foundation year at the end of this month and am trying to get a little bit ahead of the game. I have always wanted to learn Unix and am currently struggling with creating a boot disc to run Solaris (I have chosen to study this) from as opposed to... (0 Replies)
Discussion started by: Jupiter
0 Replies

7. What is on Your Mind?

Sun Solaris and Open Solaris?

What is the major difference between Sun Solaris 10 and Open Solaris? I believe both are free now, is that true? (3 Replies)
Discussion started by: yipster
3 Replies

8. Solaris

Sun Solaris Sun Java Desktop

Ok I a n00b, not gunna hide it so here goes - Sun Solaris, V.10 i386 - during the setup, I can choose a screen resolution that looks great with 65k colors and all. However, when all is said and done 4 disks and a reboot later, I get hanious 640x480 @ 256 only. If I choose the Sun Java Desktop... (20 Replies)
Discussion started by: Spooky
20 Replies
Login or Register to Ask a Question