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...
Hi,
I do not know how to find free space with vxprint.
If you only need to learn free space , you can use the commands below.
1. To determine contiguous regions of free space on all disks:
# vxdg free
2. To determine contiguous regions of free space on only one disk group:
# vxdg -g <disk...
Hi,
The limitation is database size and thresholds.
There is no definiton for table size.
you can use the link below for ASE documents.
http://sybooks.sybase.com/onlinebooks/group-as/asg1252e
you can use the commands below
use <db_name>
sp_helpdb
sp_helpthreshold
Hi,
dumpadm run at boot time (if there is need to collect crash info). It means dumpadm needs physical disk partition.
If you use veritas, only first root disk has physical swap partition. The other swap volumes does not have physical swap partition. They use Veritas volumes.
I think you...
Hi,
you can not update system tables automaticly.
You should first allow to update system tables.
"allow update,1" is doing this job. Actually "reconfigure with override" has no effect on new sybase releases. It was writing your configuration.
If your database is in suspect mode, you can not...
Hi,
I afraid your databases are corrupt.
If this is the case you need to restore them.I hope master database is not corrupted.
1-drop suspect databases
2-Re_create and load them
To destroy databases ,you should first do activities below to remove suspect status.
root@> isql -Usa
1>...
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.