10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have about 12,000,000 mod files I'm trying to turn into a test of "unlimited cloud storage" by running them all through VLC and blowing them into mp3 files. I can get this to work serially but when trying to use openMPI or Parallel, something in the syntax is tripping it up some. Here is an... (1 Reply)
Discussion started by: sparticus414
1 Replies
2. Shell Programming and Scripting
Hallo Team,
I have a simple request and i would appreciate your help.
I would like to use two dates in my script lets:
A=$(date +"%d %B %Y")
echo $A
23 June 2014
That's awesome now we cooking. Now i want B to be on the previous month
eg: echo $B Should give me
23 May 2014
I would... (9 Replies)
Discussion started by: kekanap
9 Replies
3. Programming
I am new in Linux and clustering. I am setting up a Beowulf Cluster using several PCs according to this guide "Beowulf How-To"
I have setup and configure accordingly except for NFS part. Because I am not requiring it for my application. I have set my ssh to login each other without password. I... (1 Reply)
Discussion started by: nsw1216
1 Replies
4. Shell Programming and Scripting
new to shell scripting.
below line is showing error in script.
${parameter:=word}
in the o/p first it shows the below error.
word: not found.
and then in next line print "word"
----------------
p2: word: not found.
word
---------------------------
OS is AIX and shell is... (12 Replies)
Discussion started by: scriptor
12 Replies
5. Shell Programming and Scripting
I get an error in my shell script that line 1: )unexpected.
Line 1 in my script (using sh by the way) is the variable I declared but did not initialize it.
result=
Is this wrong? How can I fix it? I am using the variable later in the program, so I figured I could just declare it first... (4 Replies)
Discussion started by: itech4814
4 Replies
6. Programming
OK, I hope you can help me here: I'm trying to crack a hash using John the Ripper. (BindShell.Net: John The Ripper MPI Patch)
I'm runnig it on a cluster system using OpenMPI. But it is not working properly. If i try to run it, i get the following error:
Any idea what can be wrong? Happen on... (3 Replies)
Discussion started by: chrisperry
3 Replies
7. Shell Programming and Scripting
Whenever i execute the below scriptlet with out proper file name it deletes /tmp directory .
I guess this is because value of variable a didnt get initialized and there for rm -rf /tmp/ get executed and entire /tmp directory get deleted.
How would i avoid any empty variables to be used in... (9 Replies)
Discussion started by: pinga123
9 Replies
8. Programming
hello,
i get these warnings on make(ing)
/usr/bin/ld: warning: libgfortran.so.1, needed by /opt/openmpi/lib/libmpi_f90.so, may conflict with libgfortran.so.3
/usr/bin/ld: warning: libgfortran.so.1, needed by /usr/lib/gcc/x86_64-redhat-linux6E/4.3.2/../../../liblapack.a, may conflict with... (1 Reply)
Discussion started by: sreekar
1 Replies
9. Programming
Hi All,
char a="\0";
a) a contains \0
a contains garbage value
b) a contains \
a contains 0
a contains garbage value
Pls, let me know correct result is a or b. I guess a.
Thanks,
Naga:cool: (2 Replies)
Discussion started by: Nagapandi
2 Replies
10. Programming
Hi
We are using a code generator for initializing structures with the #define macro. Compiling it with the GCC 2.8.1 (with -ansi) it OK. But when we are using the SUN C 5.0 compiler it screams.
Following is a code sample:
#include <stdlib.h>
#include <stdio.h>
typedef struct TEST3 {... (4 Replies)
Discussion started by: amatsaka
4 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)