Sponsored Content
Top Forums Shell Programming and Scripting send y /n to a procces after itīs running Post 302205019 by dalmus on Friday 13th of June 2008 07:26:25 AM
Old 06-13-2008
thanks, but this not work, because yes send y continuisly, and I need only pass yes when I decide.

Today have found a solution, not for this, but i discoverd that ontpa -l can be used in this form ontape -l -C an this command not change the state of database, with this my problem is rosolved y can invoke ontape -l -C when i need.

Thanks for all
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to prevent job1 from running while job2 is running..

Hi, Please I need your expert advise on how to prevent/lock from execution job1 while job2 is still running in Unix... THanks:) (3 Replies)
Discussion started by: tikang
3 Replies

2. Shell Programming and Scripting

send mail after script finishes running

Hi All, We now have a Log file which has time stamps of all the scripts ran. It has start time and end time. I now have a requirement to send mail to the Admin after the script finishes running. Can some one help me with a Script which will send mail with Start time and End time of the... (2 Replies)
Discussion started by: srikanthgr1
2 Replies

3. Shell Programming and Scripting

Is there a way to ask expect wait for sometime before running the next send command ?

Hi all, After expect catches the string I specify, is there a way to ask expect wait for sometime before running the next send command ? So my script looks like following, expect "some string" #How to ask expect to wait for a while send "next command" The reason I want to do this is... (0 Replies)
Discussion started by: qiulang
0 Replies

4. UNIX for Advanced & Expert Users

send a new value to a variable in a running background process

Hi guys, I have a issue with a background process, I need to update the value of a variable in that process which is running at this time and it will be running for at least 2 days. Any idea? I will apreciate your help. regards. Razziel. (2 Replies)
Discussion started by: razziel
2 Replies

5. UNIX for Advanced & Expert Users

send attachments using send mail in Solaris

Hi All, I have a requirement to send and email of body html with an attachment. concatinating uuencode output to the mail body with mailx command works, but as my Email body is of HTML type i use sendmail. my command to send HTML body is as below: export MAILTO="recipient@domain.com"... (1 Reply)
Discussion started by: mohan_kumarcs
1 Replies

6. Shell Programming and Scripting

Running Total Running Wild

Hi. A shell scripting newbie here. I am trying to write a script that will create a running total of Sales, and increment a counter for each Sales entry, but when I executed the program it never stopped. counter=0 Sales=0 echo "enter sales price" read sales while do let counter=counter+1... (6 Replies)
Discussion started by: Ccccc
6 Replies

7. AIX

Able to send mail without running MTA (sendmail)?

Hi, I am facing a (for me and coworkers) strange behaviour. When I stop sendmail on a plain AIX 5.3 testing box (there is definetly no sendmail process left running anymore), I am still able to send mails to remote addresses via the mail command. I tried that on another box which is not a... (6 Replies)
Discussion started by: zaxxon
6 Replies

8. Shell Programming and Scripting

Script to send email after comparing the folder permissions to a certain permission & send email

Hello , I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them . I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies

9. UNIX for Beginners Questions & Answers

Grep the 'not running' jobs and will send the update in mail with its name(job)

my request is: i have to create a script , which will grep the 'not running' jobs and will send the update in mail with its name(job) Scenario: logged in to machine abc went to particular path: cd /a/b/c then ./script1.sh status (script.sh is a script,whose status gives info about 10 jobs... (1 Reply)
Discussion started by: learner987
1 Replies

10. UNIX Desktop Questions & Answers

Need to send mail only when the job is not running

I have set up a cron, which will send the mail with not runnnig jobs in the script.sh 15,30,45 * * * * /a/b/c/script.sh | grep not | mail -s "test mail" learner987@gmail.com But i dont want mail when all the jobs are running, but with the above cron i will get mails without the content(if all... (2 Replies)
Discussion started by: learner987
2 Replies
gnats(7)						 Problem Report Management System						  gnats(7)

NAME
gnats - Problem Report Management System DESCRIPTION
GNATS is a bug-tracking tool designed for use at a central support site. Software users who experience problems use tools provided with GNATS to submit Problem Reports to the the maintainers of that software; GNATS partially automates the tracking of these problems by: o organizing problem reports into a database and notifying responsible parties of suspected bugs; o allowing support personnel and their managers to edit, query and report on accumulated bugs; and o providing a reliable archive of problems with a given program and a history of the life of the program by preserving its reported problems and their subsequent solutions. GNATS offers many of the same features offered by more generic databases. You can query and edit existing problem reports (PRs) as well as obtain reports on groups of PRs. The database itself is simply an ordered repository for problem reports; each PR receives a unique, incremental PR number which identifies it throughout its lifetime. Many of the primary functions available with GNATS are accessible from within GNU Emacs. PROBLEM REPORT STATES
PRs go through several states in their lifetimes. The set of states is site-specific. The default set of states are: open the initial state of every PR; this means the PR has been filed and the person or group responsible for it has been notified of the suspected problem analyzed the problem has been examined and work toward a solution has begun feedback a solution has been found and tested at the support site, and sent to the party who reported the problem; that party is testing the solution closed the solution has been confirmed by the party which reported it In some cases, it may be necessary to suspend work on a bug; in this case, its state changes to suspended rather than closed. STRUCTURE
Incoming PRs are assigned an incremental serial number and filed according to category. An index is kept concurrently to accelerate searches of the database. All GNATS administration and database files are located in subdirectories of a directory associated with each database. Databases are named, and the association between database names and directories is described by the databases file, which is found on this system in /usr/etc/gnats/databases. Problem Reports are segregated into subdirectories within the database directory by category. For example, problems submitted with a cate- gory of gcc will be filed in the database subdirectory gcc. GNATS administration files are kept in the database subdirectory gnats-adm: addresses contains mappings between submitter IDs and corresponding e-mail addresses categories table of valid categories and parties responsible for them classes table of valid classes of Problem Reports current keeps track of incremental PR numbers assigned dbconfig describes the structure of the database, and various database-specific options gnatsd.user_access lists host names and access levels of hosts authorized to access the database gnatsd.user_access lists user names, passwords and access levels of users authorized to access the database index database index locks directory containing lock files responsible table of responsible parties and their email addresses states table of valid states of Problem Reports submitters database of sites which submit PRs Administrative programs and programs internal to GNATS are kept in the directory /usr/libexec/gnats while those meant for public use are installed in /usr/bin. /usr/libexec/gnats contains the programs: mkdb used by the GNATS administrator to create a new database mkcat used by the GNATS administrator to create new categories [obsolete] rmcat used by the GNATS administrator to remove outdated categories [obsolete] gen-index used by the GNATS administrator to generate a new version of the index queue-pr mail control program which accepts incoming messages and periodically submits them to the database via cron by feeding them through the program file-pr(8) pr-edit program which is mainly responsible for editing existing PRs and filing new ones; it is used by edit-pr and file-pr file-pr script which uses pr-edit to file new PRs at-pr automatically notifies responsible parties if a PR is not analyzed within a requisite period defined in the submitters file delete-pr used to delete closed PRs /usr/bin contains the programs query-pr used to query the database edit-pr used to edit individual PRs send-pr used to submit problems to GNATS Documentation exists for all programs associated with GNATS. SEE ALSO
Keeping Track: Managing Messages With GNATS (also installed as the GNU Info file gnats.info) databases(5), dbconfig(5), delete-pr(8), edit-pr(1) file-pr(8), gen-index(8), gnats(7), gnatsd(8), mkcat(8), mkdb(8), pr-edit(8), query- pr(1), queue-pr(8), send-pr(1). HISTORY
GNATS was greatly inspired by the BSD sendbug(1) and bugfiler(8) programs. It was originally written in C++, Elisp, shell script, and awk. It presently consists of utilities written in C, shell script, and Elisp. AUTHORS
GNATS was originally written by Heinz G. Seidl (Cygnus Support). Subsequent iterations were developed by Brendan Kehoe (Cygnus Support) and Jason Merrill (Cygnus Support), with help from Tim Wicinski. Documentation was initially developed by Jeffrey Osier (Cygnus Support) and Brendan Kehoe (Cygnus Support). Version 4.x was a substantial rewrite done by Bob Manson (Juniper Networks), Milan Zamazal and Yngve Svendsen (Clustra Systems / Sun Microsystems) COPYING
Copyright (c) 1992, 1993, 1999, 2000, 2003, Free Software Foundation Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be included in translations approved by the Free Software Foundation instead of in the original English. GNATS
August 2003 gnats(7)
All times are GMT -4. The time now is 08:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy