- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to run the "cfg2html" tool fast
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
тАО04-09-2009 05:48 AM
тАО04-09-2009 05:48 AM
I am running "cfg2html" tool in all my HP-UX server. it very very slow.
But in linux it takes just 5mins to run and get the output of cfg2html tool.
Why it is very very slow in HP-UX?
How to solve this problem.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 05:54 AM
тАО04-09-2009 05:54 AM
Re: How to run the "cfg2html" tool fast
There is no straight answer for this. All depends on the data being collected by the tool. In linux it may collect less information whereas in HP-UX it might collect multiple informations.
Server load also play little role. If server is busy with other activities, then tool will take time to finish.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 05:58 AM
тАО04-09-2009 05:58 AM
Re: How to run the "cfg2html" tool fast
This also depends on the server itself.
I've got some HP-UX servers that are slow and some that are relatively fast. The older servers are much slower.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 06:18 AM
тАО04-09-2009 06:18 AM
Re: How to run the "cfg2html" tool fast
The process is doing "collecting LVM ..." is long time almost for 1 hour.
Ex:
root@ad002060:/root/cfg2html/9-4-2009 > cfg2html
--=[ http://come.to/cfg2html ]=---------------------------------------------
Starting cfg2html/HP-UX version 3.66 on a 9000/785/J6000 box
Path to cfg2Html /opt/cfg2html/cfg2html_hpux.sh
Path to plugins /opt/cfg2html/plugins
HTML Output File /tmp/ad002060_09-Apr-2009-0709.html
Text Output File /tmp/ad002060_09-Apr-2009-0709.txt
Errors logged to /tmp/ad002060_09-Apr-2009-0709.err
Started at 2009-04-09 07:09:10
Commandline used -0 -o/tmp
Problem If cfg2html hangs on Hardware, press twice ENTER, Ctrl-D or
Crtl-\. Then check your Diagnostics (A.42++ and PHKL_29798)!
--=[ http://come.to/cfg2html ]=---------------------------------------------
USE AT YOUR OWN RISK! (see /opt/cfg2html/doc/cfg2html.html)
Online help: run cfg2html_hpux.sh -h for help or see ~/doc directory
--=[ http://come.to/cfg2html ]=---------------------------------------------
Collecting: HP-UX/System .........................
Collecting: Hardware ....................
Collecting: Software ........
Collecting: Filesystems, Dump- and Swapconfiguration ........
Collecting: LVM ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 06:29 AM
тАО04-09-2009 06:29 AM
Re: How to run the "cfg2html" tool fast
Try with the latest version:
cfg2html 4.22 for HP-UX 11.11-11.31
http://www.cfg2html.com/
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 07:21 AM
тАО04-09-2009 07:21 AM
Re: How to run the "cfg2html" tool fast
I have installed latest version.
Ex:
lndsll03:/homeroot/cfg2html/9-4-2009->swlist -l product | grep -i cfg2html
cfg2html C.04.22.20090128 cfg2html
But i am getting following error message when i try execute this.
Ex:
lndsll03:/homeroot/cfg2html/9-4-2009->cfg2html
sh: cfg2html: Execute permission denied.
pls help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 07:23 AM
тАО04-09-2009 07:23 AM
Re: How to run the "cfg2html" tool fast
It is unusual that it takes 1 hour. It could be due to some inconsistency on lvm configurations. Any lvm disks are missing or removed?
Check the lvm configurations and ioscan outputs..
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 07:26 AM
тАО04-09-2009 07:26 AM
Re: How to run the "cfg2html" tool fast
Give execute permission then run.
#chmod 777 cfg2html
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 07:35 AM
тАО04-09-2009 07:35 AM
Re: How to run the "cfg2html" tool fast
>>#chmod 777 cfg2html
You would be much better off just giving '500' permissions.
# chmod 500 cfg2html
No normal user should ever run cfg2html. Some of the utilities used are probably only available to root so it would not work well.
777 permissions on anything is rarely a correct solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 07:41 AM
тАО04-09-2009 07:41 AM
Re: How to run the "cfg2html" tool fast
Patrick:
>>>777 permissions on anything is rarely a correct solution.<<<
I fully agree with you patrick. I just provided that to senthil to understand how to give executable permission on a file irrespective of users
Ganesh.