Re: Antwort: High system usage

From: Wesley Joyce (Wesley.Joyce@UVI.EDU)
Date: Tue Jul 16 2002 - 11:10:39 EDT


Thanks all for the responses, I will try them out.

At 05:39 AM 7/16/2002, you wrote:

>Hi *,
>
>use for example tprof-command. This command shows you how manny ticks a
>process is used from the cpu during the trace. For example 'tprof -x sleep
>60'. This command makes a output '__prof.all' in the directory where you
>start the tprof.
>Now you can see (in this example the process sas) how many ticks the
>process is used. Here is the process sas which makes the load. From 1999
>CPU-ticks need sas 1782.
>
>
> Process PID TID Total Kernel User Shared
>Other
> ======= === === ===== ====== ==== ======
>=====
> sas 38148 89065 1782 144 1426 147
>65
> wait 516 517 142 142 0 0
>0
> hatsd 7764 10753 20 20 0 0
>0
> db2sysc 67614 52059 17 10 0 7
>0
> swapper 0 3 13 13 0 0
>0
> db2ckpw 39918 42803 5 3 0 2
>0
> db2ckpw 39922 42807 5 4 0 1
>0
> db2ckpw 39920 42805 4 2 0 2
>0
> db2sysc 6330 75659 3 2 0 1
>0
> gil 1032 1807 1 1 0 0
>0
> hatsd 7764 3923 1 0 1 0
>0
> db2sysc 22730 28909 1 1 0 0
>0
> tprof 70822 35487 1 1 0 0
>0
> hagsd 39492 38109 1 1 0 0
>0
> db2sysc 39918 42803 1 1 0 0
>0
> db2sysc 39920 42805 1 1 0 0
>0
> xntpd 57416 44595 1 0 1 0
>0
> ======= === === ===== ====== ==== ======
>=====
> Total 1999 346 1428 160
>65
>
>
>Also you can start 'ps -ef | sort +3 -r'
>this sorts the process after the C columns which describes the CPU load
>
>Both are live checks! Not a average since system start
>
>Best regards,
>Frank Mueller
>
>
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.377 / Virus Database: 211 - Release Date: 7/15/2002


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.377 / Virus Database: 211 - Release Date: 7/15/2002


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:04 EDT