Sponsored Content
Full Discussion: Check no. of mailqueue
Top Forums UNIX for Dummies Questions & Answers Check no. of mailqueue Post 302933724 by ust3 on Monday 2nd of February 2015 04:36:13 AM
Old 02-02-2015
Check no. of mailqueue

I know the command "mailq" can be used to check any mail is pending , if I would like to get the alert if the no. of pending mail is over 500 , would advise what can I do , if a script can do that ? very thanks
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Script to check for a file, check for 2hrs. then quit

I wish to seach a Dir for a specific file, once the file is found i will perform additional logic. If the file is not found within two hours, i would like to exit. Logically, I'm looking for the best way to approach this Thanks for any assistance in advance. Note: I'm using a C shell and... (2 Replies)
Discussion started by: mmarsh
2 Replies

2. UNIX for Dummies Questions & Answers

is there any way to check if some ip is taken ?

hello is there any tool in unix that will indicate if some ip is already taken by other machine? (4 Replies)
Discussion started by: umen
4 Replies

3. Shell Programming and Scripting

check whether the value changes or not!

HI all, I need help in writing a shell script for the following logic I have a file abc.txt and it contains a number x. The number in the file abc.txt changes every day. I need to develop a shell script which on every run checks the number in the file and increments a variable by 1 if a... (4 Replies)
Discussion started by: marcus_kosaman
4 Replies

4. Shell Programming and Scripting

script to check if another script is running and if so, then sleep for sometime and check again

Hi, I am a unix newbie. I need to write a script to check wheteher another script is still running. If it is, then sleep for 30m and then check again if the script is running. If the script has stopped running then, I need to come out of the loop. I am using RHEL 5.2 (2 Replies)
Discussion started by: mathews
2 Replies

5. UNIX for Advanced & Expert Users

Check EOF char in Unix. OR To check file has been received completely from a remote system

Advance Thanks. (1) I would like to know any unix/Linux command to check EOF char in a file. (2) Or Any way I can check a file has been reached completely at machine B from machine A. Note that machine A ftp/scp the file to machine B at unknown time. (5 Replies)
Discussion started by: alexalex1
5 Replies

6. Shell Programming and Scripting

check if it's there

Dear, I want to check if the file in the if code is there, but I don't know how to do it? if Can someone assist me please? Thanks! kopie() { echo " Geef de naam van bestand + plaats vanwaar gekopieerd moet worden en waarnaar : " echo -n " Plaats : " read plaats ... (7 Replies)
Discussion started by: yadeki
7 Replies

7. Shell Programming and Scripting

check in and check out comments

Hi Do you know how can I get all check in and check out comments for a period of time with Surround SCM CLI ---------- Post updated at 02:00 AM ---------- Previous update was at 01:56 AM ---------- Do you have NAnt tasks that allow us to access Evolution from an NAnt build script? (0 Replies)
Discussion started by: saku
0 Replies

8. Shell Programming and Scripting

Perl code to check date and check files in particular dir

Hi Experts, I am checking how to get day in Perl. If it is “Monday” I need to process…below is the pseudo code. Can you please prove the code for below condition. if (today=="Monday" ) { while (current_time LESS THAN 9:01 AM) ... (1 Reply)
Discussion started by: ajaypatil_am
1 Replies

9. Shell Programming and Scripting

Check

echo "2012-12-26--14.8224 2012-12-27--14.2898 2012-12-28--14.9180 2012-12-29--13.3637 2012-12-30--13.7091" the set of numbers i provided above is separated by spaces. how do i count how many sets there are? i tried: echo "2012-12-26--14.8224 2012-12-27--14.2898 2012-12-28--14.9180... (5 Replies)
Discussion started by: SkySmart
5 Replies
TAGPENDING(1)                                                                                                                        TAGPENDING(1)

NAME
tagpending - tags bugs that are to be closed in the latest changelog as pending SYNOPSIS
tagpending [options] DESCRIPTION
tagpending parses debian/changelog to determine which bugs would be closed if the package were uploaded. Each bug is then marked as pending, using bts(1) if it is not already so. OPTIONS
-n, --noact Check whether any bugs require tagging, but do not actually do so. -s, --silent Do not output any messages. -v, --verbose List each bug checked and tagged in turn. -f, --force Do not query the BTS, but (re)tag all bugs closed in the changelog. --comments Include the changelog header line and the entries relating to the tagged bugs as comments in the generated mail. This is the default. Note that when used in combination with --to, the header line output will always be that of the most recent version. --no-comments Do not include changelog entries in the generated mail. -c, --confirm Tag bugs as both confirmed and pending. -t, --to version Parse changelogs for all versions strictly greater than version. Equivalent to dpkg-parsechangelog's -v option. -i, --interactive Display the message which would be sent to the BTS and, except when --noact was used, prompt for confirmation before sending it. -w, --wnpp For each bug that does not appear to belong to the current package, check whether it is filed against wnpp. If so, tag it. This allows e.g. ITAs and ITPs closed in an upload to be tagged. SEE ALSO
bts(1) and dpkg-parsechangelog(1) COPYRIGHT
This program is Copyright 2008 by Adam D. Barratt <adam@adam-barratt.org.uk>. The shell script tagpending, on which this program is based, is Copyright 2004 by Joshua Kwan <joshk@triplehelix.org> with changes copyright 2004-7 by their respective authors. This program is licensed under the terms of the GPL, either version 2 of the License, or (at your option) any later version. Debian Utilities 2013-12-23 TAGPENDING(1)
All times are GMT -4. The time now is 10:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy