- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Output of Custom package scripts to terminal
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
тАО03-19-2009 01:59 AM
тАО03-19-2009 01:59 AM
Output of Custom package scripts to terminal
I am doing some testing with creation of depots on HP-UX systems (11.11).
Want to display some echo statements based on the processing during checkinstall, pre & postinstall scripts on the terminal.
The echo statements are getting directed to /var/adm/sw/swagent.log
I want to display them at the terminal itself.
How can i do it?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 06:35 AM
тАО03-19-2009 06:35 AM
Re: Output of Custom package scripts to terminal
# tail -f /var/adm/sw/swagent.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 07:17 PM
тАО03-19-2009 07:17 PM
Re: Output of Custom package scripts to terminal
>I want to display them at the terminal itself.
That isn't possible since it is swagent or the swagentd demon that is doing the work and it has no idea who started the swinstall.
You could of course send this info to a file and then tail that file as Paolo suggested.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 11:27 PM
тАО03-19-2009 11:27 PM
Re: Output of Custom package scripts to terminal
I wanted to display progress status.
eg.
Command 1 succeeded
Command 2 succeeded
Is this any other way to do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 11:34 PM
тАО03-19-2009 11:34 PM
Re: Output of Custom package scripts to terminal
# tail -f /var/adm/sw/swagent.log | grep succeded
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 02:15 AM
тАО03-20-2009 02:15 AM