- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Verify spooler in several machines
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
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
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
05-28-2007 01:36 AM
05-28-2007 01:36 AM
Verify spooler in several machines
I want to know, how I can compare the spool in two different HPUX 11.11 servers, I mean, if I have the same printers configured in both machines.
Thanks...
Hayse:)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 02:18 AM
05-28-2007 02:18 AM
Re: Verify spooler in several machines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 02:46 AM
05-28-2007 02:46 AM
Re: Verify spooler in several machines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 03:16 AM
05-28-2007 03:16 AM
Re: Verify spooler in several machines
lpstat -v >/tmp/`uname -n`.lpdevices.out
on both servers
Then scp/rcp one of those files to the other machine and do a diff on them.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 06:38 AM
05-28-2007 06:38 AM
Re: Verify spooler in several machines
lpstat results is:
List with status each of the queues every server, doesn't work because is a very long list
*************************************
The result of compare /var/spool/lp/request/print_queue_name in both servers is the same file in both servers
*************************************
I exec lpstat -v >/tmp/`uname -n`.lpdevices.out in both servers, then copy one file to another server, and make a diff command, but the result I don't know how to interpret it
Thanks for ypur help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 01:02 PM
05-28-2007 01:02 PM
Re: Verify spooler in several machines
If you could attach your diff output we could help. If the lpstat -v output is not sorted the same on each system and each is one line, you could do:
$ lpstat -v | sort >/tmp/$(uname -n).lpdevices.out
Then diff the two files.