Dear Unix Guru,
I have several directories as below
/home/user/
dir1
dir2
dir3
Each directory has different size. I want to print each directory size (Solaris command du -hs .)
Can you please guide me how to achieve this?
Thanks
Bala (2 Replies)
Hi,
I want to write a shell script to compare two tables in teradata.these tables are present on different servers.
I want to connect to both servers in single login in order to fetch and compare the data in one go.
Thanks (1 Reply)
We have a number of linux clusters running Oracle. The clusters require that all member nodes have promptless/passwordless login through ssh (ie. the keys were created with null passphrases). We also have a management server that is not a member of any cluster but routinely connects to nodes of all... (3 Replies)
Hello,
Currently we are having different linux servers (for example: let's assume audio server, video server and text server) to handle requests from outside users. Suppose the outside users in different LAN (Local Area Network), other than the servers. For example user is in 20 series LAN and... (5 Replies)
Hi,
I've to do a simple job many times whenever it has been asked, just i've to log in to all of fourtien HP servers and i've to execute
ps -fu user > temp
cat temp|sendmail "xyz@z.com"
commands to send the statics of all of 14 servers over the mail to particular user id..
Though logging... (4 Replies)
Hi,
I will use below command for grep single string ("osuser" is search string)
ex: find . -type f | xarg grep -il osuser
but i have one more string "v$session"
here i want to grep in which file these two strings are present.
any help is appreciated,
Thanks in advance.
Gagan (2 Replies)
Hi,
I have a program which needs to connect multiple servers at the same time. The program has to collect data from each of servers and then make a decision regarding to the data received.
There are several requirements.
1. Server (s) may shutdown anytime without any ack (e.g.power... (1 Reply)
Hi,
I want to collect info from a no. of servers whether there grub.conf contain "elevator" parameter or not.
What I want is
sudo cat /etc/grub.conf | grep -q "elevator=noop"; echo $?
If output is "0", I want name of that host in a file called "present"
if its not "0", I want that... (4 Replies)
Hi,
I am trying to write a script to run a command on multiple linux based servers and get the o/p. I am using ssh to login. It is a celerra box and EMC NAS product.
I am able login but i am not able to run nas command nas_pool -size -all the NAS server. I am getting the following error. ... (2 Replies)
Hi All,
How can i run a single command on multiple servers with or without giving credentials.
I have a file(servers.txt) which has got list of servers and i want to run a command lsb_release -dr on all these servers and get output of those servers against each server.
I tried below code... (9 Replies)
Discussion started by: darling
9 Replies
LEARN ABOUT HPUX
cdsadv
cdsadv(1m)cdsadv(1m)NAME
cdsadv - Starts the CDS client daemon
SYNOPSIS
cdsadv [-c] [-D] [-s] [-w route]
ARGUMENTS
Specifies cache size in kilobytes. Changing cache sizes causes previously cached information to be discarded, including information about
cached servers, so use of this option may necessitate defining a new cached server. NOTE : Alternatively this can be done by using the
tunable parameter cdsadv.cache_size provided in the /opt/dcelocal/etc/cds.conf file. This parameter takes a cache size in KiloBytes as
shown:
cdsadv.cache_size: 512 and sets the cdsadv cache size to 512 KiloBytes. cdsadv needs to be restarted for this value to be effective.
This is the recommended method to set cdsadv cache size. For debugging use only. Causes the cdsadv process not to fork. Causes the cdsadv
not to send or receive advertisements. This argument can be used for diagnostic work involving multiple servers on the same local area
network to limit access to those servers identified with the define cached server command. Routes serviceability messages.
DESCRIPTION
The cdsadv command starts the CDS client daemon.
Privilege Required
You must log in as superuser (root).
NOTES
This command is ordinarily executed by a DCE configuration or startup script. You should use this command interactively only when cdsadv
fails to start automatically after a reboot, or if you want to restart cdsadv after disabling it to perform a backup or to do diagnostic
work on the host system.
EXAMPLE
To restart cdsadv, follow these steps: Log in to the clerk system as superuser (root). Verify that the dced process is running. Enter the
following command to restart the cdsadv process:
# cdsadv
RELATED INFORMATION
Books: OSF DCE Administration Guide
cdsadv(1m)