Here is a requirement from my side, i have a script root password expiary, means this script will examine if root password has been expired or not,
if it's expired then it will write into a file and mail to certain mail id till here everything is fine. But i want it to write to errpt,
I can put errpt through errlogger .. as below ...
Code:
#errlogger "Root Password Expired"
#errpt | head
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
AA8AB241 0123113914 T O OPERATOR OPERATOR NOTIFICATION
369D049B 0123113114 I O SYSPFS UNABLE TO ALLOCATE SPACE IN FILE SYSTEM
#errpt -aj AA8AB241 | head -25
---------------------------------------------------------------------------
LABEL: OPMSG
IDENTIFIER: AA8AB241
Date/Time: Thu Jan 23 11:39:53 2014
Sequence Number: 314118
Machine Id: 003F576C4C00
Node Id: db2testlpar
Class: O
Type: TEMP
WPAR: Global
Resource Name: OPERATOR
Description
OPERATOR NOTIFICATION
User Causes
ERRLOGGER COMMAND
Recommended Actions
REVIEW DETAILED DATA
Detail Data
MESSAGE FROM ERRLOGGER COMMAND
Root Password Expired
But i want message as below ....
Code:
#errpt | head
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
AA8AB241 0123113914 T O OPERATOR Root Password Expired ( earlier it was OPERATOR NOTIFICATION )
Thanks in advance,
Amrit
Last edited by Franklin52; 01-23-2014 at 07:47 AM..
Reason: Please use code tags
Hi All,
Can anyone explain me the meanning of the following errors:
LABEL: SC_DISK_ERR2
IDENTIFIER: B6267342
Description
DISK OPERATION ERROR
Probable Causes
DASD DEVICE
Failure Causes
DISK DRIVE
DISK DRIVE ELECTRONICS
Recommended Actions
PERFORM PROBLEM DETERMINATION... (1 Reply)
HI guys,
I'm working on a code with the following specs:
1. Retrieving files with a particular extensions from a location specified by the users.
2. Copying those files to user specified location
i) but i need to pause copy if the network is busy
ii) and the copy process must... (3 Replies)
I am getting this temporary error on my errpt:
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
0873CF9F 0623104510 T S pts/0 TTYHOG OVER-RUN
LABEL: TTY_TTYHOG
IDENTIFIER: 0873CF9F
Date/Time: Tue Jun 22 02:00:53 GMT+08:00 2010
Sequence Number: 76... (3 Replies)
Hi, my name is Steve Ngai from Malaysia. This is my first post. Hope to learn more about Unix from this forum.
My first question is can nmon be customized? When I run nmon, I need to manually type c to see CPU usage, then m for memory usage. Can I pass it some nmon option to automatically see... (2 Replies)
Discussion started by: ngaisteve1
2 Replies
5. Forum Support Area for Unregistered Users & Account Problems
Hi Team,
I am getting the following error when I do an errpt. What do I need to do to fix it.
LABEL: LVM_SA_STALEPP
IDENTIFIER: EAA3D429
Date/Time: Sat 12 Jan 01:10:56 2013
Sequence Number: 880
Machine Id: 00C57B904C00
Node Id: spg-lplaw-01... (1 Reply)
Hi,
I am getting the below error while doing sftp in a script file but the same is getting executed when i run from command prompt
./CARE_SM2_SFTP.sh: put: not found
Code :-
sftp ${USER_ID}@${FTPHOST4}:/opt/path
put <Filename with path>
chmod 777 <FileName with Path>... (2 Replies)
Hi,
I need to develop a bash script to create customized report from the server log (red hat 5.8 64 bit Operating system). The following is one of the log for our internal application task.
<2015.03.03 20:09:52 274 +0800><I><DSCTH01><http-0.0.0.0-443-2><security> GUI request succeeded for... (1 Reply)
Hi,
The below commands will be inside a KSH script and SOLARIS machine.
Command-1 //Executes in 10s,5s,..5mins,etc
TIMER = Look for Command-1 execution status - IF finished in 25secs move to next command in the script IF NOT kill above command and move to next command.
Command-2
Any... (9 Replies)
I tried to ease text searches so made a customized grep:
g () {
if
then
i=
for s in $2
do
i="$i --include=*.$s"
done
else
i='--include=*.txt --include=*.ini --include=*.*sh --include=*.c* --include=*.h --include=*.js --include=*.reg'
fi
grep -P -e \'$1\' -r "$i"
}
but I... (3 Replies)
Discussion started by: abdulbadii
3 Replies
LEARN ABOUT SUSE
drop_operator_family
DROP OPERATOR FAMILY(7) SQL Commands DROP OPERATOR FAMILY(7)NAME
DROP OPERATOR FAMILY - remove an operator family
SYNOPSIS
DROP OPERATOR FAMILY [ IF EXISTS ] name USING index_method [ CASCADE | RESTRICT ]
DESCRIPTION
DROP OPERATOR FAMILY drops an existing operator family. To execute this command you must be the owner of the operator family.
DROP OPERATOR FAMILY includes dropping any operator classes contained in the family, but it does not drop any of the operators or functions
referenced by the family. If there are any indexes depending on operator classes within the family, you will need to specify CASCADE for
the drop to complete.
PARAMETERS
IF EXISTS
Do not throw an error if the operator family does not exist. A notice is issued in this case.
name The name (optionally schema-qualified) of an existing operator family.
index_method
The name of the index access method the operator family is for.
CASCADE
Automatically drop objects that depend on the operator family.
RESTRICT
Refuse to drop the operator family if any objects depend on it. This is the default.
EXAMPLES
Remove the B-tree operator family float_ops:
DROP OPERATOR FAMILY float_ops USING btree;
This command will not succeed if there are any existing indexes that use operator classes within the family. Add CASCADE to drop such
indexes along with the operator family.
COMPATIBILITY
There is no DROP OPERATOR FAMILY statement in the SQL standard.
SEE ALSO
ALTER OPERATOR FAMILY [alter_operator_family(7)], CREATE OPERATOR FAMILY [create_operator_family(7)], ALTER OPERATOR CLASS [alter_opera-
tor_class(7)], CREATE OPERATOR CLASS [create_operator_class(7)], DROP OPERATOR CLASS [drop_operator_class(7)]
SQL - Language Statements 2010-05-14 DROP OPERATOR FAMILY(7)