- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: check performance
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
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
07-19-2004 02:12 AM
07-19-2004 02:12 AM
The users are to complain that the system is very slow. The system support only a oracle databese server. How can i make un extensive analyzes of the performance of system, to know that's not system problem.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 02:15 AM
07-19-2004 02:15 AM
Re: check performance
sar 2 5
will give you system activity report: 5 reports at 2 second intervals (adjust the numbers as required). Similarly
vmstat 2 5 and iostat 2 5
for virtual memory and input/output respectively.
Typing the word top and pressing enter will show you the processes taking up the most processor time.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 02:18 AM
07-19-2004 02:18 AM
Solutiontop (this will show any processes hogging CPU time)
uptime (this will show run queue length, large numbers should be considered a busy server)
swapinfo -t (will show if disk swap space has been used)
vmstat 10 10 (will show if paging is actively happening, and therefore you don't have enough memory - look at the "po" column, you want little or no activity here ideally)
sar 10 10 (will show cpu usage over time, 100% utilisation generally will point to cpu bottleneck)
sar -d 10 10 (will show disk usage, and you should be able to determin if disk is your bottleneck).
So you basically need to see if your bottleneck is memory (not enough, so swapping), disk (too slow, to queuing), or cpu (rogue processes, or perhaps just asking too much of it), and go from there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 03:00 AM
07-19-2004 03:00 AM
Re: check performance
I'll create a script to put the information in some files, the work on it in my final report of the situation.
Any ideas to the script?
Thanks, Joel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 03:08 AM
07-19-2004 03:08 AM
Re: check performance
55 23 * * 1-5 /opt/perf/bin/extract -xp -r /home/gwild/zgbltemplate -g -b today 7:00 -e today 18:00 -f stdout | /bin/mailx -s 'svr002 performance report' gwild >/dev/null 2>&1
# cat /home/gwild/zgbltemplate
REPORT "MWA Export on !SYSTEM_ID"
FORMAT ASCII
HEADINGS ON
SEPARATOR="|"
SUMMARY=60
MISSING=0
DATA TYPE GLOBAL
YEAR
DATE
TIME
GBL_CPU_TOTAL_UTIL
GBL_MEM_UTIL
GBL_SWAP_SPACE_UTIL
GBL_MEM_CACHE_HIT_PCT
GBL_DISK_UTIL_PEAK
GBL_FS_SPACE_UTIL_PEAK
If just sar, then you can create reports like this:
0 7 * * * /usr/sbin/sar -d 600 72 > /tmp/sardaily.`"date"|awk '{print$2$3}'` 2>&1
55 5 * * * /usr/sbin/sar -u 2 750 > /tmp/sar555u.`"date"|awk '{print$2$3}'` 2>&1
55 5 * * * /usr/sbin/sar -d 2 750 > /tmp/sar555d.`"date"|awk '{print$2$3}'` 2>&1
55 9 * * * /usr/sbin/sar -u 2 750 > /tmp/sar955u.`"date"|awk '{print$2$3}'` 2>&1
55 9 * * * /usr/sbin/sar -d 2 750 > /tmp/sar955d.`"date"|awk '{print$2$3}'` 2>&1
55 16 * * * /usr/sbin/sar -u 2 750 > /tmp/sar1655u.`"date"|awk '{print$2$3}'` 2>&1
55 16 * * * /usr/sbin/sar -d 2 750 > /tmp/sar1655d.`"date"|awk '{print$2$3}'` 2>&1
Then mail them as well if you like...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 07:27 PM
07-19-2004 07:27 PM
Re: check performance
If you are looking for some document on this then check this UPERFKBAN00000726 document on the knowledge base.
If you are unable to get it I can send you this document. it is around 19 pages.
Cheers,
mohan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 09:51 PM
07-19-2004 09:51 PM
Re: check performance
Send to me the document to my email:
joel_azevedo@fidelidademundial.pt
Stay cool.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 09:54 PM
07-19-2004 09:54 PM
Re: check performance
You are not allowed to send these type of documents. You can of course paste a link, but that is all. They are for users that have support agreements only.
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 10:40 PM
07-19-2004 10:40 PM
Re: check performance
I did not realise that point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 01:04 AM
07-20-2004 01:04 AM
Re: check performance
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 01:13 AM
07-20-2004 01:13 AM
Re: check performance
http://www.interex.org/pubcontent/enterprise/nov01/grumann.jsp
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 01:49 AM
07-20-2004 01:49 AM
Re: check performance
You should also ask the DBA to use the Oracle tools to look into performance.
Regards,
Trond