- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Utility to capture disk usage in HTML format (tabu...
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
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
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
тАО10-21-2002 08:13 PM
тАО10-21-2002 08:13 PM
Utility to capture disk usage in HTML format (tabular)
I need help to get a web site ready for management reporting purposes. One of the requirements is to display the following info (vgdisplay output) in a HTML table:-
VG Name /dev/vg00
Alloc PE 2223
Free PE 2117
VG Name /dev/vg01
Alloc PE 8594
Free PE 87
VG Name /dev/vg02
Alloc PE 8654
Free PE 27
----------------------------------------------------------
Total XXXXXX
=============================
This seems to be a simple task but I know very little HTML & I need advise on how best to transfer this info in real time from a hp-ux server to the web server, i.e. by clicking on a link with the hostname.
Really appreciate whatever help I can get.
Rgds,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2002 08:31 PM
тАО10-21-2002 08:31 PM
Re: Utility to capture disk usage in HTML format (tabular)
Hi ,
Try the cfg2html utility. It collects your system configuration and formats it to HTML. Attached is our test machine configuration.
The website for cfg2html is:
http://members.tripod.com/rose_swe/cfg/cfg.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2002 08:40 PM
тАО10-21-2002 08:40 PM
Re: Utility to capture disk usage in HTML format (tabular)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2002 11:50 PM
тАО10-21-2002 11:50 PM
Re: Utility to capture disk usage in HTML format (tabular)
Thank you for your prompt response. I have actually reviewed both cfg2html & nickel in another post.
The output of both are somewhat raw, i.e. bdf, vgdisplay output.
For this purpose I have created 3 arrays to hold the VG name, Alloc PE & Free PE. These can later be manipulated for totals etc.
I hope this makes sense but I'm just wondering if someone has come up with something similar to manage disk space on the hp-ux boxes.
Rgds, John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2002 03:20 AM
тАО10-22-2002 03:20 AM
Re: Utility to capture disk usage in HTML format (tabular)
at the top of the document.
Does it have to be real time or could you update the file via cron every 30 min , then use ftp to transfer the file to your web server. Also would it not be better to use MB not PE as the PE can vary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2002 03:34 AM
тАО10-22-2002 03:34 AM
Re: Utility to capture disk usage in HTML format (tabular)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2003 02:10 PM
тАО01-24-2003 02:10 PM
Re: Utility to capture disk usage in HTML format (tabular)
Don't know if you are still interested, but here's something I hacked together. It gathers all the VG info and bdf info and puts it into a table with the Lvols listed down the left side and the PVs listed across the top. Makes it really easy to see where the data is. Let me know if it works for you.
Robin_sharpe@berlex.com
Oh yeah... it requires perl 5.6 & the CGI module. But they come with HP-UX now, so you should be able to just drop it in your cgi-bin directory. Then call it from the browser as: http:\\yourserver\cgi-bin\qvg.pl?node=theServerYouWantToMap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2003 02:17 PM
тАО01-24-2003 02:17 PM
Re: Utility to capture disk usage in HTML format (tabular)
http://foo/cgi-bin/qvg.pl
But if you want the info from host "bar", first you have to setup the .rhosts on "bar" in the home of the user that runs httpd on foo... we run ours as user www, so on "bar" you'd need a .rhost entry like this:
foo www
Then in the browser, do this:
http://foo/cgi-bin/qvg.pl?node=bar
HTH
Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2003 03:42 PM
тАО01-24-2003 03:42 PM