Thank you for response. But I have problem. I am using Solaris.
e10>awk '{ORS=/,$/?"":"\n"}1' bulk2
awk: syntax error near line 1
awk: illegal statement near line 1
awk: syntax error near line 1
awk: bailing out near line 1
e10>
e10>
e10>sed -r ':b;/,$/{N;bb;};s/\n//g' bulk2
sed: illegal option...
Hi,
I am trying to reach 10.68.49.50.
I can reach through nxge2 interface.
When I down the nxge2, I am waiting to reach 10.68.49.50 via nxge0.
But this is not happening. System tries to reach 10.68.49.50 via e1000g0.
Any suggestion?
Regards,
root@xxb>ifconfig -a
lo0...
Hi,
I have two big files.
File1 has 2 columns. (id,num). It has all ids.
File2 has 1 column.(id). It has some ids.
If File2 id matches File1 id than count num.
I used the script below. But it takes too much time. How can make it faster?
count=0
for list in `cat File2`
do
count1=`grep $list...
Hi,
"cat /dev/null" is an option but it will delete also unread lines. While I am reading the file, a new lines can be added.
For example I need to delete lines from 1 to 99.
Not the other ones.
Thank you.
Hi,
Audit is activated on some tables.
A session is opened and produces 30g audit file during its work.
File system is not big enough to handle 30g file.
When file system is full, oracle stops working.
- Is there any way to stop audit when file system is reached a limit?
-Opened session is...
Hi,
I am reading a log file regularly. I want to delete lines after reading. Size of log file will not increase any more.
How can I delete lines from a file without changing log file name?
Hi,
According to /usr/share/lib/zoneinfo/src/asia file or
zdump -v Asia/Karachi, it seems there is no day light saving for Karachi. My solaris release is Solaris 9 9/04 s9s_u7wos_09 SPARC.
Below example was taken from rule EU. We changed the lines below from europe file to fix DST time...
As I know important point is size of devices and order of devices.
Look the example below.
1> select * from sysusages where dbid = 12
2> go
dbid segmap lstart size vstart pad unreservedpgs
crdate
------ ----------- -----------...
Hi,
Check the /etc/syslog.conf file.
There should be *.warning or kern.warning entry in the file.
Just comment out the entry and send kill -HUP to syslogd pid.
Hi,
I can give one idea.
please check /etc/syslog.conf file.
probably info or local0.info messages routed twice to /var/adm/messages file.
if this is true, reconfigure your syslog.conf file and send kill -HUP to pid of syslog process.
Hi,
if you do not use crontab command, you should restart cron manually.
/etc/init.d/cron stop
/etc/init.d/cron start
however you can still use crontab command with filename option.
First you should allow root to login as newuser
echo "<server name> root" /export/home/newuser/.rhosts or...
Hi,
I searched one more time veritas pages. They are very helpful.
1. To find the total amount of Volume Manager disk space in a particular disk group:
# vxprint -g testdg1 -dF "%publen" | awk 'BEGIN {s = 0} {s += $1} END {print s}'
2. To find the total amount of Volume Manager disk space for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.