Hi
I have a script in which I have several variables
var1
var2
var3
var4
etc......
and
field1
field2
field3
field4
etc.......
The script similar to this: (6 Replies)
Hi all,
I ve a script like....
TBL=employee
sql=`cat abhi.sql` \\ abhi.sql contains ------- select a from $TBL
echo $TBL
echo $sql
SQL=`echo $sql`
echo $SQL
now i want SQL as select a from employee
and as select a from $TBL
How can I achieve this?
Help appriciated (3 Replies)
I have a user defined configuration file, which could contain the following type of entries:
directory_001=/a/directory/structure
pattern_001=fred*
pattern_002=*
I have a script which reads the file generically which will loop round
loop 1
genvar=”directory”
iteration=”001”
... (11 Replies)
how do i evaluate the value of date
if ( $(date +%m) > 8 ) then
FY_STAMP=FY$(echo $(($(date +%Y) + 1)) | cut -c3-4)
else
FY_STAMP=FY$(date +%y)
fi
i want this to make the FY_STAMP increment by 1 if the month is september and up. but cant seem to make it work (3 Replies)
Hi,
I have the following requirement.
V="First"
R="V"
echo $$R
The output should be First. How do i achieve this.
how do we evaluate the $R and evaluate it to $V as $R contains V
and $V is First.
Thanks
Vijay (2 Replies)
I have the following in my makefile:
RESULT=`../${TOOLS_ROOT_PATH}/ext_tools.sh 11`; \
set $$RESULT > tMp; \
rm tMp; \
if ; then \
echo copying external-local tool: $< \($$*\); \
mkdir -p ${EXTERNAL_LOCAL_BIN_DIR}/$<; \
cp -f... (4 Replies)
Hi all,
Thanks in advance for your time.
I have a data file like this:
1 7.465753425
2 8.980821918
1 1.717808219
1 6.550684932
0 5.432876712
I wish to write a bash script to check both columns and output a 1 if col1==1 AND col2<3. Otherwise I want to output a 0. In the above... (5 Replies)
Does anyone know of a way to force a variable name held in another variable to return the value of the first variable? Best if I give an example, that does not work:
/usr/local/bin >cat mike.sh
NUM1ref=16
NUM2ref=32
echo "=============="
for VAR in NUM1 NUM2
do
XXXX=${VAR}ref
echo $XXXX... (4 Replies)
Hi Guys,
Good day ULF :) I hope you can help me again with my problem. I have a file which looks like this:
Command was launched from partition 0.
------------------------------------------------
Executing command in server server3
Dec 18 21:31:12 AHM04 nseventmgr: EVENT-SET:... (4 Replies)
First, given this bit of code (line numbers included for reference:
59 get_all_db () {
60 #echo getting all db
61 dblist=`egrep -i "product/12" /etc/oratab |grep -v "listener"|\
62 awk -F\: '{print $1}'|sort`
63 echo list is $dblist
64 echo
65 echo
66 echo "INSTANCE_NAME ... (15 Replies)
Discussion started by: edstevens
15 Replies
LEARN ABOUT OSF1
sys_attrs_autofs
sys_attrs_autofs(5) File Formats Manual sys_attrs_autofs(5)NAME
sys_attrs_autofs - autofs subsystem attributes
DESCRIPTION
This reference page lists and describes attributes for the AutoFS (autofs) kernel subsystem. Refer to the sys_attrs(5) reference page for
an introduction to the topic of kernel subsystem attributes.
Specifies the duration (in seconds) that a file system is to remain mounted when not in use. This is analogous to the automount com-
mand's -tl option.
Default value: 300 (seconds)
Minimum value: 1
Maximum value: 100000000
Specifies the interval (in seconds) between attempts to unmount file systems that have exceeded their idle_timeout limit. This is
analogous to the automount command's -tw option.
Default value: 60 (seconds)
Minimum value: 1
Maximum value: 100000000
Specifies the duration (in seconds) for which a mount failure is cached, preventing a retry of the mount during this time.
Default value: 30 (seconds)
Minimum value: 0
Maximum value: 100000000
Specifies the maximum amount of time (in seconds) a process waits for an auto-mounted file system or subtree to become available.
Default value: 120 (seconds)
Minimum value: 1
Maximum value: 100000000
Specifies the amount of time (in seconds) the autofsd daemon waites for an individual NFS server to respond to a mount request.
Default value: 30 (seconds)
Minimum value: 0
Maximum value: 100000000
Specifies the size of the AutoFS hash table used to find all AutoFS directories and symlinks system-wide. The size is calculated at
boot time based upon the value of max_vnodes.
Default value: 32 (lists)
Minimum value: 32
Maximum value: 8192
SEE ALSO sys_attrs(5)
System Configuration and Tuning
sys_attrs_autofs(5)