Search Results

Search: Posts Made By: kvaikla
11,065
Posted By kvaikla
@rbatte1 Your example works in My case too...
@rbatte1
Your example works in My case too :)
br
Kaido
11,065
Posted By kvaikla
Hi rbatte1 I will test your example br ...
Hi rbatte1
I will test your example
br
Kaido
11,065
Posted By kvaikla
I got a point: "Both of these programs don't go...
I got a point:
"Both of these programs don't go into the background or save PID files - when you run things with systemd, that's systemd's job.
br
Kaido
11,065
Posted By kvaikla
systemd-cat is probably your suggestion br ...
systemd-cat is probably your suggestion
br
Kaido

--- Post updated at 22:03 ---

@Corona688 I can't figure out how to use it.
br
Kaido
11,065
Posted By kvaikla
Systemd cant start my script
Hi,
systemd cant start my script, but it work, at command prompt.
Code and execute at command prompt

#cat collector.sh
#!/bin/bash
case $1 in
start)
...
6,381
Posted By kvaikla
Your solution works, thnx
Your solution works, thnx
6,381
Posted By kvaikla
Exit 1 doesn't work
Hi

tail -f $PROGPATH/NBU_pgbaserestore_$1.log | while read LOGLINE
do
if [[ $LOGLINE =~ .*INF\ -\ Status.* ]] && ! [[ $LOGLINE =~ .*success.* ]]
then
date...
3,798
Posted By kvaikla
Thnks actually ... if [[ $LOGLINE =~...
Thnks
actually

...
if [[ $LOGLINE =~ .*INF\ -\ Status.* ]] && ! [[ $LOGLINE =~ .*success.* ]]
...

this way.
It means I can't do a negative look inside [[...]] but only using a ![[..]] ?...
3,798
Posted By kvaikla
Regex negative look and bash script
My script have to read logfile, and take some action, if in pattern are strings:
1) exit 0 strings pattern
... "INF - Status"... success

2) exit 1 (! as not) strings pattern
... "INF -...
Forum: HP-UX 02-02-2011
1,966
Posted By kvaikla
Hi Take a look, at stty -a and search for...
Hi

Take a look, at stty -a and search for kill. You can change it like
#stty kill ^U
17,218
Posted By kvaikla
thanks to your question, I found a mistake. to...
thanks to your question, I found a mistake. to use awk built-in variables it should be
awk '{print $(NF-6) " " $(NF-5)}'
For example
# cat list.txt
[2010-03-03 16:28:44.035] DEBUG 2010-03-03...
17,218
Posted By kvaikla
using awk 2
awk '{print $NR, $(NR+1)}'
3,867
Posted By kvaikla
Is it oracle? If so then go to ...
Is it oracle? If so then go to
$ORACLE_HOME/network/admin
there are litener.ora and tnsnames.ora. default port for oracle listener is 1521. if you change it, you have to use local_lister in...
Showing results 1 to 13 of 13

 
All times are GMT -4. The time now is 02:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy