a******n 发帖数: 11246 | 1 你这个肯定不行,那个surface sector,超过24hrs了,已经占用一个stopover了
(这个不叫open jaw, OJ是指比如你从pvg出发,回pek,或者目的地jfk到达,iad离开)
但我刚才查了一圈也糊涂了。
我连pvg-yvr // yyc-yyz(dest.), yyz-pvg,都quote不出来。。。
哪位大牛来说说为啥?
toronto |
|
|
|
|
|
c*****s 发帖数: 180 | 6 Complete the following statement to create a composite index named Fromto on
the output data set that is based on the key variables Origin and Dest.
data flights
set sasuser.revenue;
run;
|
|
c*****s 发帖数: 180 | 7 SAS OnlineTutor®: Advanced SAS®
Combining Data Vertically 6 of 28
backnextlesson menuLearning Pathhelp menu
Using an INFILE Statement (continued)
Assigning the Names of the Files to Be Read
The next step is to assign the names of the three files to be read to the
variable nextfile:
data work.quarter;
infile temp filevar=nextfile;
input Flight $ Origin $ Dest $
Date : date9. RevCargo : comma15.2;
In this case, let's use th |
|
|
|
c******n 发帖数: 4965 | 10 【 以下文字转载自 Linux 讨论区 】
发信人: creation (努力自由泳50m/45sec !), 信区: Linux
标 题: Re: how to do this iptables setup?
发信站: BBS 未名空间站 (Fri Sep 16 20:55:09 2011, 美东)
but here's what I dont' understand:
I checked the packets in wireshark.
the first packet sent out by client is REAL_IP_OF_CLIENT_BOX to 127.0.0.1
I thought according to the tutorial http://www.frozentux.net/iptables-tutorial/images/tables_traverse.jpg
after DNAT changes the dest IP, it goes through another routing decision, so
at this step it s... 阅读全帖 |
|
C*********a 发帖数: 3743 | 11 我的是 At dest sort facility,应该就是要out for delivery |
|
c**********w 发帖数: 1746 | 12 这个程序就是想测试一下ISEND和IRECV。启动四个线程,每个把一个数字发到rank+1的
下一个thread上,最后一个rank为3的发回到rank=0的线程,用WAIT_ALL等待,然后把
结果打印出来,已经编译成功,发现四个线程也都启动,但却不能通讯。测试条件为
quad-core, linux, openMP
程序:
program hello
USE mpi
integer rank, size, ierror, status(MPI_STATUS_SIZE)
integer dest,tag, ierr,tag2, req(2), src
REAL*8 res, msg, ans,sout
integer status_array(MPI_STATUS_SIZE,2)
call MPI_INIT(ierror)
call MPI_COMM_SIZE(MPI_COMM_WORLD, size, ierror)
call MPI_COMM_RANK(MPI_CO |
|
m*****7 发帖数: 67 | 13 tag必须一样才能收到
现在只有rank1能收到是因为:tag2初始值是0,
rank0发给rank1的msg tag也是0,
所以碰巧match上了
这个程序就是想测试一下ISEND和IRECV。启动四个线程,每个把一个数字发到rank+1的
下一个thread上,最后一个rank为3的发回到rank=0的线程,用WAIT_ALL等待,然后把
结果打印出来,已经编译成功,发现四个线程也都启动,但却不能通讯。测试条件为
quad-core, linux, openMP
程序:
program hello
USE mpi
integer rank, size, ierror, status(MPI_STATUS_SIZE)
integer dest,tag, ierr,tag2, req(2), src
REAL*8 res, msg, ans,sout
integer status_array(MPI_STATUS_SIZE,2)
call MPI_INIT(ierror)
cal |
|
d******r 发帖数: 16947 | 14 One table has "origin", "dest", "date", "type",
actually one the same day, from origin to destination there are type 1,2,
and 4.
I would like to pick up those records that on that day, on that route,
only type 4 happens. I want to just use one query to implement it.
Please advise me, thanks. |
|
m******y 发帖数: 588 | 15 SELECT *
FROM
WHERE date=
AND origin=
AND dest=
AND type=4 |
|
j*****n 发帖数: 1781 | 16 here is a way other than DTS:
export data from Teradata to formated text file.
use BCP...IN... load to your staging table in SQL Server, or use import data
wizard.
run DML to massage your data in stage.
run INSERT...SELECT... to your dest. table.
simple? |
|
B*********L 发帖数: 700 | 17 Table Source 到 Table Dest_xxx
既然Source不变,我会只create一个Dest table,但是增加一个 xxx column, xxx
column 加index |
|
c*****g 发帖数: 1137 | 18 不好意思,还是没明白,l2 switching是不改变ethernet frame的
src&dest mac的,对吧?那么知道src mac又有什么用?你是说incoming
frame的incoming port吗? |
|
f*******8 发帖数: 3612 | 19
我漏了他的上下文,地址等长是指一个router来说的,他把lable也笼统地称为地址。
他其实说的就是你下面的意思。
一个packet来了,
如果用mpls lable来switch, router的算法就只需要match确定地方、
确定长度的地址(就是lable)就行了。据说这种算法最快。
如果用forwarding,就要查routing table对照dest IP,而且不止查一
次,IP 的network 部分对各个不同的目的地址也不等长。而且还要再找最
长的对应。
PE加了lable后,剩下的就是switching的过程了。
他把精确match叫做switching,其他都叫forwarding,
感到这个区分很不错。
不错。 |
|
z**r 发帖数: 17771 | 20 on routers (besides the routers which have switch blades), there is no SVI
to indicate a network. Each physical port can be associated with a SVI.
Basically it is a way to tell control plane kernel that if dest MAC matches
the assigned ports, and des |
|
he 发帖数: 2025 | 21 针对FXO/FXS:
#show dial-peer voice summary, dest-pattern那一列都是号码。
#show run | section 0/2/0 |
|
s******v 发帖数: 4495 | 22 就是因为这个,
neighbor x.x.x.x remote-as 1
neighbor x.x.x.x upd loopback0 (if y.y.y.y)
R1 bgp 第一步建立tcp,src = y.y.y.y, dest = x.x.x.x,到了R2,无法建立tcp,因
为没有route回到y.y.y.y。
ebgp-mhop是另外一个因素。 |
|
x*********n 发帖数: 28013 | 23 我发现美国的recruiter贼噶好,还帮忙准备面试问题。
趁热打铁我记下来。
BGP部分
well know attributes,
origin里面有哪几个?
每一个attribute是怎么prefer的,越大越好还是越小越好,default value,能不能
transit
BGP neighborship 每一个阶段。
OSPF
area是针对interface还是router,type 7 LSA 在哪里可以看到(NSSA)
ospf neighborship state machine,每一个阶段。
Linux
怎么看ip table(netstat -rn)
怎么看source,dest IP(tcpdump),
怎么看mac-address table(arp -a)
MPLS
PE,P,CE概念,PHP概念,mpls lable多少个bits
2个neighborship我都没有回答好,就回答了一点点,还把exstart张冠李戴到bgp那里
了。linux那几个太紧张了,补救的还算快。 |
|
|
s***a 发帖数: 200 | 25 sorry. actually there is sth wrong with what i said.
you are right.
the cisco access switch will remove the tag before it sends the packet
to the host that connects to the port
add the tag after it gets packets from the host
if you sniff the traffic of NIC of your PC,
layer 2 header will be just
Dest Mac, Source Mac, Type(IP)
if you sniff the traffic of the switch port,
there is extra bytes for VLAN header between eth and IP
ethereal.com will be a good tool when you want to
figure out the detai |
|
r*t 发帖数: 34 | 26 I have changed the cluster-service.xml, so if I unplug B, A will detect it
alsmost instantly, however. It still take a long time to do the failover, I go
through the log info, and found:
2005-06-01 17:45:56,897 DEBUG
[org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] End
notifyListeners, viewID: 10
2005-06-01 17:46:52,297 DEBUG [org.jboss.ha.framework.server.HAPartitionImpl]
dests=[],
method_call=SessionState-'/HASessionState/Default'._setOwnership(ejb/MyBank,
192.168.1.100:1099:e9 |
|
T********r 发帖数: 6210 | 27 should be ok. or you can try tar:
(cd /source/directory && tar cf - . ) | (cd /dest/directory && tar xpvf -) |
|
A**********e 发帖数: 3102 | 28 多谢多谢 :)
我是把 dest.server:139 ssh tunnel 到 windows loop adaptor 的 IP 上的,好像文
件共享不受影响,因为 windows loop adaptor 和 localhost 的 IP 不同。
至于想 ssh forward samba,是想尽量在 firewall 上少开洞,而且这样所有的攻击都
可以在 sshd 上看到。
嗯,让我查查比较现成的 script/program 来自动识别攻击并封锁对方的 IP。过去的学
校的 IT 很强,所以自己不用太操心,server 被攻击后不久 IT 就能发现并且处理。现
在这个学校的 IT 就是一团糟,什么都得自己操心,呵呵。
sniffer |
|
f********1 发帖数: 1601 | 29 网上说的只要dest partition size > src partition size 就行了啊。
具体怎么改分区表呢?
fdisk的信息显示分区大小是正确的20GB啊?而且和下个分区也是连续的
Device Boot Start End Blocks Id System
/dev/sda1 1 2612 20980858+ 83 Linux
/dev/sda2 * 2613 13056 83891430 7 HPFS/NTFS |
|
r****t 发帖数: 10904 | 30 应该是个常见问题了,一直不知道咋办:
A acts as the gateway, eth0 internal, eth1 external.
B is a web server behind A.
能做 DNAT 让 internet 访问到 B, 但是和 B 在同一个子网的机器却没法
直接用 A 的 IP 访问 B, 因为一些原因不想改内部 DNS, 我现在用
iptables -t nat -A PREROUTING -s $INTERNAL_NET -i eth0 -d IP_A -j DNAT --to-
dest IP_B
iptables -t nat -A POSTROUTING -s IP_B -o eth0 -d $INTERNAL_NET -j SNAT --to
-source IP_A
不能工作,请问我该怎么办? |
|
c******n 发帖数: 4965 | 31 but here's what I dont' understand:
I checked the packets in wireshark.
the first packet sent out by client is REAL_IP_OF_CLIENT_BOX to 127.0.0.1
I thought according to the tutorial http://www.frozentux.net/iptables-tutorial/images/tables_traverse.jpg
after DNAT changes the dest IP, it goes through another routing decision, so
at this step it should be set to the lo interface, so MASQUERADE should set
its source to be 127.0.0.1 ???
also wireshark shows that the return ip is $EXTERNAL_BOX_IP to ... 阅读全帖 |
|
w*s 发帖数: 7227 | 32 if the openSSH uses port 22, which protocol is it (only TCP, UDP in the
router menu)
also this port 22 is for source port or dest port ?
how about "forward to port" ?
thanks very much ! |
|
n****1 发帖数: 1136 | 33 Don't wait, try it now, on any linux desktop/laptop, you will be amazed!
sshfs username@address:/target /dest
所有文件传输,目录刷新都是under the hook, 你都意识不到有传输这么回事.
缺点就是windows不能这样, linux天然支持, OSX上装个macfuse也行. |
|
w**b 发帖数: 59 | 34 正确的方式是 source/ dest
前面有/后面没有/ |
|
d******i 发帖数: 7160 | 35 从这个link查到的:
http://ubuntuforums.org/showthread.php?t=1857940
dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/
freedesktop/UPower org.freedesktop.UPower.Suspend
但是只能执行一次,即
运行一次后,
resume了
再执行一次,
机子就死锁在那儿,
画面鼠标都不动了。
咋回事啊?
请指教。 |
|
a***e 发帖数: 1140 | 36 目的: 把C++ code + solaris JDK 移植到 RH9 上.
过程: 源程序 在 solaris 下编译成功. 用的是命令:
g++ -G -I/JDK-path/include -I/JDK-path/solaris source.c -o dest.so
然后, 先在 RH9下安装了SDK1.4, 用的是同样的命令, 出错了,出错信息是:
"-G" is not recognized by g++
XXXXX, undefined reference to 'main'
collect2: 1d return 1 exit status
分析: 将命令换成 "-g", 还是一样. 查了g++ 在 linux 的manual,都没有-G选项.可是
"-G" 命令可以在solaris下执行,不能在linux下执行. 如果在solaris下不用-G选项,出错
信息和linux下一样.
solaris下JDK1.2
哪位高人给指点指点. 怎样解决? |
|
t****g 发帖数: 1 | 37 -G is used to generate shared object (check g++ manual for solaris, yes
they are different). It's for compatibility, you should use -shared.
Actually .c should be compiled to .o first, then link to .so. I think
-G is passed to linker in link stage; in compile stage, it actually
means -fPIC or something similar to generate relocatable objects.
So in linux you should use
g++ -fPIC -Ixxxx -Ixxxx source.c -o source.o
g++ -shared source.o -o dest.so |
|
g****c 发帖数: 299 | 38 Basic String Handling Functions
All the string handling functions are prototyped in:
#include
The common functions are described below:
char *stpcpy (const char *dest,const char *src) -- Copy one string into
another.
int strcmp(const char *string1,const char *string2) - Compare string1 and
string2 to determine alphabetic order.
char *strcpy(const char *string1,const char *string2) -- Copy string2 to
stringl.
char *strerror(int errnum) -- Get error message corresponding to specified
er |
|
j****g 发帖数: 597 | 39 The original text is:
std::transform (source.begin(), source.end(), dest.begin(), addValue);
Note that there is a problem with this example: addValue is a
function template, and function templates are considered to name a set of
overloaded functions (even if the set has only one member). However,
according to the current standard, sets of overloaded functions cannot be
used for template parameter deduction. Thus, you have to cast to the exact
type of the function template argument: |
|
f********a 发帖数: 1109 | 40 【 以下文字转载自 Linux 讨论区 】
发信人: fololunsia (我心飞扬), 信区: Linux
标 题: 关于tcp包头的一个小问题 [图]
发信站: BBS 未名空间站 (Thu Apr 24 18:45:10 2008)
我开一个窗口用tcpdump来看tcp包,
另一个窗口用telnet google.com 80,按照TCP的header定义,前16bit是source port, 然后16bit是dest port.如下图所是:
收到如下的TCP包:很奇怪的是我发现,收到的包里面0014 a9ec(16 bit)好像不是source port number,因为在google返回的包头中b16b 0014才是。是不是我哪里读错了?谢谢。
root# tcpdump host google.com -XX
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), captur |
|
t****t 发帖数: 6806 | 41 首先, 0014 a9ec是32bit, 不识数...?!
其次, -XX是"Print each packet, including its link level header", 不读手册
的...?!
拿掉Eth的14 byte, 再拿掉IP的20byte, 从0x22开始才是TCP packet, a51f和0050才是
正确的src/dst port number. 你稍微动动脑子就知道, 你连别人的80端口, 肯定找
0050就对了啊.
port, 然后16bit是dest port.如下图所是:
source port number,因为在google返回的包头中b16b 0014才是。是不是我哪里读错
了?谢谢。 |
|
c**********w 发帖数: 1746 | 42 这个程序就是想测试一下ISEND和IRECV。启动四个线程,每个把一个数字发到rank+1的
下一个thread上,最后一个rank为3的发回到rank=0的线程,用WAIT_ALL等待,然后把
结果打印出来,已经编译成功,发现四个线程也都启动,但却不能通讯。测试条件为
quad-core, linux, openMP
程序:
program hello
USE mpi
integer rank, size, ierror, status(MPI_STATUS_SIZE)
integer dest,tag, ierr,tag2, req(2), src
REAL*8 res, msg, ans,sout
integer status_array(MPI_STATUS_SIZE,2)
call MPI_INIT(ierror)
call MPI_COMM_SIZE(MPI_COMM_WORLD, size, ierror)
call MPI_COMM_RANK(M |
|
c**b 发帖数: 2999 | 43 dest=str1, shallow copy
& is pass by reference.
alloca
title |
|