- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Performance Monitoring
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
09-16-2001 07:51 PM
09-16-2001 07:51 PM
Performance Monitoring
I would appreciate if someone can provide me a script which can summarise the CPU & memory utilization, disk I/O w/c shld be taken on an hourly basis. From the o/p I wld like to generate an Excel spreadsheet where I would generate a chart.
Mike,
Maybe u can help me on this. I read that u have a script doing this.
rgds
Zainal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2001 08:17 PM
09-16-2001 08:17 PM
Re: Performance Monitoring
here is a link with much info.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xc0a0c3d7fb78d4118fef0090279cd0f9,00.html
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2001 09:09 PM
09-16-2001 09:09 PM
Re: Performance Monitoring
If you wish to use something that is free,
you should probably look at 'sar'
For something simple you can try this for
'CPU' output.
#------------------------
# Start System Activitiy report package
/usr/lib/sa/sa2 -s1:00 -e24:00
#------------------------
# Report CPU utilization
# collect activity every 5 minutes (300 seconds)
#------------------------
#
sar -u 300 228 >> /tech/log/cpu.out
diskio
#------------------------
# Start System Activitiy report package
/usr/lib/sa/sa2 -s4:00 -e24:00
#------------------------
# Report DISK utilization
# collect activity every 5 minutes (300 seconds)
# for 19 hours (228 times)
#------------------------
#
sar -d 300 228 >> /tech/log/io.out
Substitute the numbers on how you wish to keep
the information.
For memory and use 'vmstat'. I don't have a script but the man page gives some gives some good information.
# vmstat -n 5 2
Or alternatively (my choice) would be to purchase Glance and Measureare which contains an on-line analyser and an agent which collects information into datafiles. In turn there are other commands that will extract this information from these data files into various formats including that of spreadsheets.
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 07:57 AM
09-17-2001 07:57 AM
Re: Performance Monitoring
Here is an example:
#!/usr/bin/sh
$LOG=top.log
$TMP=top.tmp
while [ 1 ]
do
#Get one page from top
top -d 1 -f $TMP
# or you could use
# top -d 1 -n 100 -f $TMP
# -n 100 will get 100 lines from top into $TMP
echo `date` >> $LOG
cat $TMP >> LOG
rm $TMP
echo "Sleeping for 60 minutes"
# sleep for 60 minutes.
sleep 3600
done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 06:37 AM
09-18-2001 06:37 AM
Re: Performance Monitoring
This is a script for converting sar data to comma separedev value format - for Exel.
Troy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 11:27 AM
09-18-2001 11:27 AM
Re: Performance Monitoring
Have a look at another performance related question. you may get what you are looking for over there.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x1e77abe92dabd5118ff10090279cd0f9,00.html
If you don't find the solution you are looking for, just search the database. I'm sure you'll come across so many questions on the performance issue alone.
hope this helps.
thanks