I forgot a condition which I've added to Agama's code. I would like to try this first, however I'm getting and error.
I would need to enter the date in the format below.
filename: limits_check
hi I have following if condition
line_by_line="0000000000000tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt"
if
then
echo "Exclusion criteria"
else
echo "Not exclusion criteria"
fi
above condition works perfectley but if i add one more logical condition... (3 Replies)
Hi there, probably a really simple question to answer but i cant seem to find it
can I use a logical AND (&&) within a CASE statement ie (ps this is useless syntax but youll get the idea
case "$var1","$var2" in
'Billy' && 'Bobby')
... (1 Reply)
I have some geometric data (X Y) that is in the wrong scale. My raw data is in mills but it needs to be in tenths of a mil
I am pretty familiar with awk and sed
I want to use awk to divide $1 and $2 by .1
I'm just not sure of the syntax $1 and $2 are variables and .1 is fixed
simple... (3 Replies)
I'm pretty sure I already know the answer to this, but I want to make sure I'm not overlooking anything. I'm working on a log monitoring script and every 10 lines I want to display a summary of events. The thing is, there are a lot of possible events, that likely won't have happened, so I only want... (0 Replies)
Hi
I want to send a status mail if daily or weekly or monthly batch completed or aborted. Here is the code.
if && &&
||
Else if &&
&& ||
Else if &&
&& ||
then
mailx –s “Status Report” sumone@sumthing.com
else
print ”try again”
Plz suggest the changes. (3 Replies)
I have the following script:
For catching errors like:
But the regular expression ERROR*memory inside case doesn't seem to be working.
The output of bash -x scriptname is:
Please help (5 Replies)
Please tell me how to nest logical expressions in bash. I would like to nest logical expressions for arguments of the "test" command on bash.
The following pseudo-code shows my intention.
// pseudo code
if (exp1 AND (exp2 OR exp3))
{
Output true;
}
else
{
Output false;
}
... (11 Replies)
Hi,
i want to check if a variable var1 is not a or b or c
pseudo code:
If NOT (var1 = a or var1 = b or var1 = c)
then
...
fi
I want to use POSIX complaint Korn shell, and for string comparison
For the following code, logical.sh
#!/usr/bin/ksh
var="j"
echo "Var : $var"
if ! { || ||... (12 Replies)
I do have a shell file where I call many unix commands . I would like to add a regular expression step in that shell file, where a text file, say Test.txt has to be openned and all the :'s should be replaced.
Basically apply the follwoing regular expression:
:%s/://g
to that particular text... (2 Replies)
Below is what i have in my script.
htcount=$(curl -s --user tomcatstatus:tomcatstatus http://`hostname`.mypc.com:887/manager/jmxproxy?qry=Catalina:type=ThreadPool,name=\"http-nio-887\" |grep sBusy | cut -d ' ' -f2)
echo $htcount
if ; then
echo "more than 10"
else
echo "Less than 10"
fi... (6 Replies)
Discussion started by: mohtashims
6 Replies
LEARN ABOUT OSF1
vollogcnvt
vollogcnvt(8) System Manager's Manual vollogcnvt(8)NAME
vollogcnvt - Logical Storage Manager BCL-to-DRL logging conversion utility
SYNOPSIS
/usr/sbin/vollogcnvt [-g diskgroup]
OPTIONS
Limits the conversion of logging subdisks to volumes in the specified disk group.
DESCRIPTION
The vollogcnvt script is a migration tool for Logical Storage Manager (LSM) administrators who are currently using the block-change logging
(BCL) feature. Beginning with the Version 5.0 release of Tru64 UNIX, the BCL feature of LSM is being replaced with the dirty-region logging
(DRL) feature.
The vollogcnvt script attempts to convert volumes with BCL enabled to volumes with DRL enabled. If called without specifying a disk group,
vollogcnvt attempts the BCL-to-DRL conversion for all volumes across all disk groups.
If logging cannot be re-enabled in the DRL scheme, a warning is sent to the console.
For volumes whose BCL subdisks will not work in the DRL scheme, logging is disabled.
Log subdisks that cannot be converted to DRL will be disassociated from its volume only if at least one of the log subdisks for that volume
could be converted. Otherwise, the configuration will not change and logging will be disabled. Those volumes that could not be converted,
for example all of its log subdisks are too small, will have logging disabled.
At system startup, the vollogcnvt script runs automatically and logs such errors to binlog and sends mail to root. This happens at each
reboot until the DRL is manually converted or when logging is disabled. If the script runs at startup or manually, warnings are sent to
the console.
For details and guidelines on using DRL, refer to the Logical Storage Manager guide.
SEE ALSO binlogd(8), dia(8), volintro(8)vollogcnvt(8)