I need a script that monitors for downed print queues and restarts them.

Posted on 2008-11-18
Last Modified: 2013-11-17
I am running AIX I need a script that monitors for downed print queues and restarts them.
Question by:sonmoth
    LVL 61

    Accepted Solution

    IBMS plumbs big customers' systems this way:
    LVL 68

    Expert Comment

    Something like that?

    # Script to monitor and restart  print queues

    enq -As | grep "DOWN" | awk "{print  \$1}"  | while read que
    enable $que > /dev/null 2> /dev/null
    LVL 10

    Expert Comment

    Yes or:

    enq -As | grep "DOWN" | cut -f 1 -d " " | while read que                                  
    LVL 61

    Expert Comment

    Which was your error? If scripts were handy you should grant some pts to authors

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. Please see for the updated article. It is avail…
    I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now