System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

unknow process taking up more than 50% CPU

jasonK_1
Frequent Advisor

unknow process taking up more than 50% CPU

Hi,

OS: HP-UX hp B.11.31 U 9000/800 unlimited-user license
I am trying to find which process is taking more than 50% of the CPU time. So far I fail to spot it using top or glanceplus. The only way to stop it is to reboot the server. I attached pix of glanceplus running in the adviser mode along with top. Below is the out of the ps -eafxxx:
UID PID PPID C STIME TTY TIME COMMAND
root 0 0 0 Apr 5 ? 0:53 swapper
root 1 0 0 Apr 5 ? 0:28 init
root 14 0 0 Apr 5 ? 0:04 lvmkd
root 13 0 0 Apr 5 ? 0:00 kevm
root 12 0 0 Apr 5 ? 0:00 net_str_cached
root 11 0 0 Apr 5 ? 0:00 net_str_cached
root 10 0 0 Apr 5 ? 0:00 escsid
root 9 0 0 Apr 5 ? 0:00 ttisr
root 8 0 0 Apr 5 ? 1:35 ksyncer_daemon
root 7 0 0 Apr 5 ? 0:00 ioconfigd
root 6 0 0 Apr 5 ? 0:21 kmemdaemon
root 5 0 0 Apr 5 ? 0:00 signald
root 15 0 0 Apr 5 ? 0:04 lvmkd
root 25 0 0 Apr 5 ? 0:00 nfs_async_io
root 24 0 0 Apr 5 ? 0:00 krpckd
root 23 0 0 Apr 5 ? 0:00 nfs_reclaim
root 22 0 0 Apr 5 ? 0:00 sendfile_vn_rele_daemon
root 21 0 0 Apr 5 ? 0:00 side_daemon
root 20 0 0 Apr 5 ? 0:08 lvmschedd
root 19 0 0 Apr 5 ? 0:04 lvmkd
root 18 0 0 Apr 5 ? 0:04 lvmkd
root 17 0 0 Apr 5 ? 0:04 lvmkd
root 16 0 0 Apr 5 ? 0:04 lvmkd
root 26 0 0 Apr 5 ? 0:00 nfs_failover
root 36 0 0 Apr 5 ? 0:00 strfreebd
root 35 0 0 Apr 5 ? 0:00 strweld
root 34 0 0 Apr 5 ? 0:00 strmem
root 33 0 0 Apr 5 ? 0:09 smpsched
root 32 0 0 Apr 5 ? 0:00 inet_areset_daemon
root 31 0 0 Apr 5 ? 0:00 afinet_strout
root 30 0 0 Apr 5 ? 0:00 cachefskd
root 29 0 0 Apr 5 ? 0:00 autofskd
root 28 0 0 Apr 5 ? 0:00 nfs4_async_io
root 27 0 0 Apr 5 ? 0:00 nfs4clntkd
root 37 0 0 Apr 5 ? 0:00 OlstarMdep
root 44 0 0 Apr 5 ? 0:00 dcda_daemon
root 43 0 0 Apr 5 ? 0:26 progressdaemon
root 42 0 0 Apr 5 ? 0:00 awd
root 4 0 0 Apr 5 ? 0:20 unhashdaemon
root 3 0 0 Apr 5 ? 9:27 statdaemon
root 2 0 0 Apr 5 ? 21:15 vhand
root 41 0 0 Apr 5 ? 0:00 shutdowndaemon
root 40 0 0 Apr 5 ? 0:14 pagetableinit_daemon
root 39 0 0 Apr 5 ? 0:00 lvmattachd
root 38 0 0 Apr 5 ? 0:02 lvmdevd
root 45 0 0 Apr 5 ? 0:00 fcachedaemon
root 61 0 0 Apr 5 ? 0:00 kend
root 60 0 0 Apr 5 ? 0:09 smpsched
root 59 0 0 Apr 5 ? 0:00 sblksched
root 58 0 0 Apr 5 ? 0:00 sblksched
root 57 0 0 Apr 5 ? 6:11 pm_schedcpu
root 56 0 0 Apr 5 ? 0:00 eventdaemon
root 55 0 0 Apr 5 ? 18:14 vxfsd
root 48 0 0 Apr 5 ? 0:00 ipmid
root 47 0 0 Apr 5 ? 0:00 evacd
root 46 0 0 Apr 5 ? 0:11 fb_daemon
root 62 0 0 Apr 5 ? 0:00 nfslogkd
root 121 0 0 Apr 5 ? 0:01 lvmdevd
root 120 0 0 Apr 5 ? 0:00 lvmattachd
root 119 0 0 Apr 5 ? 0:01 lvmdevd
root 101 0 0 Apr 5 ? 0:00 rng
root 1398 1 0 Apr 5 ? 0:00 /usr/sbin/snmpdm
root 2649 1 0 Apr 5 ? 0:00 /sbin/sfd
root 1067 1 0 Apr 5 ? 0:00 /opt/ssh/sbin/sshd
root 181 1 0 Apr 5 ? 0:00 /sbin/fs/fsdaemon -f 0
root 64 0 0 Apr 5 ? 0:27 pagezerod
root 63 0 0 Apr 5 ? 0:00 nfs4srvkd
root 122 0 0 Apr 5 ? 0:00 lvmattachd
root 722 1 0 Apr 5 ? 0:05 /usr/sbin/evmd
root 676 1 0 Apr 5 ? 1:16 /usr/sbin/utmpd
root 672 1 0 Apr 5 ? 0:02 /usr/sbin/syncer
root 1441 1 0 Apr 5 ? 0:00 /usr/sbin/trapdestagt
root 1101 1 6 Apr 5 ? 2:22 /usr/sbin/inetd
root 924 1 0 Apr 5 ? 0:00 /usr/sbin/ptydaemon
root 126 0 0 Apr 5 ? 0:00 lvmattachd
root 125 0 0 Apr 5 ? 0:02 lvmdevd
root 124 0 0 Apr 5 ? 0:00 lvmattachd
root 123 0 0 Apr 5 ? 0:01 lvmdevd
root 1379 1 0 Apr 5 ? 6:43 sendmail: accepting connections
sfmdb 1524 1520 0 Apr 5 ? 0:00 postgres: stats buffer process
root 957 1 0 Apr 5 ? 0:13 /usr/lbin/ntl_reader 0 1 1 1 1000 2 /var/adm/nettl /var/adm/conslog.opts
root 1547 1 0 Apr 5 ? 0:00 /usr/bin/X11/xfs -config /etc/X11/fs/config -port 7000 -daemon -quiet_if_addrinuse
smmsp 1382 1 0 Apr 5 ? 0:00 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue
root 1429 1 0 Apr 5 ? 0:52 /usr/sbin/mib2agt
root 1411 1 0 Apr 5 ? 0:00 /usr/sbin/hp_unixagt
root 958 957 0 Apr 5 ? 0:52 /usr/sbin/netfmt -C -F -f /var/adm/nettl.LOG000 -c /var/adm/conslog.opts
root 1420 1 0 Apr 5 ? 0:49 /usr/sbin/ipv6agt
root 742 722 0 Apr 5 ? 0:00 /usr/sbin/evmchmgr -l /var/evm/adm/logfiles/evmchmgr.log
root 741 722 0 Apr 5 ? 0:55 /usr/sbin/evmlogger -o /var/run/evmlogger.info -l /var/evm/adm/logfiles/evmlogger.log
root 1485 1 0 Apr 5 ? 0:05 /opt/dce/sbin/rpcd
root 1496 1491 0 Apr 5 ? 0:03 /opt/wbem/lbin/cimprovagt 18 16 HPUXIOTreeIndicationProviderModule
root 1495 1491 0 Apr 5 ? 0:26 /opt/wbem/lbin/cimprovagt 16 14 HPUXFCIndicationProviderModule
root 1494 1491 0 Apr 5 ? 1:34 /opt/wbem/lbin/cimprovagt 14 11 SFMProviderModule
root 1493 1491 0 Apr 5 ? 0:03 /opt/wbem/lbin/cimprovagt 11 10 EMSHAProviderModule
root 947 1 0 Apr 5 ? 0:12 /usr/lbin/nktl_daemon 0 0 0 0 0 1 -2
root 920 1 0 Apr 5 ? 0:06 /usr/sbin/syslogd -D
root 1450 1 0 Apr 5 ? 0:00 /usr/sbin/cmdvwagt
root 1491 1 0 Apr 5 ? 36:06 /opt/wbem/lbin/cimserver
root 1582 1 2 Apr 5 ? 2:52 /usr/sbin/pwgrd
root 1492 1491 0 Apr 5 ? 0:00 /opt/wbem/lbin/cimservera
root 1497 1101 0 Apr 5 ? 0:00 /etc/opt/resmon/lbin/registrar
root 1619 1 0 Apr 5 ? 0:00 /usr/sbin/envd
root 1599 1 0 Apr 5 ? 2:09 /usr/sbin/cron
root 1557 1 0 Apr 5 ? 0:42 /usr/sbin/xntpd
root 2648 1 0 Apr 5 ? 0:00 /sbin/krsd -i
lp 1589 1 0 Apr 5 ? 0:31 /usr/sbin/lpsched
oracle 21482 1 0 03:13:18 ? 0:00 ora_arc3_pbla
sfmdb 1525 1524 0 Apr 5 ? 0:00 postgres: stats collector process
root 2009 1 0 Apr 5 ? 0:09 sbin/hostwatchdog
sfmdb 1520 1 0 Apr 5 ? 0:08 /opt/sfmdb/pgsql/bin/postmaster -i -D /var/opt/sfmdb/pgsql
root 1647 1 0 Apr 5 ? 0:00 /opt/hpsmh/lbin/smhstartd
root 14554 1599 0 15:18:00 ? 0:00 sh -c sleep 60;/cronscripts/monVMSTAT.sh
oracle 1724 1 0 Apr 5 ? 0:47 /opt/oracle/product/11.1.0/bin/tnslsnr LISTENER -inherit
root 2773 1 0 Apr 5 ? 0:10 /usr/sbin/stm/uut/bin/tools/monitor/dm_chassis
root 2650 1 0 Apr 5 ? 0:00 /usr/sbin/esmd
root 1689 1 0 Apr 5 ? 0:00 /etc/opt/resmon/lbin/emsagent
root 2775 1 0 Apr 5 ? 0:28 /usr/sbin/stm/uut/bin/tools/monitor/dm_core_hw
root 1626 1 0 Apr 5 ? 0:00 /usr/sbin/hubd
root 1616 1 0 Apr 5 ? 0:32 /usr/sbin/stm/uut/bin/sys/diagmond
root 2647 1 0 Apr 5 console 0:00 /usr/sbin/getty console console
root 1639 1 0 Apr 5 ? 0:10 /usr/sbin/swagentd -r
mlawn 15367 15021 0 15:18:18 pts/tl 0:00 -sh
lpeeti 11043 11032 0 14:43:53 pts/tc 0:00 -sh
oracle 22194 1926 0 15:09:44 ? 0:00 sleep 1440
oracle 12943 1 0 06:54:35 ? 0:07 oraclepbla (LOCAL=NO)
root 11032 1101 0 14:43:53 pts/tc 0:00 telnetd
mlawn 15370 15367 0 15:18:18 pts/tl 0:00 /opt/Speedware/spw71000/bin/spw4gl /opt/ct3/pbnz/prod/lms/lmsenv -UMGR -THP70092-PC -Qb -Z
root 14565 14558 0 15:18:00 ? 0:00 sleep 60
root 2028 1616 0 Apr 5 ? 0:07 diaglogd
oracle 1926 1 0 Apr 5 ? 0:04 /bin/ksh /opt/oracle/admin/bin/ora_compress_arcs
oracle 21432 1 0 03:13:12 ? 0:06 ora_pmon_pbla
oracle 21488 1 0 03:13:20 ? 0:00 ora_qmnc_pbla
cenough 28682 28681 0 12:29:27 pts/th 0:00 -sh
oracle 15383 1 0 15:18:18 ? 0:00 oraclepbla (LOCAL=NO)
lpeeti 12115 12112 0 14:44:15 pts/ti 0:00 /opt/Speedware/spw71000/bin/spw4gl /opt/ct3/pbnz/prod/lms/lmsenv -UMGR -THP70092-PC -Qb -Z
oracle 21504 1 0 03:13:31 ? 0:00 ora_q000_pbla
kgordon 12938 12917 0 06:54:34 pts/td 0:00 -sh
root 2056 1 0 Apr 5 ? 1:25 ./diald
root 2297 1 0 Apr 5 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/RemoteMonitor
root 2628 1 0 Apr 5 ? 0:00 /sbin/sh /usr/dt/bin/dtrc
root 11688 1101 0 14:44:06 pts/ti 0:00 telnetd
root 2030 1616 0 Apr 5 ? 6:20 psmctd
kgordon 13103 13102 0 06:55:33 pts/tg 0:00 -sh
root 2029 1616 0 Apr 5 ? 0:00 memlogd
oracle 21476 1 0 03:13:17 ? 0:00 ora_arc0_pbla
root 2037 1101 0 Apr 5 ? 0:00 /etc/opt/resmon/lbin/registrar
root 1998 1 0 Apr 5 ? 0:50 vxsvc -r /opt/VRTSob/config/Registry -e
root 2776 1 0 Apr 5 ? 0:26 /usr/sbin/stm/uut/bin/tools/monitor/dm_memory
root 2905 2297 0 Apr 5 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/RemoteMonitor
oracle 20705 1 0 14:25:39 ? 0:00 oraclepbla (LOCAL=NO)
root 2774 1 0 Apr 5 ? 1:01 /usr/sbin/stm/uut/bin/tools/monitor/dm_ql_adapter
oracle 21440 1 0 03:13:12 ? 0:00 ora_psp0_pbla
root 12916 1101 0 06:54:28 pts/td 0:00 telnetd
oracle 13093 1 0 06:55:28 ? 0:00 oraclepbla (LOCAL=NO)
root 2544 1 0 Apr 5 ? 72:48 /opt/sanmgr/jre/bin/PA_RISC2.0/java -DHAGT=1 -Djava.net.preferIPv4Stack=true -cp classes/jcore.jar:classes/hostagent.jar:../cssi/Logging/classes/cssilog.jar -Djava.security.policy=config/sec.policy -Djava.library.path=lib com.hp.sanmgr.hostagent.hostserver.JCoreServer
root 28681 1101 0 12:29:26 pts/th 0:00 telnetd
root 2656 1 0 Apr 5 ? 13:31 /usr/lbin/utild
root 2651 1 0 Apr 5 ? 0:07 /opt/wbem/lbin/cimserverd
root 2777 1 0 Apr 5 ? 0:25 /usr/sbin/stm/uut/bin/tools/monitor/fpl_em
root 2627 1 0 Apr 5 ? 1:16 /usr/sbin/stm/uut/bin/tools/monitor/disk_em
root 2646 2628 0 Apr 5 ? 0:00 /usr/dt/bin/dtlogin
oracle 21490 1 0 03:13:22 ? 0:00 ora_w000_pbla
root 28645 1101 0 12:29:15 pts/ta 0:00 telnetd
oracle 28672 1 0 12:29:22 ? 0:00 oraclepbla (LOCAL=NO)
root 2655 1 0 Apr 5 ? 0:32 /etc/opt/resmon/lbin/p_client
oracle 13075 1 0 06:55:19 ? 0:00 oraclepbla (LOCAL=NO)
oracle 11390 1 0 14:44:00 ? 0:00 oraclepbla (LOCAL=NO)
root 2779 1 0 Apr 5 ? 2:25 /usr/sbin/stm/uut/bin/tools/monitor/lpmc_em
kgordon 12981 12978 0 06:54:51 pts/te 0:29 /opt/Speedware/spw71000/bin/spw4gl /opt/ct3/pbtf/prod/lms/lmsenv -UMGR -THP70092-PC -Qb -Z
root 2661 2660 0 Apr 5 ? 6:54 /opt/sanmgr/jre/bin/PA_RISC2.0/java -Xms20m -Xmx120m -Djava.security.manager -Djava.security.policy=java.policy -Djava.security.auth.policy=JAAS.policy -Djava.security.auth.login.config=cimom_jaas.config -Djava.security.auth.login.config=cimom_jaas.config -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol -Djavax.net.ssl.keyStore=hpSMIS.key -Djavax.net.ssl.keyStorePassword=hpSMISPWD -Dcom.hp.smis.trustmanager=com.hp.trust.HPSMIS_NoAuth_TrustManager -classpath .:/opt/SMI-S/cimom/classes/CIMOMServer.jar:/opt/sanmgr/SMI-S/VAProvider/classes/VAProvider.jar:/opt/SMI-S/cimom/classes/xerces.jar:/opt/sanmgr/commandview/client/classes/clui.jar:/opt/sanmgr/commandview/client/classes/hostcompsdk.jar:/opt/sanmgr/commandview/client/classes/jcore.jar:/opt/sanmgr/commandview/client/classes/DOFactory.jar:/opt/sanmgr/commandview/client/classes/panutils.jar:/opt/sanmgr/commandview/client/classes/dev_obj/cassinidevobj.jar:/opt/sanmgr/commandview/client/classes/dev_obj/array2001obj.jar:/opt/sanmgr/commandview
root 2660 1 0 Apr 5 ? 0:00 /opt/SMI-S/cimom/hpSMISCIMOM
root 2778 1 0 Apr 5 ? 5:23 /usr/sbin/stm/uut/bin/tools/monitor/ia64_corehw
root 2672 1 0 Apr 5 ? 0:40 /usr/lbin/kcmond
salex 25836 25777 0 08:44:26 pts/tn 0:00 -sh
lpeeti 11370 11366 0 14:43:59 pts/tc 0:00 /opt/Speedware/spw71000/bin/spw4gl /opt/ct3/pbnz/prod/lms/lmsenv -UMGR -THP70092-PC -Qb -Z
root 14559 1599 0 15:18:00 ? 0:00 sh -c sleep 60;/cronscripts/monSARd.sh
lpeeti 12112 11709 0 14:44:15 pts/ti 0:00 -sh
oracle 21450 1 0 03:13:12 ? 0:55 ora_lgwr_pbla
kgordon 13089 13086 0 06:55:28 pts/tf 0:00 /opt/Speedware/spw71000/bin/spw4gl /opt/ct3/pbtf/prod/ems/emsenv -UMGR -THP70092-PC -Qb -Z
cenough 28706 28703 0 12:29:33 pts/th 0:00 /opt/Speedware/spw71000/bin/spw4gl /opt/ct3/pls/prod/lms/lmsenv -UMGR -THP70092-PC -Qb -Z
root 27347 1101 0 15:11:40 pts/tk 0:00 telnetd
oracle 3993 1 0 09:43:35 ? 0:00 oraclepbla (LOCAL=NO)
root 14560 1599 0 15:18:00 ? 0:00 sh -c sleep 60;/cronscripts/monSwap.sh
oracle 12135 1 0 14:44:15 ? 0:00 oraclepbla (LOCAL=NO)
ajackson 20508 20505 0 08:03:32 pts/tj 2:59 /opt/Speedware/spw71000/bin/spw4gl /opt/ct3/pls/prod/lms/lmsenv -UMGR -THP70092-PC -Qb -Z
kgordon 13073 13070 0 06:55:19 pts/tf 0:00 /opt/Speedware/spw71000/bin/spw4gl /opt/ct3/pbtf/prod/lms/lmsenv -UMGR -THP70092-PC -Qb -Z
root 3055 1 0 Apr 5 ? 0:01 /usr/sbin/stm/uut/bin/tools/monitor/sysstat_em
oracle 21456 1 0 03:13:12 ? 0:00 ora_reco_pbla
root 15766 1 0 14:56:34 ? 0:00 /opt/perf/bin/ttd
root 14556 14554 0 15:18:00 ? 0:00 sleep 60
oracle 7325 1 0 10:02:44 ? 0:00 oraclepbla (LOCAL=NO)
ajackson 20505 20484 0 08:03:32 pts/tj 0:00 -sh
oracle 12983 1 0 06:54:52 ? 0:25 oraclepbla (LOCAL=NO)
root 25772 1101 0 08:44:19 pts/tn 0:00 telnetd
root 7489 7477 0 14:31:42 pts/tb 0:00 -sh
root 12956 1101 0 06:54:45 pts/te 0:00 telnetd
root 15769 27354 1 15:18:27 pts/tk 0:00 ps -aefxxx
root 15009 1101 0 15:18:10 pts/tl 0:00 telnetd
root 15770 1101 1 15:18:27 ? 0:00 rpc.cmsd
kgordon 13086 13085 0 06:55:27 pts/tf 0:00 /usr/bin/sh /opt/ct3/pbtf/prod/ems/profiles/pems
oracle 21458 1 0 03:13:13 ? 0:13 ora_mmon_pbla
lpeeti 11366 11043 0 14:43:59 pts/tc 0:00 -sh
oracle 21444 1 0 03:13:12 ? 0:18 ora_dia0_pbla
root 13102 1101 0 06:55:32 pts/tg 0:00 telnetd
oracle 21486 1 0 03:13:19 ? 0:01 ora_smco_pbla
root 14566 14559 0 15:18:00 ? 0:00 sleep 60
cenough 28703 28682 0 12:29:33 pts/th 0:00 -sh
kgordon 13041 13040 0 06:55:13 pts/tf 0:00 -sh
oracle 25841 1 0 08:44:27 ? 0:02 oraclepbla (LOCAL=NO)
oracle 21448 1 0 03:13:12 ? 0:11 ora_dbw0_pbla
kgordon 13131 13128 0 06:55:39 pts/tg 0:00 /opt/Speedware/spw71000/bin/spw4gl /opt/ct3/pbtf/prod/lms/lmsenv -UMGR -THP70092-PC -Qb -Z
kgordon 13070 13041 0 06:55:19 pts/tf 0:00 -sh
kgordon 12917 12916 0 06:54:28 pts/td 0:00 -sh
oracle 21438 1 0 03:13:12 ? 0:00 ora_dbrm_pbla
cenough 28667 28646 0 12:29:22 pts/ta 0:00 -sh
root 7477 1101 0 14:31:42 pts/tb 0:00 telnetd
oracle 13133 1 0 06:55:39 ? 0:00 oraclepbla (LOCAL=NO)
root 13040 1101 0 06:55:12 pts/tf 0:00 telnetd
oracle 13091 1 0 06:55:28 ? 0:00 oraclepbla (LOCAL=NO)
cenough 28646 28645 0 12:29:15 pts/ta 0:00 -sh
oracle 21452 1 0 03:13:12 ? 0:10 ora_ckpt_pbla
root 14567 14560 0 15:18:00 ? 0:00 sleep 60
salex 25777 25772 0 08:44:20 pts/tn 0:00 -sh
oracle 21484 1 0 03:13:19 ? 0:00 ora_fbda_pbla
ajackson 20484 20483 0 08:03:24 pts/tj 0:00 -sh
cenough 28670 28667 0 12:29:22 pts/ta 0:00 /opt/Speedware/spw71000/bin/spw4gl /opt/ct3/pls/prod/lms/lmsenv -UMGR -THP70092-PC -Qb -Z
kgordon 13128 13103 0 06:55:39 pts/tg 0:00 -sh
root 20483 1101 0 08:03:24 pts/tj 0:00 telnetd
root 14558 1599 0 15:18:00 ? 0:00 sh -c sleep 60;/cronscripts/monSAR.sh
oracle 21446 1 0 03:13:12 ? 0:01 ora_mman_pbla
kgordon 12978 12957 0 06:54:51 pts/te 0:00 -sh
oracle 25277 1 0 08:41:23 ? 0:42 oraclepbla (LOCAL=NO)
root 15741 2778 0 15:18:26 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/ia64_corehw
salex 25839 25836 0 08:44:26 pts/tn 0:05 /opt/Speedware/spw71000/bin/spw4gl /opt/ct3/pbtf/prod/lms/lmsenv -UMGR -THP70092-PC -Qb -Z
oracle 21582 1 0 03:14:10 ? 0:00 ora_q001_pbla
root 27354 27347 0 15:11:40 pts/tk 0:00 -sh
oracle 21480 1 0 03:13:18 ? 0:01 ora_arc2_pbla
lpeeti 11709 11688 0 14:44:06 pts/ti 0:00 -sh
oracle 21454 1 0 03:13:12 ? 0:06 ora_smon_pbla
kgordon 13085 13073 0 06:55:27 pts/tf 0:00 sh -c /opt/ct3/pbtf/prod/ems/profiles/pems
oracle 21478 1 0 03:13:18 ? 0:00 ora_arc1_pbla
oracle 21434 1 0 03:13:12 ? 0:07 ora_vktm_pbla
mlawn 15021 15009 0 15:18:11 pts/tl 0:00 -sh
oracle 28708 1 0 12:29:33 ? 0:00 oraclepbla (LOCAL=NO)
kgordon 12957 12956 0 06:54:45 pts/te 0:00 -sh
kgordon 12941 12938 0 06:54:34 pts/td 0:06 /opt/Speedware/spw71000/bin/spw4gl /opt/ct3/pbtf/prod/lms/lmsenv -UMGR -THP70092-PC -Qb -Z
oracle 20510 1 0 08:03:33 ? 2:20 oraclepbla (LOCAL=NO)
oracle 21460 1 0 03:13:13 ? 0:07 ora_mmnl_pbla
oracle 21436 1 0 03:13:12 ? 0:01 ora_diag_pbla
7 REPLIES
Milan Novak
Occasional Visitor

Re: unknow process taking up more than 50% CPU

Looks like you have lots of short-lived processes. Try 'sar -c 5 5' to confirm that fork/exec rates are high.

hp@mtest:/home/hp $ sar -c 5 5

HP-UX mtest B.11.31 U ia64 04/21/11

08:53:18 scall/s sread/s swrit/s fork/s exec/s rchar/s wchar/s
08:53:23 69563 6869 3565 161.28 145.71 7280620 3816393
08:53:28 70618 4150 643 183.23 166.07 7422876 3429072

System: mtest Thu Apr 21 08:54:10 2011
Load averages: 1.90, 1.86, 1.67
255 processes: 146 sleeping, 106 running, 3 zombies
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 1.93 3.9% 12.6% 34.1% 49.3% 0.0% 0.0% 0.0% 0.0%
1 1.87 3.2% 12.8% 40.8% 43.2% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 1.90 3.6% 12.8% 37.5% 46.2% 0.0% 0.0% 0.0% 0.0%

System Page Size: 4Kbytes
Memory: 5217092K (4951732K) real, 10933904K (10417132K) virtual, 6415204K free Page# 1/7

CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
0 ? 10553 root 205 24 5296K 1000K run 106:02 6.39 6.37 sh
0 ? 23605 root 152 20 38752K 14068K run 126:22 5.71 5.70 ldapclientd
1 ? 2445 ids 152 20 45736K 2952K run 129:18 1.34 1.33 idssysdsp
0 ? 2443 ids 152 20 117M 76736K run 99:52 1.30 1.30 idscor
0 ? 2412 ids 152 20 42628K 23844K run 67:00 1.06 1.06 idsagent
0 ? 2147 root 127 20 73112K 21012K sleep 37:06 1.03 1.02 scopeux
0 ? 2205 root 152 0 70748K 21468K run 62:51 1.03 1.02 perfd
jasonK_1
Frequent Advisor

Re: unknow process taking up more than 50% CPU

Milan,
Here is the output. Does it look normal to you?
HP-UX hp B.11.31 U 9000/800 04/21/11

10:17:38 scall/s sread/s swrit/s fork/s exec/s rchar/s wchar/s
10:17:43 69702 3543 513 43.91 43.91 11073098 7844535
10:17:48 92669 10771 5938 42.80 42.60 12369920 8091238
10:17:53 121634 15062 10079 40.40 40.40 10687283 7720140
10:17:58 120455 15206 10146 42.08 42.08 10528116 7683078
10:18:03 122919 14950 9964 49.00 49.00 10564403 7530906

Average 105456 11901 7324 43.64 43.60 11044720 7774044

Michael Steele_2
Honored Contributor

Re: unknow process taking up more than 50% CPU

This is how you find the biggest cpu and memory consumers in hpux

UNIX95=1 ps -ef -o cpu,pid,ppid,wchan,comm | sort -rn 10 | head 10

For memory its the same except substitute 'vsz' with 'cpu'. Note that you can also substitute 'pcpu' for 'cpu'.
Support Fatherhood - Stop Family Law
jasonK_1
Frequent Advisor

Re: unknow process taking up more than 50% CPU

Michael,

Even in my glance syntax file, I have the below statement but glance didn't show which process eating up more than 50% CPU. It shows all other processes that consumed more than 10% but not the one with 50% CPU, just same as top command.

process loop
if PROC_CPU_TOTAL_UTIL > 10 then
{
print PROC_PROC_NAME,"|",PROC_CPU_TOTAL_UTIL,"|",PROC_USER_NAME
}
Michael Steele_2
Honored Contributor

Re: unknow process taking up more than 50% CPU

I think you are missing the point, this is a sorted list from High to Low.
Support Fatherhood - Stop Family Law
jasonK_1
Frequent Advisor

Re: unknow process taking up more than 50% CPU

Michael,

From that command output, it still didn't show that process. I am totaling all the proccess' CPU usage, but they don't add up to 50%
Dennis Handly
Acclaimed Contributor

Re: unknow process taking up more than 50% CPU

>but not the one with 50% CPU,

There isn't one. You have lots of processes that add up to 50%.
Also top shows you have 30% in system code, not sure if that will show up in the process line in top?
If your highest guy is inetd with 2.8%, you aren't going to find anything.

What's your real problem?