Yes, but there's no output to syslog, I forgot to add logger command at the end of the code:
If cat the out from a file, sed works perfectly, but on this chain of code doesn't
I mean, works until the sed command, but no output on the logger command :-(
Thanks
Hi,
This stems from the following thread https://www.unix.com/showthread.php?t=18299
I have a makefile which makes either executables or a shared library.
i.e. make -f unix.mak will create the executables and
make -f unix.mak libolsv will create the shared library.
Since these have to be... (4 Replies)
I have the following data file.
zz=aa azxc-1234 aa=aa
zz=bb azxc-1234 bb=bb
zz=cc azxc-1234 cc=cc
zz=dd azxc-2345 dd=dd
zz=ee azxc-2345 ee=ee
zz=ff azxc-3456 ff=ff
zz=gg azxc-4567 gg=gg
zz=hh azxc-4567 hh=hh
zz=ii azxc-4567 ii=ii
I want to make 2nd field pattern matching multiple lines... (13 Replies)
I wrote a very simple script that matches combinations of alphabetic characters (1-5). I want to use it to test CPU speeds of different hardware/platforms. The problem is that on multi-core/processor systems, only one CPU is being utilized to execute the script. Is there a way to change that?... (16 Replies)
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)
Hi,
I have a requirement with,
No~Dt~Notes
1~2011/08/1~"aaa
bbb
ccc
ddd
eee
fff
ggg
hhh"
Single column alone got splitted into multiple lines.
I require the output as
No~Dt~Notes
1~2011/08/1~"aaa<>bbb<>ccc<>ddd<>eee<>fff<>ggg<>hhh"
mean to say those new lines to be... (1 Reply)
have a very big file where need to format it like below
example file:
abcd today
is
great
day;
search keyword 'abcd' and append to it all words till we reach ; to make it a single line.
output should look like.
abcd today is great day;
There are many occurrence of such... (2 Replies)
here is what i want to achieve.. i have a file with below contents
cat fileName
blah blah blah
.
.DROP this
REJECT that
.
--sport 7800 -j REJECT --reject-with icmp-port-unreachable
--dport 7800 -j REJECT --reject-with icmp-port-unreachable
.
.
.
more blah blah blah
--dport 3306... (14 Replies)
Hi,
I want to change a file file1.txt:
1234
3456
2345
6789
3456
2333
4444
As, file2.txt in Linux:
'1234','3456','2345','6789','3456','2333','4444'
Could someone please help me. (Single liner sed, awk will be welcome!) (7 Replies)
Hi all,
How can i display the middle line of a file using a single line command? (6 Replies)
Discussion started by: Lakme Pemmaiah
6 Replies
LEARN ABOUT OSF1
evmreload
evmreload(8) System Manager's Manual evmreload(8)NAME
evmreload - Reload Event Manager configuration files
SYNOPSIS
/usr/sbin/evmreload [-d] [-a] [-c] [-l] [-n]
OPTIONS
Reconfigures the EVM channel manager. Reconfigures the EVM daemon. Reconfigures the EVM logger. Syntax checks the event template files
and reports errors, but does not make any changes effective. If a daemon reconfiguration is requested, the reconfiguration request will be
sent even if there are errors in any template file. If errors exist, there is no guarantee that the new configuration will be accepted.
OPERANDS
None
DESCRIPTION
The evmreload command posts control events that instruct EVM resident components to reload their configuration files. It should be run to
cause EVM to begin using the new configuration any time a configuration file has been changed.
If no options are specified, the daemon, the channel manager, and the logger all reload their configurations.
The daemon should be reconfigured any time its configuration file or event template database has changed. The logger should be reconfig-
ured anytime its configuration has changed. The channel manager should be reconfigured anytime its configuration has changed.
Resident EVM components also reload their configuration files on receipt of a SIGHUP signal.
If an activity monitor is specified in the EVM daemon configuration file, all counts and timers associated with the monitor are reset.
NOTES
The evmreload command uses the evmshow -verify command to check for errors in configuration files before sending a reload request to EVM.
If errors are found, they are reported to stderr and no reconfiguration request is sent. This check does not find all possible errors,
however, so you should take care to check for errors reported by the EVM components themselves. To do this, run the following command:
evmget -A -f '[name *.evm] & [age < 5m]' -t '@timestamp @@'
RESTRICTIONS
You must be user root to run this command.
EXAMPLES
The following command will cause the EVM daemon to reconfigure itself: /usr/sbin/evmreload -d The following command will cause the EVM log-
ger to reconfigure itself: /usr/sbin/evmreload -l The following command will cause the EVM channel manager to reconfigure itself:
/usr/sbin/evmreload -c To syntax check the daemon configuration file without any reconfiguration actually occurring, enter the following
command: /usr/sbin/evmreload -n To reconfigure both the EVM daemon and the EVM logger, enter the following command: /usr/sbin/evmreload -d
-l To reconfigure the EVM daemon, the EVM logger, and the EVM channel manager, enter the following command: /usr/sbin/evmreload The follow-
ing command will reconfigure the EVM daemon, the EVM logger, and the EVM channel manager even if there are errors in the template file.
/usr/sbin/evmreload -a
EXIT VALUES
The following exit values are returned: Successful completion An error occurred
FILES
Executable file
SEE ALSO
Commands: evmchmgr(8), evmd(8), evmlogger(8), evmpost(1)
Files: evmchannel.conf(4), evmdaemon.conf(4), evmlogger.conf(4)
Event Management: EVM(5)
EVM Events: EvmEvent(5)
delim off
evmreload(8)