Hai!
i am working on Digital UNIX V3.2c Work station, my program uses Pro*C, C and X-Motif calls. i am facing problem while running application saying "Illegal Instruction Core Dumped".
debugger dbx shows error at a line which shows "noname". when commenting large portion of the code it runs... (1 Reply)
Hallo,
i need a Prompting read in my script:
read -p "Enter your command: " command
But i always get this Error:
-p: is not an identifier
When I run these in c-shell i get this error
/usr/bin/read: read: bad option(s)
How can I use a Prompt in the read command? (9 Replies)
name:age:girlfriend
aa:11:yes
bb:22:yes
cc:33:no
dd:44:no
ee:55:yes
I want to change the cc, the status of girlfriend to yes.
Find cc, and then change! how can i do this? (16 Replies)
Hi All,
I am getting an error message when I execute command “zlogin -C sunsrv4z5” on my root server.
INIT: Cannot stat /etc/inittab, errno: 2
INIT: Cannot stat /etc/inittab, errno: 2
As per my analysis it seems that some files inside /etc folder are deleted.
This server was... (14 Replies)
Hi All,
I am working on a Solaris 10 server. From this month start, it gives the error "logger: illegal option -- p" with each command. If I execute a script whose output shown on terminal, it comes many times.. Could you please help?
It comes only for my login. And I dont remember any changes... (4 Replies)
Hi all,
I was wondering why tail -n 2 filename produce an error when I manage to do similar command on head -n 2 filename
SunOS{type8code0}: tail -n 2 filename
usage: tail ]
tail ] (2 Replies)
I'm trying to get the size of each file, but when I try to use
stat -c %s <file>
I get the message
stat: illegal option -- c
Also, the man page for stat shows readlink,stat. It doesn't seem to match the man pages I've seen online.
what is going on here? (6 Replies)
Hi Guys,
I'm sorry but I can't find answer for this, what is the meaning of -s option in "if" statement on unix scipting. Please see sample below:
opath=/home/output
for i in N1 N2 N3 N4
do
echo $i
if
then
grep $i $opath/N5_CRAI > $opath/N5_$i.crai
chmod 777 $opath/N5_$i.crai
... (7 Replies)
I am just trying to read the password from command prompt that user should type with in 10 seconds,
I am getting "read: Illegal option -t"
#!/bin/bash ... (1 Reply)
Discussion started by: KarthikPS
1 Replies
LEARN ABOUT SUSE
ocf_heartbeat_vmware
OCF_HEARTBEAT_VMWARE(7) OCF resource agents OCF_HEARTBEAT_VMWARE(7)NAME
ocf_heartbeat_vmware - Manages VMWare Server 2.0 virtual machines
SYNOPSIS
vmware [start | stop | monitor | meta-data]
DESCRIPTION
OCF compliant script to control vmware server 2.0 virtual machines.
SUPPORTED PARAMETERS
vmxpath
VMX configuration file path (required, string, no default)
vimshbin
vmware-vim-cmd executable path (optional, string, default /usr/bin/vmware-vim-cmd)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 600.
stop
Stops the resource. Suggested minimum timeout: 600.
monitor
Performs a detailed status check. Suggested minimum timeout: 30. Suggested interval: 300.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
EXAMPLE
The following is an example configuration for a vmware resource using the crm(8) shell:
primitive example_vmware ocf:heartbeat:vmware
params
vmxpath=string
op monitor timeout="30" interval="300" depth="0"
SEE ALSO
http://www.linux-ha.org/wiki/vmware_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_VMWARE(7)