随笔分类 -  HP-UX

摘要:root@hpux# netstat -an |grep FIN ... note processes in FIN_WAIT_2 root@hpux# ndd -get /dev/tcp tcp_fin_wait_2_timeout # record this 0 root@hpux# ndd -set /dev/tcp tcp_fin_wait_2_timeout 30000 # ms? = 30s root@hpux# ndd -get /dev/tcp tcp_fin_wait_2_timeout 30000 root@hpux... 阅读全文
posted @ 2013-03-27 11:02 MagicLetters 阅读(892) 评论(1) 推荐(0)
摘要:Getting "syntax error at line 19: `<<' unmatched" trying to run sqlplus in a ksh script....snip...26 sqlplus $conn_str 1>/dev/null <<EOF 27 select sysdate from dual;28 EOF...snip...The final sqlplus program can look like this;...snip...26 sqlplus $conn_str 1>/dev/null 阅读全文
posted @ 2012-03-13 10:16 MagicLetters 阅读(491) 评论(0) 推荐(0)
摘要:Login as rootEdit the /usr/lib/cron/cron.allow fileAdd “oracle” at the end.Logout and login as “oracle” user again.source[http://linux.wxs.ro/2010/06/03/hp-ux-crontab-you-are-not-authorized-to-use-cron/] 阅读全文
posted @ 2011-11-21 14:14 MagicLetters 阅读(283) 评论(0) 推荐(0)