01-04-2013
Strange slash in process
I have Solaris-9, where ndsd application is running. If i grep it, it should three slashed in front of path. Thought everything is working working, but it looks strange, why it is like this.
HTML Code:
root@trim_prt7:/# ps -ef | grep -i ndsd
root 21505 21355 0 08:58:20 pts/23 0:00 grep -i ndsd
root 16238 1 1 08:26:23 ? 30:01 ///opt/novell/eDirectory/sbin/ndsd
root@trim_prt7:/# ls -l /opt/novell/eDirectory/sbin/ndsd
-rwxr-xr-x 1 root bin 514076 May 25 2006 /opt/novell/eDirectory/sbin/ndsd
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have configuration file(master.cnf), that contents are:
VER1LOG /src/ver1/log
VER2LOG /src/ver2/log
APPLOG /src/sys/apps/log
APPCONF /src/sys/apps/conf
APPBIN /src/sys/apps/bin
my shell script is as below
mylog=sys/apps
awk "/$mylog/" master.cnf
awk: syntax error Context is:
>>> ... (6 Replies)
Discussion started by: McLan
6 Replies
2. Shell Programming and Scripting
Hi All,
Can you please help me with the below issue.
I want only the last slash to be replaced with space.
06/05/2008/EDED_FD_BDCD_ABCD_123
06/05/2008 EDED_FD_BDCD_ABCD_123 (3 Replies)
Discussion started by: christineida
3 Replies
3. Shell Programming and Scripting
Hi All,
print "path/executable_file parameters" \
> path/file1
print "path/executable_file parameters" \
> path/file2
print "path/executable_file parameters" \
> path/file3
chmod 775 path/file1 \
path/file2 \
... (7 Replies)
Discussion started by: Arunprasad
7 Replies
4. UNIX for Advanced & Expert Users
Hi,
I have a path like this c:\test\sample\programs, i need to change thiis to c:\\test\\sample\\programs. How to perform this? I tried tr command but it didn't help me.
Thanks
Vijayan (3 Replies)
Discussion started by: mvictorvijayan
3 Replies
5. Shell Programming and Scripting
Hi all,
I need to know way of inserting backward slash before forward slash. My problem is that i need to supply directory path as an argument while invoking cshell script. This argument is further used in script (i.e. sed is used to insert this path in some file). So i need to place \ in front... (2 Replies)
Discussion started by: sarbjit
2 Replies
6. UNIX for Dummies Questions & Answers
Hello there everyone. would like to ask for help if i wish to replace a slash / with space using sed.
Original:
T/T
Result:
T T
hope someone could help me up, thanks
Charles (4 Replies)
Discussion started by: seiksoon
4 Replies
7. Cybersecurity
Just run top on my server and noticed lots of processes called "fist"
28626 root 15 0 18176 12m 2420 S 2.7 0.2 0:00.08 fist
28631 root 15 0 18176 12m 2420 S 2.7 0.2 0:00.08 fist
28633 root 15 0 18172 12m 2420 S 2.7 0.2 0:00.08 fist
28640 root 15 0... (1 Reply)
Discussion started by: m50ell
1 Replies
8. Shell Programming and Scripting
I have a log file which on field $11 there is sth like: /A/B/C and I want to extract the last part which is C.
for space delimiter I used:
awk '{print $2 " " $5 ";" $7 ";" $9 ";" $11}'
and had no problem.
but dont know how to extract the 3rd part of the slash delimiter.
That would be... (6 Replies)
Discussion started by: frhling
6 Replies
9. Shell Programming and Scripting
I got stuck in problem i need to remove slash but it is not working.
current output
/usr/sbin/httpd
expected output
usr sbin httpd (4 Replies)
Discussion started by: learnbash
4 Replies
10. AIX
I check for top 10 cpu consumer
ps auxww |head -10
USER PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND
root 131076 23,6 0,0 448 448 - A 16:00:59 50:21 wait
root 983070 21,9 0,0 448 448 - A 16:00:59 46:43 waitI try to kill them
sudo... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
LEARN ABOUT MOJAVE
net::ldap::extra::edirectory
Net::LDAP::Extra::eDirectory(3) User Contributed Perl Documentation Net::LDAP::Extra::eDirectory(3)
NAME
Net::LDAP::Extra::eDirectory -- extensions for Novell eDirectory
SYNOPSIS
use Net::LDAP::Extra qw(eDirectory);
$ldap = Net::LDAP->new( ... );
...
if ($ldap->is_eDirectory)
my $mesg $ldap->list_replicas($server_dn);
print "Replicas on $server_dn
* " . join("
* ", $mesg->replicas) . "
"
if (!$mesg->code);
}
DESCRIPTION
Net::LDAP::Extra::eDirectory provides functions / LDAP extensions specific to Novell eDirectory.
To do so, it provides the following methods:
METHODS
is_eDirectory ( )
Tell if the LDAP server queried is Novell eDirectory server.
As the check is done by querying the root DSE of the directory, it works without being bound to the directory.
In contrast to other Net::LDAP methods this method returns TRUE / FALSE respectively undef on error.
list_replicas ( SERVER_DN, OPTIONS )
Query the replicas on the given server SERVER_DN.
On success, the resulting Net::LDAP::Message object supports the method "replicas" that returns the list of replicas on SERVER_DN.
get_replica_info ( SERVER_DN, REPLICA_DN, OPTIONS )
Query information of REPLICA_DN on SERVER_DN.
On success, the resulting Net::LDAP::Message object supports the method "replica_info" that returns a hash containing information on
REPLICA_DN.
trigger_backlinker ( OPTIONS )
Trigger the BackLinker process, which resolves external references to ensure they refer to real entries.
trigger_janitor ( OPTIONS )
Trigger the Janitor process, which checks connectivity to all servers in database.
trigger_limber ( OPTIONS )
Trigger the Limber process, which verifies the server name, internal ipx address and tree connectivity of all replicas.
trigger_skulker ( OPTIONS )
Trigger the Skulker process, which checks the synchronization status of every server in the replica ring.
trigger_schemasync ( OPTIONS )
Trigger SchemaSync.
trigger_partitionpurge ( OPTIONS )
Trigger PartitionPurge.
refresh_ldap_server ( OPTIONS )
Trigger refreshing the NLDAP service.
AUTHOR
Peter Marschall <peter@adpm.de>
COPYRIGHT
Copyright (c) 2013 Peter Marschall. All rights reserved. This program is free software; you can redistribute it and/or modify it under the
same terms as Perl itself.
perl v5.18.2 2013-07-21 Net::LDAP::Extra::eDirectory(3)