- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: using glance to grab a baseline
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
Discussions
Discussions
Forums
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
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-2005 04:00 AM
тАО09-16-2005 04:00 AM
Does anyone have a useful command-line or script all hacked out for this?
I need to be able to graph (pull into excel) this information with granularity of about 10-30 seconds per datum.
Any help appreciated. Also if there is a better tool for this, let me know.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2005 04:11 AM
тАО09-16-2005 04:11 AM
SolutionDo a man on extract to see what the options are.
EXTRACT(1) EXTRACT(1)
NAME
extract - reads the contents of MeasureWare Agent (MWA) scopeux log
files and creates a "extracted" file whose format has been optimized
for archiving or use by other systems for analysis.
extract - reads the contents of MWA scopeux log files or DSI log files
and exports data in ASCII, BINARY, DATAFILES or WK1 (spreadsheet)
format for use by other programs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2005 04:14 AM
тАО09-16-2005 04:14 AM
Re: using glance to grab a baseline
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2005 04:22 AM
тАО09-16-2005 04:22 AM
Re: using glance to grab a baseline
Run from root's cron:
# 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 'Myserver performance report' gwild@mydomain.com >/dev/null 2>&1
Here's the template
# 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
GBL_MEM_PAGEOUT_RATE
GBL_MEM_SWAPOUT_RATE
GBL_MEM_QUEUE
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2005 05:20 AM
тАО09-16-2005 05:20 AM
Re: using glance to grab a baseline
1.) To adjust frequency of data gathering, which file?
2.) Documentation? (besides man pages)? having trouble finding a good link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2005 05:25 AM
тАО09-16-2005 05:25 AM
Re: using glance to grab a baseline
Here is a script with glacne to grab the cpu/memory output , You can add the disk and network parameter with that .
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2005 05:26 AM
тАО09-16-2005 05:26 AM
Re: using glance to grab a baseline
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2005 05:36 AM
тАО09-16-2005 05:36 AM
Re: using glance to grab a baseline
-Hazem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2005 05:55 AM
тАО09-16-2005 05:55 AM
Re: using glance to grab a baseline
In my cron,
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 'Myserver performance report' gwild@mydomain.com >/dev/null 2>&1
I check it daily from 7AM to 6PM Mon-Fri
Change the 1-5 to a * to check every day...
you can also run it manually...
just man extract for more info.
Rgds...Geoff