03-31-2009
Thank you so much ... that was very helpful.
JS
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Wondering why belows code works fine if i type in the command prompt but it seems not executed when i code them in a file with additional if-then-else statement.
#!/bin/sh
. $HOME/.profile
pid=`ps -ef | grep -w XELstnr | grep -v grep | awk {'print $2'}`
if
then
echo "Stopping... (2 Replies)
Discussion started by: Draculla
2 Replies
2. UNIX for Dummies Questions & Answers
Dear Techs,
In the past on a different box (HP) I use to be able to complete something I was typing by entering a portion of the filename in the pwd and I would hit the Esc key and it would match the rest of the filename. I did this without understanding how it was setup.
Now I am on a new... (1 Reply)
Discussion started by: jxh461
1 Replies
3. Shell Programming and Scripting
As part of a script Im designing, I am required to allow the command line to finish off part of a series of sub-directory entries.
Basically what I want to do is
cp /root/parent/part of subs name + other part of subs name/file /other_root/other_parent/other_sub/file
without facing... (0 Replies)
Discussion started by: JamesGoh
0 Replies
4. Solaris
Hi All,
I need to get last 7 days log entries from sulog. The same has to be done for the last command.
for ex: when i search for a user "abc" in sulog, i only want to check his entries for the last 1 week.
The same has to be done for last command.
Can anyone suggest some tips.
... (0 Replies)
Discussion started by: navdeepan
0 Replies
5. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
''you are missing the /home/smichaels/Labs/lab2b/group file, please create it as per step 12 of the lab.
once... (4 Replies)
Discussion started by: ink
4 Replies
6. Shell Programming and Scripting
Hi,
I would like to run the clear command, for every 10 times I hit the enter button. Is there a way to track the number of times the enter button is hit and run the clear command?
Thanks (2 Replies)
Discussion started by: jacobs.smith
2 Replies
7. UNIX for Dummies Questions & Answers
How can i retrieve 2nd column only from output of "ls - l " as my output.
pls help (5 Replies)
Discussion started by: upvan111
5 Replies
8. Shell Programming and Scripting
I need to develop a process/daemon which will constantly monitor a file for new entry and execute a command.
for eg, there is a file /var/log/inotify.log
When a new entry like below gets appeneded to this file, execute the command as follows.
/home/user/public_html/bad.php|CREATE
... (2 Replies)
Discussion started by: anil510
2 Replies
9. How to Post in the The UNIX and Linux Forums
Hi All,
Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries.
example:
Parent is :
----------
dn: email=yogesh.kumar@wipro.com, o=wipro, o=in
child is:
----------
dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
Discussion started by: Chand
1 Replies
10. Shell Programming and Scripting
My input file looks like this
12 3 5.122.281.413 172.31.15.220 3421 4133 2 2 1454 3421 4133 2 2 0
12 44036 214.215.52.146 90.123.245.211 2312 3911 4 4 521 2312 3911 4 4 1
14 504 6.254.324.219 192.61.27.120 4444 5611 7 5 1415 4444 5611 7 5 1 ... (2 Replies)
Discussion started by: sampitosh
2 Replies
LEARN ABOUT HPUX
slapo-syncprov
SLAPO-SYNCPROV(5) File Formats Manual SLAPO-SYNCPROV(5)
NAME
slapo-syncprov - Sync Provider overlay to slapd
SYNOPSIS
/etc/ldap/slapd.conf
DESCRIPTION
The Sync Provider overlay implements the provider-side support for the LDAP Content Synchronization (RFC4533) as well as syncrepl replica-
tion support. The overlay can be used with any backend that maintains entryCSN and entryUUID attributes for its entries. It also creates a
contextCSN attribute in the root entry of the database.
The contextCSN is updated for every write operation performed against the database. To reduce database contention, the contextCSN is only
updated in memory. The value is written to the database on server shutdown and read into memory on startup, and maintained in memory there-
after. Checkpoints may be configured to write the contextCSN into the underlying database to minimize recovery time after an unclean shut-
down.
On databases that support inequality indexing, it is helpful to set an eq index on the entryCSN attribute when using this overlay.
CONFIGURATION
These slapd.conf options apply to the Sync Provider overlay. They should appear after the overlay directive.
syncprov-checkpoint <ops> <minutes>
After a write operation has succeeded, write the contextCSN to the underlying database if <ops> write operations or more than <min-
utes> time have passed since the last checkpoint. Checkpointing is disabled by default.
syncprov-sessionlog <ops>
Configures an in-memory session log for recording information about write operations made on the database. The <ops> specifies the
number of operations that are recorded in the log. All write operations (except Adds) are recorded in the log. When using the ses-
sion log, it is helpful to set an eq index on the entryUUID attribute in the underlying database.
syncprov-nopresent TRUE | FALSE
Specify that the Present phase of refreshing should be skipped. This value should only be set TRUE for a syncprov instance on top of
a log database (such as one managed by the accesslog overlay). The default is FALSE.
syncprov-reloadhint TRUE | FALSE
Specify that the overlay should honor the reloadHint flag in the Sync Control. In OpenLDAP releases 2.3.11 and earlier the syncrepl
consumer did not properly set this flag, so the overlay must ignore it. This option should be set TRUE when working with newer
releases that properly support this flag. It must be set TRUE when using the accesslog overlay for delta-based syncrepl replication
support. The default is FALSE.
FILES
/etc/ldap/slapd.conf
default slapd configuration file
SEE ALSO
slapd.conf(5), slapd-config(5), slapo-accesslog(5). OpenLDAP Administrator's Guide.
ACKNOWLEDGEMENTS
OpenLDAP Software is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>. OpenLDAP Software is derived from Uni-
versity of Michigan LDAP 3.3 Release.
OpenLDAP 2012/04/23 SLAPO-SYNCPROV(5)