04-05-2009
Thank you very much for all ,who replied to my query .Its my first posting and really impresive looking all u r reponce .Sincere thanks to the person who started this forum .
-Chinni
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I have a file with specified format .
Hxxxxxxxyyyyyggggggguuuuuuuuuurrrrrrrrrrrrrrrrrrrrrrrr
xxxxxxxxyyyyyggggggguuuuuuuuuurrrrrrrrrrrrrrrrrrrrrrrr
xxxxxxxxyyyyyggggggguuuuuuuuuurrrrrrrrrrrrrrrrrrrrrrrr
xxxxxxxxyyyyyggggggguuuuuuuuuurrrrrrrrrrrrrrrrrrrrrrrr... (3 Replies)
Discussion started by: asinha63
3 Replies
2. Solaris
Hi,
I have a sh script which contains the following line
TOTAL=$((e4-s4)) -> Where e4 and s4 are input got from the user.
At the time of execution of this line the following error occurs
test.sh: syntax error at line 8: `TOTAL=$' unexpected
How to solve this issue?. Can any... (9 Replies)
Discussion started by: krevathi1912
9 Replies
3. Shell Programming and Scripting
Hi,
i want to add two decimal values to
$ set a= 12.4
$ set b=3.6
$ w=`expr $a - $b`
expr: non-numeric argument
or is there any other method to do this mathematics operation.
i need to use this into my script. (4 Replies)
Discussion started by: dear_abhi2007
4 Replies
4. Shell Programming and Scripting
I am trying to add free and used memory (so that i can compute percentage used)of remote nodes using shell script. I use the openssh-server,expect tool and ssh script.
1)login.txt (info of nodes):
ip1|username|password
ip2|username|password
.
.
.
3)sshlogin.sh
#!/bin/bash ... (1 Reply)
Discussion started by: marmik1903
1 Replies
5. Shell Programming and Scripting
Dear All,
I have a final output files as
736645|0|
13879|1|
495563|10|
127933|14|
4975|16|
49038|6|
53560|7|
135115|8|
178857|9|
Now I want to replace second column with respective tag as per the value (4 Replies)
Discussion started by: jojo123
4 Replies
6. Shell Programming and Scripting
Let, I have three numbers
+00123.25
-00256.54
+00489.23
I need to sum up all those three numbers, after storing them in three variables (say var1, var2, var3).
I used both expr and BC, but they didn't work for me.
But, I am not able to sum up them, as I don't have any idea how to... (13 Replies)
Discussion started by: mady135
13 Replies
7. Shell Programming and Scripting
by the script, two files Q1 and Q2 will be generated on the system. Q1 will contain an integer number and Q2 also contain an integer number. i would like to add those numbers and put into new file.
excerpt from my script
22 subcount=`echo $dir/Q$qid.txt` + `echo $dir/Q$qid.txt`
23 echo... (1 Reply)
Discussion started by: lookinginfo
1 Replies
8. Shell Programming and Scripting
I have a data file in the format of
1234 xxx
1234 xxx
1234 xxx
1234 xxxI want to be able to calculate the following -
COLUMN1+((LINENUMBER-1)/365)
The output needs to preserve the 2nd column -
1234 xxx
1234.00274 xxx
1234.00548 xxx
What is the best way to do this? I am somewhat... (9 Replies)
Discussion started by: ncwxpanther
9 Replies
9. Shell Programming and Scripting
Hi, the title isn't very descriptive but it'll be easier to explain what I need if I write out the coordinates from which I need to extract certain information:
ATOM 2521 C MAM X 61 44.622 49.357 12.584 1.00 0.00 C
ATOM 2522 H MAM X 61 43.644 49.102 12.205 ... (10 Replies)
Discussion started by: crunchgargoyle
10 Replies
10. Shell Programming and Scripting
Hi All,
I am writing a script in which I need to gather 2 numbers for 'total' and 'successful'. The goal is to compare the two numbers and if they are not equal, rerun the task until all are successful. I'm thinking the best way will be with awk or sed, but I really don't know where to begin... (8 Replies)
Discussion started by: hburnswell
8 Replies
evmd(1M) evmd(1M)
NAME
evmd - Event Manager daemon
SYNOPSIS
DESCRIPTION
The Event Manager (EVM) daemon, receives events from posting clients and distributes them to subscribing clients that have indicated that
they are interested in receiving the events. The daemon is a critical system facility that is started automatically when the system tran-
sitions to run level 2, and which should not be terminated. The daemon in turn starts the event logger, and the channel manager,
On startup, the daemon reads its configuration file, the authorization file, and the event template files stored under the directory. If
these files are modified while the daemon is running, the command must be used or a signal must be sent to instruct the daemon to reconfig-
ure itself.
The system administrator can control access to events by modifying the EVM authorization file,
As a daemon, does not have a standard output. Any error messages are written to the file
The EVM daemon is monitored by the Essential Services Monitor daemon, which automatically restarts if it terminates unexpectedly. See
esmd(1M) for more information.
RETURN VALUES
The following exit values are returned:
Successful completion.
An error occurred.
WARNINGS
The daemon rejects any attempt by a posting client to post an event that has one or more of the following problems:
o The event is not registered.
o The event contains invalid item values.
o The posting client is not authorized to post such an event.
FILES
Default directory for event template files
Default location for event filter files.
Filter files must have the suffix Error log file for UNIX domain socket established for connection between the EVM daemon and the
local clients
Daemon process id saved by
Lock file established to prevent multiple invocations of the daemon
Default location of the EVM daemon configuration file
Default location of the EVM daemon authorization file
SEE ALSO
Commands
esmd(1M), evmchmgr(1M), evmlogger(1M), evmreload(1M), evmstart(1M), evmstop(1M).
Files
evm.auth(4), evmdaemon.conf(4), evmtemplate(4).
Event Management
EVM(5).
Event Connection
EvmConnection(5).
EVM Events
EvmEvent(5).
Event Filter
EvmFilter(5).
evmd(1M)