- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- extract gives blank info
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
тАО07-07-2009 07:00 AM
тАО07-07-2009 07:00 AM
extract gives blank info
Here is what i did. I needed the cpu/memory utilization for the last one week on a machine running 11.0 (Lclass). I followed this thread's (Geoff Wild's example)
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1207964
my mwa status seems fine (i just stopped and started the mwa and removed the log* files). but i get an empty report in the email. Here is the report i got..
MWA Export on ACER23
| | | |System| User |SysCall|Intrpt| Pri |CSwtch| | Peak |DskSubsys|Memory|Cache |Pg Out | Swap |Memory| Network |Netwk| Netwk |
Year| Date |Time |CPU % |CPU % |CPU % | CPU % |CPU % |Queue |CPU % |Swap %|Disk %| Queue | % |Hit % | Rate |Out Rt |Queue | Pkt Rt |OutQ | Queue |
Here is the command i used
/opt/perf/bin/extract -xp -r /home/mswift/zgbltemplate -g -b 06/30/09 -e today-1 18:00 -f stdout | /bin/mailx -s 'ACER23 report' mswift2007@aol.com >/dev/null 2>&1
Would i be missing something? Please advise.
Thanks
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 07:08 AM
тАО07-07-2009 07:08 AM
Re: extract gives blank info
Well....one thing.
/opt/perf/bin/extract -xp -r /home/mswift/zgbltemplate -g -b 06/30/09 -e today-1 18:00 -f stdout | /bin/mailx -s 'ACER23 report' mswift2007@aol.com >/dev/null 2>&1
You are trying to send mail to aol.com
aol.com checks that the mail is from a ip address that can dns resolve. It checks that there is a valid, consistent reverse dns lookup.
I would not be surprised of aol plays games with attachments or even the mail body with their filters.
Blank mail. Hmmm.. Try this:
mailscript with and attachment.
http://www.hpux.ws/?p=7
Do your output to a file.
I'm pretty sure you are getting no output, but if you go to a file and its empty on the HP-UX system you will be sure.
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
тАО07-07-2009 07:13 AM
тАО07-07-2009 07:13 AM
Re: extract gives blank info
Run the extract command itself, no e-mailing, and see what output you get. Tweak that command until you get what you want. Then add the e-mail back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 07:25 AM
тАО07-07-2009 07:25 AM
Re: extract gives blank info
MWA Export on ACER23
| | | |System| User |SysCall|Intrpt| Pri |CSwtch| | Peak |DskSubsys|Memory|Cache |Pg Out | Swap |Memory| Network |Netwk| Netwk |
Year| Date |Time |CPU % |CPU % |CPU % | CPU % |CPU % |Queue |CPU % |Swap %|Disk %| Queue | % |Hit % | Rate |Out Rt |Queue | Pkt Rt |OutQ | Queue |
so my question is why am not gettinbg any data but just the blanks?
Thanks
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 07:45 AM
тАО07-07-2009 07:45 AM
Re: extract gives blank info
********* my mwa status seems fine (i just stopped and started the mwa and removed the log* files). but i get an empty report in the email ***********
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.
The default files to be extracted from are the raw log files in the following directories :
/var/opt/perf/datafiles/ (logglob, logappl, logproc, logdev, logtran)
You removed the log files, so extract may not be able to read the performance date from them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 08:28 AM
тАО07-07-2009 08:28 AM
Re: extract gives blank info
Hows the log files look like under /var/opt/perf/datafiles
Do you see any logs generated after you removed the log files and restarted mwa daemons.?
#ls -l /var/opt/perf/datafiles/log*
Good Luck!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 08:34 AM
тАО07-07-2009 08:34 AM
Re: extract gives blank info
If you want to start your baseline now, in order to get something, you need to let mwa collect logs for a few hours, then try running extract. If your log file deletion and restart of mwa is recent, it is expected not to get any output.
UNIX because I majored in cryptology...