Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. crasho2001

    Character replace

    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...
  2. crasho2001

    Character replace

    If the line ends with ,\n , it should be replace to ,. If the line ends with \n, no change should be done. How can I do?
  3. crasho2001

    Different routes

    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...
  4. crasho2001

    Date reset

    At Sun Fire v440 system, time reset occured suddenly. Date was 1.1.1970. Have you seen this behaviour before? What can be the problem?
  5. crasho2001

    matching two big files

    Feherke, Awk does not work. The result is 0. And which grep is it? >cat l1 1 1 2 2 3 3 4 4 5 5 6 7 >cat l2 1 3 5 6 7
  6. crasho2001

    matching two big files

    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...
  7. crasho2001

    Deleting lines from a file

    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.
  8. crasho2001

    audit files

    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...
  9. crasho2001

    Deleting lines from a file

    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?
  10. crasho2001

    How To Disable DayLight Saving

    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...
  11. crasho2001

    Restore Database onto another server

    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 ------ ----------- -----------...
  12. crasho2001

    kern.warning

    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.
  13. crasho2001

    /usr/bin/logger -f option gives multiple entries per line in the file

    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.
  14. crasho2001

    crontab automation

    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...
  15. crasho2001

    Veritas Volume Manager

    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...
  16. crasho2001

    Veritas Volume Manager

    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...
  17. crasho2001

    Max size of a table, how to check

    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
  18. crasho2001

    dumpadm

    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...
  19. crasho2001

    change database mode?

    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...
  20. crasho2001

    change database mode?

    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>...

Part and Inventory Search

Back
Top