- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- finding out high IO process
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 08:30 PM
01-17-2006 08:30 PM
We need to find out the process which takes more IO, CPU for a particular day. For example the IO and CPU utilisation is high between 7-9 AM, the sar report says, system idle time is 0% at that time.
We want to find out that process. We have glance pak installed on our system. We can not monitor online at that time, so we want to print the process which takes more IO, CPU continuously for more than 5 min. Please suggest good script / glance pak adviser.
Thanks in advance
Jay
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 08:41 PM
01-17-2006 08:41 PM
Re: finding out high IO process
Some threads with similar problem,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=76945
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=877711
http://www.hpux.ws/buildmail.hpux.text
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 08:41 PM
01-17-2006 08:41 PM
Re: finding out high IO process
I generally use a sar script which includes some top output.
http://www.hpux.ws/system.perf.sh
It runs background and you can successfully schedule it for any interval in cron.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 08:54 PM
01-17-2006 08:54 PM
Re: finding out high IO process
I need to find out the process, whcih takes more IO, CPU, when the syetm IO and CPU utilisation is high.
I have glance pak installed..
regards
Jay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 08:57 PM
01-17-2006 08:57 PM
Re: finding out high IO process
You can find out by standard Unix commands,
# UNIX95= ps -ef -o pcpu="CPU %" -o ruser=USER -o pid,args
# UNIX95= ps -ef -o pid,ruser,vsz,args|sort -nrk3
will be helpful.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 09:34 PM
01-17-2006 09:34 PM
Re: finding out high IO process
Prepeare the report file as follows. (call it report)
REPORT "MWA Export !DATE !TIME Logfile: !LOGFILE !COLLECTOR !SYSTEM_ID"
FORMAT ASCII
HEADINGS ON
DATA TYPE PROCESS
BLANK
RECORD_TYPE
DATE
TIME
PROC_PROC_ID
PROC_PROC_NAME
PROC_CPU_TOTAL_UTIL
PROC_DISK_PHYS_IO_RATE
PROC_MEM_RES
then
extract -v -gapkdztncuyGADZTNUY -b "start_time" -e "end_time" -f out_file
out_file will have the required details.
you can also set an alarm in /var/opt/perf/alarmdef file for this. This will alert you when certain limits are crossed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 09:52 PM
01-17-2006 09:52 PM
Re: finding out high IO process
extract -v -gapkdztncuyGADZTNUY -r report -b "start_time" -e "end_time" -f out_file
Then you can do all sort business depending upon what you want.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 10:33 PM
01-17-2006 10:33 PM
Re: finding out high IO process
Let me explain clearly my requirment.
I want to have a output file, which contains process name, pid and the time and date which makes the system IO and CPU usage as much as 100% continuously for more thn 2 mins. I donthave MEA, I have only Glance pak installed.
Regards
Jay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 10:37 PM
01-17-2006 10:37 PM
SolutionMWA (Measureware Agent) is aprt of glance pak. you definitely have it. The above extract command will give what you want. Else, you can also set up an alarm in /var/opt/perf/alarmdef (Check the examples in /opt/perf/doc/examples).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2006 09:30 PM
01-22-2006 09:30 PM
Re: finding out high IO process
Written my own script thro glance adviser..
Got solution also..
Jay