Sponsored Content
Full Discussion: Notification Activity
Top Forums Shell Programming and Scripting Notification Activity Post 302725059 by DGPickett on Thursday 1st of November 2012 04:04:57 PM
Old 11-01-2012
Well, usually after an abort the exit is not 0, which you can catch and immediately store right after, "ret_code=$?", then 'if [ "$ret_code" != 0 ];then do_your_thing done'.
 

4 More Discussions You Might Find Interesting

1. AIX

Disk activity

I'm new on UNIX and i want to display the LV NAME, LPs, PPs, DISTRIBUTION, MOUNT POINT but i don't know what is the command. Thanks, Regards (3 Replies)
Discussion started by: tovohery
3 Replies

2. Shell Programming and Scripting

activity on a file

is there anyway to tell when an activity is happening on a file. i'm talking about something deeper than what ls -l can give. when i say activity, i want to know exactly when any commands was run on a specific file. i.e, did anyone run the mail command on this file. did anyone cat this... (2 Replies)
Discussion started by: Terrible
2 Replies

3. UNIX for Dummies Questions & Answers

CPU Activity

One of my user always complains about the load on the server, he works in a different location & time zone. Is it possible to check the CPU activity during specific time/days? let us say for example, i want to check the load on the server at 9 pm to 10 PM on August 22th ? Not the current load.... (2 Replies)
Discussion started by: sydney2008
2 Replies

4. AIX

System activity

Hi, I want to find program's file read,write for a particular time.For example i am executing an application called test1, this will get input from some parameter files(file1,file2,file3) and it will write to some files(file4,file5), so i want to execute one program which will capture these... (3 Replies)
Discussion started by: gnanadurai_it
3 Replies
ABORT(3)						     Linux Programmer's Manual							  ABORT(3)

NAME
abort - cause abnormal process termination SYNOPSIS
#include <stdlib.h> void abort(void); DESCRIPTION
The abort() first unblocks the SIGABRT signal, and then raises that signal for the calling process. This results in the abnormal termina- tion of the process unless the SIGABRT signal is caught and the signal handler does not return (see longjmp(3)). If the abort() function causes process termination, all open streams are closed and flushed. If the SIGABRT signal is ignored, or caught by a handler that returns, the abort() function will still terminate the process. It does this by restoring the default disposition for SIGABRT and then raising the signal for a second time. RETURN VALUE
The abort() function never returns. CONFORMING TO
SVr4, POSIX.1-2001, 4.3BSD, C89, C99. SEE ALSO
gdb(1), sigaction(2), exit(3), longjmp(3), raise(3) COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. GNU
2007-12-15 ABORT(3)
All times are GMT -4. The time now is 06:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy