I am a web programmer and am fluent in site construction and etc. I am planning to register and use a domian name on a server hosted by another company. Is it necessary for me to learn Unix (I have no Unix experience) to operate with another server?
Thanks (1 Reply)
Hello all,
I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted.
Thanks in advance
Regards,
pradeep kulkarni.
:mad: (13 Replies)
Dear Expert,
i have linux box that is running in the windows domain, BUT did not being a member of the domain. as I am not the System Administrator so I have no control on the server in the network, such as modify dns entry , add the linux box in AD and domain record and so on that relevant.
... (2 Replies)
Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it
This is how we execute the script (and this is the requirement) ... (2 Replies)
get email notification from from system when a process from XXXX user takes longer than 15 min run.Let me know the time estimation for the same.
hi ,any one please tell me , how to write a script to get email notification from system when a process from as mentioned above a xxxx user takes... (1 Reply)
Hi,
I am new to unix, trying to learn things
I have written unix script to stop Informatica server and re-start them.
In order to stop the servers i need to check the below
1. Check if the infa servers are already running.
2. If the servers are already running then, i need to stop the servers.... (0 Replies)
I am writing a script to kick off a process to gather logs on multiple nodes in parallel using "&". These processes create individual log files. Which I would like to filter and convert in CSV format after they are complete. I am facing following issues:
1. Monitor all Processes parallelly.... (5 Replies)
Team,
I have multiple batchjobs running in VM, if I do ps -ef |grep java or tomcat I am getting multiple process list.
How do I get my exact tomcat process running and that is unique? via shell script? (4 Replies)
Discussion started by: Ghanshyam Ratho
4 Replies
LEARN ABOUT HPUX
cmcp
cmcp(1m)cmcp(1m)NAME
cmcp - Copy files between Serviceguard nodes
SYNOPSIS
cmcp [-rv] [src_node:]src_file [...] [dest_node:]dest_file
DESCRIPTION
cmcp copies files and/or directories between Serviceguard nodes.
cmcp is limited in several ways. cmcp is best suited for situations where other remote copy facilities are not available. For a more full
featured tool for copying files between Serviceguard nodes, see ccp(1m) provided by Distributed Systems Administration Utilities.
To use this command, the local user must have the root access role on each of the involved nodes. For more information on Serviceguard
access control policies, see the manual, Managing Serviceguard.
Paths may be relative to the current working directory or specified absolutely. The current working directory on a remote node is assumed
to be the same as the local node's directory. Copies between two remote hosts are permitted.
If a file or directory already exists on the destination node, the destination node's copy will be overwritten with no prompting.
The cmcp command is not suited for large files or large numbers of files and may result in a heavy load on the command and Serviceguard
daemons. Other tools such as ccp should be considered for these purposes.
Options And Arguments
-r Recursively copy entire directories.
-v Verbose output will be displayed.
src_node
Serviceguard node to retrieve the file from. Defaults to the local node.
src_file
Path to source file on src_node.
dest_node
Serviceguard node to copy file to. Defaults to the local node.
dest_file
Path to copy src_file to on the dest_node.
RETURN VALUE
cmcp returns the following values:
0 Successful completion.
1 Command failed.
EXAMPLES
Copy the local file /etc/hosts to remote node node1
cmcp /etc/hosts node1:/etc/hosts
Copy the remote file /etc/passwd on node1 locally
cmcp node1:/etc/passwd /tmp/passwd.poe
Copy a local script directory to a remote node
cmcp -r /etc/cmcluster/scripts node1:/etc/cmcluster
AUTHOR
cmcp was developed by HP.
SEE ALSO rcp(1), scp(1), ccp(1m), cmsync(1m), cmexec(1m), cmdo(1m), cmquerycl(1m), cmviewcl(1m)
Requires Optional Serviceguard Software cmcp(1m)