01-09-2012
How to do it?
sh /etc/init.d/nscd stop
sh /etc/init.d/nscd start
That should work even for Solaris 10.
Cheers.
10 More Discussions You Might Find Interesting
1. Programming
One of my program which uses posix message queues was hanging in mq_open() system call, and after some time, it threw an error "Interrupted system call". I couldnt even unlink that message queue using mq_unlink(), as I have to use mq_open() prior to mq_unlink().
I use SunOS 5.7 Generic_106541-22... (0 Replies)
Discussion started by: Deepa
0 Replies
2. UNIX for Dummies Questions & Answers
On Solaris 8..
28166 user 3693M 2736M sleep 5 0 0:05.38 0.0% PROCESS/4
How can I tell if this process is doing anything or just hanging? (2 Replies)
Discussion started by: dangral
2 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I am unable to figure out why my ps command is haning.
Is some one else is running a process which is hanged. But in that case also if i do ps it should show only the processes running by me only.
Thanks & Regards
Gauri Agrawal (2 Replies)
Discussion started by: gauri
2 Replies
4. SuSE
Hi,
Our systems:
system1: amd 64 running suse linux 9 enterprize
system2: amd 64 running esx vmware 3 with suse linux 9 enterprize.
The problem is:
when we ssh into system2 and execute the command:
ls -al
the session hangs. Infact session hangs when we execute any... (3 Replies)
Discussion started by: rajranibl
3 Replies
5. UNIX for Dummies Questions & Answers
Ok, this question my be different. I can ping our unix box, but when we I to access the webpage I cant. To access the webpage I type http://ipaddress:some port. How do I check if a port is hanging and how would I un hang it. Sorry if question doesnt make sense. (1 Reply)
Discussion started by: NycUnxer
1 Replies
6. Shell Programming and Scripting
Hello,
I have the following shell script and when i execute, it keeps hanging and nothing happens
Please let me know.
Requirement is to read data from file and pass it to the sql and create files as shown.
code
/********
#!/bin/sh
while read user.dat
do
echo "user = $1 email =... (1 Reply)
Discussion started by: rakeshsr12
1 Replies
7. Shell Programming and Scripting
ok... this is where i am at... i need a script to call another script as a wrapper because the first script creates a sub-shell.
here is what i got... i kick off the first script "CCBDEMO-threadpoolworker.sh"
#!/bin/bash
clear #clearing screen
directory="/data1/spl/cis/CCBDEMO/bin"... (1 Reply)
Discussion started by: Dagaswolf
1 Replies
8. Shell Programming and Scripting
Hello,
I have a script that contains the command "whois 1.2.3.4"
Sometimes this command takes far too long to produce any output and as a result the rest of the script is not executed.
Can anyone suggest a method so that if no output is produced after say 2 seconds the script skips that... (2 Replies)
Discussion started by: colinireland
2 Replies
9. UNIX for Dummies Questions & Answers
Currently I am using the following sz and rz commands to run file transfer using ZMODEM within a perl script.
sz -b -m1 -M2 -k -e -r -u -t10
rz -b -m 1 -M 120 -y
Is there any flag setting that will allow me to terminate when a retry 0 error is outputted as this is constantly filling up my... (0 Replies)
Discussion started by: M1keSt4r
0 Replies
10. Shell Programming and Scripting
awk -v youth=1599 -v d="$(/bin/ps -ef)" 'd ~/ 1599 / && d !~/ awk / && (($2 == youth) || ($3 == youth)) {print $2" "$3}'
i feel like i'm very close here. what am i doing wrong? (1 Reply)
Discussion started by: SkySmart
1 Replies
NSCD(8) BSD System Manager's Manual NSCD(8)
NAME
nscd -- name service caching daemon
SYNOPSIS
nscd [OPTION...]
DESCRIPTION
Nscd caches libc-issued requests to the Name Service. If retrieving NSS data is fairly expensive, nscd is able to speed up consecutive access
to the same data dramatically and increase overall system performance. Nscd should be run at boot time by /etc/init.d/nscd.
OPTIONS
-d, --debug
Do not fork and display messages on the current tty.
-f, --config-file NAME
Read configuration data from NAME. For a description of the config file format, see nscd.conf(5).
-g, --statistic
Print current configuration statistics.
-i, --invalidate TABLE
Invalidate the specified TABLE, i. e. forget all data cached therein. This should be used if the database storing this information
has been changed.
-K, --shutdown
Quit a running nscd process.
-S, --secure TABLE
Use a separate cache for each user.
-t, --nthreads NUMBER
Start NUMBER threads. This denotes the maximum number of requests that can be handled simultaneously. The default is set in the con-
figuration file. (See nscd.conf(5).)
-?, --help
Print the list of available options.
--usage
Print a short usage message.
-V, --version
Print program version.
FILES
/etc/nscd.conf
Nscd configuration file. See nscd.conf(5) for more information.
/etc/nsswitch.conf
Name Service Switch configuration. See nsswitch.conf(5) for more information.
SEE ALSO
GNU C Library info file, nscd.conf(5), nsswitch.conf(5)
GNU C Library 2.2 January 07, 2001 GNU C Library 2.2