05-13-2013
No, That is not the issue.
It was a typo.
There is a $ in THRESHOLD vairable.
and $PERC hold the Percentage used by the file system
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello-
Trying to add two numbers in a ksh shell scripts and i get this error every time I execute
stat1_ex.ksh: + : more tokens expected
stat1=`cat .stat1a.tmp | cut -f2 -d" "`
stat2=`cat .stat2a.tmp | cut -f2 -d" "`
j=$(($stat1 + $stat2)) # < Here a the like the errors out
echo $j... (3 Replies)
Discussion started by: Nomaad
3 Replies
2. Shell Programming and Scripting
Can someone please tell me wht is wrong with the following peice of code?
I keep getting the following error -
0403-057 Syntax error at line 52 : `)' is not expected.
case "${option_count}" in
1) java -Xms256m -Xmx1536m "${APPLNAME}" "${ACTION_TYPE}" > "${LOGFILE}" 2>... (2 Replies)
Discussion started by: Veenak15
2 Replies
3. Shell Programming and Scripting
I have the following script to output a report of response times - but it is throwing the error:
./jobname: -: 0403-053 Expression is not complete; more tokens expected.
Here is the code, any ideas what the problem is?
(line 46 is simply, LC=0)
FILE2=/templogs/access_log... (9 Replies)
Discussion started by: daveaasmith
9 Replies
4. Shell Programming and Scripting
Hi All
I am quite new to Unix. Following is a shell script that i have written and getting the subject mentioned error.
#!/bin/ksh
#-------------------------------------------------------------------------
# File: ang_stdnld.ksh
#
# Desc: UNIX shell script to extract Store information.... (3 Replies)
Discussion started by: amitsinha
3 Replies
5. Shell Programming and Scripting
Hey everyone, i needed some help with this one. We move into a new file system (which should be the same as the previous one, other than the name directory has changed) and the script worked fine in the old file system and not the new. I'm trying to add the results from one with another but i'm... (4 Replies)
Discussion started by: senormarquez
4 Replies
6. Shell Programming and Scripting
Hi
I am getting error 'ksh: 0403-057 Syntax error: `done' is not expected.' when running below script any one can provide inputs on this.
------------------------
if
then
echo "Report Name |Modification Date|Report File Size|Owner" >SOX_`date +'%Y%m%d'`
while read line
do... (2 Replies)
Discussion started by: karnatis
2 Replies
7. Shell Programming and Scripting
i dont know where m i mistaking.. please help me out with this issue :(
thanks in advance:rolleyes:
one_main()
{
a=100
while ;
do
clear
echo "##############################################"
echo ":: CURRENTLY YOU ARE IN RC AND OC MARKING ::"
echo... (1 Reply)
Discussion started by: Puneet sinha
1 Replies
8. AIX
Hi,
I am new to shell scripting.i am trying to mail after my backup completed.
Here is my shell script:
if ; then
egrep (ERROR|error|Error|RMAN-) ${/backup/RMANBKUP/spool/shelltest.log} > /dev/null
if ; then
RESULT_MSG=WARNING: Errors occurred during the ${ORACLE_SID} Rman... (3 Replies)
Discussion started by: faruqms
3 Replies
9. Shell Programming and Scripting
Hi
can someone help me to resolve the error
for this condition
if ] && ]; then
i am passing the values $k and $kkm
i am getting the error like "-: more tokens expected"
Thanks in Advance (5 Replies)
Discussion started by: makigate
5 Replies
10. Shell Programming and Scripting
Hi,
While executing my code i am getting below Error:
./check_disk1: 0403-057 Syntax error at line 55 : `(' is not expected.
My code is :
#!/bin/ksh
PROGNAME=`basename $0`
STATE_OK=0
STATE_WARNING=1
STATE_CRITICAL=2
STATE_UNKNOWN=3
OS=$(uname)
AWK="/usr/bin/awk"... (6 Replies)
Discussion started by: abodage
6 Replies
AAC(4) BSD Kernel Interfaces Manual AAC(4)
NAME
aac -- Adaptec AdvancedRAID Controller driver
SYNOPSIS
aac* at pci? dev ? function ?
ld* at aac? unit ?
DESCRIPTION
The aac driver provides support for the Adaptec AAC family of SCSI and SATA RAID controllers. These controllers support RAID 0, 1, 5, 10,
and volume sets. They have four channels in the add-in version or 1-2 channels in the motherboard integrated version, and are most often
found rebadged by Dell, Hewlett-Packard or IBM. Supported controllers include:
o Adaptec AAC-364
o Adaptec SCSI RAID 2120S
o Adaptec SCSI RAID 2200S
o Adaptec SATA RAID 2410SA
o Adaptec SATA RAID 3405
o Adaptec SCSI RAID 5400S
o Dell PERC 2/Si
o Dell PERC 2/QC
o Dell PERC 3/Di
o Dell PERC 3/Si
o Dell PERC 320/DC
o Dell CERC SATA RAID 1.5/6ch
o HP NetRAID 4M
o HP ML110 G2 (Adaptec SATA RAID 2610SA)
o IBM ServeRAID 8k
Access to RAID containers is available via the ld device driver. Individual drives cannot be accessed unless they are part of a container or
volume set, and non-fixed disks cannot be accessed. Containers can be configured by using the on-board BIOS utility of the card.
DIAGNOSTICS
The adapter can send status and alert messages asynchronously to the driver. These messages are printed on the system console.
SEE ALSO
intro(4), ld(4)
HISTORY
The aac driver first appeared in NetBSD 1.6, and was based on the FreeBSD driver of the same name.
BUGS
This driver is not compatible with controllers that have version 1.x firmware. The firmware version is the same as the kernel version
printed in the BIOS POST and driver attach messages.
BSD
February 19, 2011 BSD