- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- HPE 9000 and HPE e3000 Servers
- >
- Re: Trapping 'VFP' output
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-10-2002 05:51 AM
тАО07-10-2002 05:51 AM
On a A or L server, is there any way to trap the LAN Console 'VFP' command output in a script ?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2002 01:22 PM
тАО07-10-2002 01:22 PM
SolutionHow about this way?
#! /bin/sh
script -a /tmp/vfp.log
(echo "telnet gsp-port;sleep 2;echo "username";sleep 2;echo "passwordincleartext";sleep 2;echo "^Ecf";sleep 2;echo "^B";sleep 2;echo "VFP";sleep 2;echo "Y";sleep TIME;echo "di";sleep 2;echo "y";sleep 2;echo "y")|sh
# Assuming.
^Ecf is Ctrl-E-C-F
^B is Ctrl-B
TIME is the time length you want to trap VFP to /tmp/vfp.log.
Hope this helps.
Thanks
Anu Mathew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2002 11:50 PM
тАО07-10-2002 11:50 PM
Re: Trapping 'VFP' output
I've made some tests this morning and it works !
I've just commented the first line ("script ...") because I had to make a
Thanks a lot for your help.
Michel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 02:00 AM
тАО07-11-2002 02:00 AM
Re: Trapping 'VFP' output
Now that your question has been answered, please assign points. Please see http://us-support.external.hp.com/estaff/bin/doc.pl/screen=estaffAssistance?Page=file0002#forearn for details.
Thanks.
[Please 0 points (or "N/A") for *this* response.]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 06:09 AM
тАО07-11-2002 06:09 AM
Re: Trapping 'VFP' output
To complete my search, when anu writes 'gsp-port', is this the IPname of the LAN Console (what I have tested this morning and works fine) or is there a special port for the GSP which can be acceded directly without using a network link ?
Michel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 08:06 AM
тАО07-11-2002 08:06 AM
Re: Trapping 'VFP' output
I meant by gsp-port the IP address of the LAN Console. You can also access the GSP from the internal port of the system itself.
From the GSP's help,
INTERNAL PORT HELP
The GSP internal port can be used to upgrade the GSP firmware from HP-UX
(XU command). It also comes in handy for enabling LAN access. The
internal port needs to be configured in HP-UX before it can be used. The
internal port is password protected and only allows GSP administrator
access. It is not mirrored.
Example of HP-UX setup:
1. On the system, the GSP internal port should be /dev/tty1p0.
2. SAM does not configure the GSP internal port.
3. If the device file is not present, it can be created by root as follows:
#cd/dev
#mknod tty1p0 c 1 0x010000
4. The internal port can be accessed via terminal emulators such as
cu, if configured properly:
cu -l /dev/tty1p0
5. To terminate the cu session, use "~." [return]
6. Kermit can also be used to access the special device file.
You may access the GSP log using the internal port, with a small shell script.
However in our case, we have a server whose sole purpose is monitoring, so it telnets to the IP addresses. This suits us better since we are using NO resource of the server to access its own GSP. (It matters ;> )
I forgot the script -a termination.
Thanks again,
Anu Mathew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 10:34 PM
тАО07-11-2002 10:34 PM
Re: Trapping 'VFP' output
Please always assign points to *all* responses, even if you only assign 0 points or label the points filed as "N/A". Do not leave responses "unassigned".
Why? Because only responses with points or N/A count for *your* "This member has assigned points to X of Y responses to his/her questions." score. If your score is low, i.e. X is much less than Y, then people are less likely to help you, because it looks like you are not willing to thank the respondents for their efforts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2002 04:11 AM
тАО07-12-2002 04:11 AM
Re: Trapping 'VFP' output
Now it works without a network link. Your extract explaining how to configure the GSP internal port was a great help for me but it was incomplete. I have to add the line:
Direct tty1p0 - 9600 direct
in /usr/lib/uucp/Devices, otherwise I had an error message "Connect failed: Requested device/system name not known"
Thanks for your quick help
Michel
PS: if your are interested by this script let me know
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 01:32 AM
тАО11-11-2003 01:32 AM
Re: Trapping 'VFP' output
Could you send me your script to connect to the GSP internal port?
thanks,
Pedro