02-28-2013
Double posting not allowed.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have no idea abount shell script but i need need shell script to get last 10 char from a file name and write in to a new file.
consider u hav 5 files in a particular dir i script should get last 10 char of each file n write the 10 char in separate files (2 Replies)
Discussion started by: raj0390
2 Replies
2. Shell Programming and Scripting
Hi,
How to replace any character in a file with a newline character using sed ..
Ex:
To replace ',' with newline
Input:
abcd,efgh,ijkl,mnop
Output:
abcd
efgh
ijkl
mnop
Thnx in advance.
Regards,
Sasidhar (5 Replies)
Discussion started by: mightysam
5 Replies
3. Programming
Hello,
I'm trying to write a method which will return the extension of a file given the file's name, e.g. test.txt should return txt. I'm using C so am limited to char pointers and arrays. Here is the code as I have it:
char* getext(char *file)
{
char *extension;
int i, j;... (5 Replies)
Discussion started by: pallak7
5 Replies
4. Shell Programming and Scripting
I want to rename the file from below format to
ABCDEFCGHF20090112345623.DAT to
ABCDEFCGHF20090112345624.DAT
the last digit before dot to increment to 1. if it 9 should become 0
How to do this in simple way? (2 Replies)
Discussion started by: svenkatareddy
2 Replies
5. Programming
hello everybody!
i have aproblem! i dont know how to concatenate const char* with char
const char *buffer;
char *b;
sprintf(b,"result.txt");
strcat(buffer,b);
thanx in advance (4 Replies)
Discussion started by: nicos
4 Replies
6. Programming
Compiling xpp (The X Printing Panel) on SL6 (RHEL6 essentially):
xpp.cxx: In constructor ‘printFiles::printFiles(int, char**, int&)’:
xpp.cxx:200: error: invalid conversion from ‘const char*’ to ‘char*’
The same error with all c++ constructors - gcc 4.4.4.
If anyone can throw any light on... (8 Replies)
Discussion started by: GSO
8 Replies
7. UNIX for Dummies Questions & Answers
Hello All,
i am a newbie and need some help when reading a csv file in a bourne shell script. I want to read 10 lines, then wait for a minute and then do a reading of another 10 lines and so on in the same way. I want to do this till the end of file.
Any inputs are appreciated
... (3 Replies)
Discussion started by: victor.s
3 Replies
8. Programming
Pointers are seeming to get the best of me and I get that error in my program.
Here is the code
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define REPORTHEADING1 " Employee Pay Hours Gross Tax Net\n"
#define REPORTHEADING2 " Name ... (1 Reply)
Discussion started by: Plum
1 Replies
9. UNIX for Advanced & Expert Users
hi,
I am trying to get the FileType using the File command. I have one file, which holds Group separator along with ASCII character.
It's a Text file.
But when I ran the File command the FileType is coming as "data".
It should be "ASCII, Text file".
Is the latest version of File... (6 Replies)
Discussion started by: Arpitak29
6 Replies
10. UNIX for Beginners Questions & Answers
I have a file like this.
1 aaa bcd 1 56 xyz 1
2 ccc rrr 1 25 512 1
1 zaz eee 1 55 511 1
I want to change middle 1's ie after bcd,rrr,eee to 0 where as other 1's
should not change.
Can you please provide a solution . (5 Replies)
Discussion started by: kshari8888
5 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)