8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi i am having a acript for which i need to skip the execution of some lines and to continue with remaining lines for eg
script.sh
rm text
for i in *
do
.
.
.
.
.
if
then
rm
i want to skip the execution of the lines and to start with (11 Replies)
Discussion started by: rohit_shinez
11 Replies
2. Shell Programming and Scripting
Hi ,
I have a file myhost.txt which contains below,
127.0.0.1 localhost
1.17.1.5 atrpx958
11.17.10.11 atrpx958zone nsybhost
I need to append words only after "atrpx958" like 'myhost' and 'libhost' and not after atrpx958zone.
How to search the word atrpx958(which is hostname) only,... (5 Replies)
Discussion started by: gsreeni
5 Replies
3. Shell Programming and Scripting
Hi Friends,
I need help in below requirements,
1. I have to get current datetime + <mins> into a variable
2. I have to compage dates like,
A=01-JAN-2009 10:20:10
B=01-JAN-2009 10:30:00
C=<same format date as above>
I have to find whether,
1. C is less than A OR,
2. C is greater... (7 Replies)
Discussion started by: smr_rashmy
7 Replies
4. Shell Programming and Scripting
Hi,
Iam having the two files as follows:
file1:
ASQWEDFR09876543121234512
POIUYTREW09876512345676788
ZXCVBNMKS1209888888888888
file2:
ASQWEDFR09876543121234516 asdcvfgbtg@abc.com 0000000-90-1239--2008 8990----
CXADFGTU09876543121234789 asdcvfgbtg@abc.com ... (14 Replies)
Discussion started by: nivas
14 Replies
5. Shell Programming and Scripting
Hi,
I want to compare two files. Files will look like as follows:
file1:
ASDFGHJU|1234567890123456
QWERTYUI|3456789098900890
file2:
ZXCVBVNM|0987654321234567
POLKIJUYH|1234789060985478
output file should be:
ASDFGHJU|1234567890123456
QWERTYUI|3456789098900890
Thnaks in advance (6 Replies)
Discussion started by: nivas
6 Replies
6. UNIX Desktop Questions & Answers
Hi There,
Can anyone help, where i can find list of UNIX commands just for regulat day ro day operations
Thanx
MGR (1 Reply)
Discussion started by: mgoutham
1 Replies
7. Cybersecurity
what do you think the best firewall is for slakware 7 (1 Reply)
Discussion started by: shadieshad
1 Replies
8. UNIX for Dummies Questions & Answers
Hello guys!
Can say me anybody about operatios with unix, I don't to make operations, only inside in a variable, like this
#y=4
#x=2
#let z=$y-$x
#echo $z
# 2
but I can't to make mathematical operations with decimal like this
#y=3.2
#x=1.5
#let z=$y-$x
#echo $z
# 3
this... (2 Replies)
Discussion started by: cesar720213
2 Replies
cmhaltcl(1m) cmhaltcl(1m)
NAME
cmhaltcl - halt a high availability cluster
SYNOPSIS
cmhaltcl [-f] [-v]
DESCRIPTION
cmhaltcl causes all nodes in a configured cluster to stop their cluster daemons, optionally halting all packages or applications in the
process.
To stop a cluster, a user must either be superuser(UID=0), or have an access policy of FULL_ADMIN allowed in the cluster configuration
file. See access policy in cmquerycl(1).
This command will halt all the daemons on all currently running systems. If the user only wants to shutdown a subset of daemons, the
cmhaltnode command should be used instead.
Options
cmhaltcl supports the following options:
-f Force the cluster to shutdown even if packages or group members are currently running. This will cause the packages and group
members to be halted. If a package halt fails, the cluster halt will also fail.
-v Verbose output will be displayed.
RETURN VALUE
cmhaltcl returns the following value:
0 Successful completion.
1 Command failed.
EXAMPLES
Halt the cluster daemons:
cmhaltcl
AUTHOR
cmhaltcl was developed by HP.
SEE ALSO
cmquerycl(1m), cmhaltnode(1m), cmruncl(1m), cmrunnode(1m), cmviewcl(1m).
Requires Optional Serviceguard Software cmhaltcl(1m)