Jump to content

请问如何得到上传流量?Thanks


Recommended Posts

以下脚本可以得到下戴流量,请教如何得到上传流量,Thanks

While 1
    $s1 = 0
    $s2 = 0
    $strComputer = "." 
    $wbemServices = ObjGet("winmgmts:\\" & $strComputer & "\root\cimv1")
    $wbemObjectSet = $wbemServices.ExecQuery ("Select * from Win32_PerfRawData_Tcpip_NetworkInterface")
    For $wbemObject In $wbemObjectSet
        $s1 = $s1 + $wbemObject.BytesReceivedPerSec
    Next
    Sleep(1000)
    $strComputer = "." 
    $wbemServices = ObjGet("winmgmts:\\" & $strComputer & "\root\cimv1")
    $wbemObjectSet = $wbemServices.ExecQuery ("Select * from Win32_PerfRawData_Tcpip_NetworkInterface")
    For $wbemObject In $wbemObjectSet
        $s2 = $s2 + $wbemObject.BytesReceivedPerSec
    Next
    $dd = $s2 - $s1
    $kk = $dd / 1024
    TrayTip("msg", round ($kk,2) & " KB", 1, 1)
    Sleep(10)
WEnd
Link to comment
Share on other sites

以下脚本可以得到下戴流量,请教如何得到上传流量,Thanks

While 1
    $s1 = 0
    $s2 = 0
    $strComputer = "." 
    $wbemServices = ObjGet("winmgmts:\\" & $strComputer & "\root\cimv1")
    $wbemObjectSet = $wbemServices.ExecQuery ("Select * from Win32_PerfRawData_Tcpip_NetworkInterface")
    For $wbemObject In $wbemObjectSet
        $s1 = $s1 + $wbemObject.BytesReceivedPerSec
    Next
    Sleep(1000)
    $strComputer = "." 
    $wbemServices = ObjGet("winmgmts:\\" & $strComputer & "\root\cimv1")
    $wbemObjectSet = $wbemServices.ExecQuery ("Select * from Win32_PerfRawData_Tcpip_NetworkInterface")
    For $wbemObject In $wbemObjectSet
        $s2 = $s2 + $wbemObject.BytesReceivedPerSec
    Next
    $dd = $s2 - $s1
    $kk = $dd / 1024
    TrayTip("msg", round ($kk,2) & " KB", 1, 1)
    Sleep(10)
WEnd
搜索论坛包 。

Btw, i don't speak chinese. (google translator)

Link to comment
Share on other sites

i don't think you can rely on google translator.

here was my original text

I love Auto it. It makes me happy. :D

h m m this is fun writing is chinese.

i bet it makes me look smart.

now the autoit forum is going to think im chinese and ask me to cook them chinese food. but i just used google translator too. lol.

and this what my text translated to chinese

我愛汽車。它使我高興。 : )

h米米,這是有趣的寫作是中國人。

我敢打賭,這令我期待的智能。

現在autoit論壇是前往認為即時通訊中文,並讓我庫克他們對中國的飲食。但我剛才使用Google的翻譯。大聲笑。

and here i translated it all back into english. it is now very silly to read. but i did find it hilarious. :D

I love cars. It makes me happy. :)

h Mimi, this is interesting writing is Chinese.

I bet, I look forward to the smart.

The forum is now autoit to think that the Chinese instant messaging, and they let me Cook, the Chinese food. But I have to use Google's translation. Lol.

Link to comment
Share on other sites

i don't think you can rely on google translator.

here was my original text

and this what my text translated to chinese

and here i translated it all back into english. it is now very silly to read. but i did find it hilarious. :)

autoit為什麽會被翻譯成汽車,奇怪的翻譯。。。

Link to comment
Share on other sites

I love Autoit. It makes me happy.

h m m this is fun writing is chinese.

i bet it makes me look smart.

now the autoit forum is going to think im chinese and ask me to cook them chinese food. but i just used iCIBA translator too. lol.

下面是用中国的一个翻译软件翻译的,在 http://fy.iciba.com/ 中翻译,Default 是 中文 to English ,Autoit 如果写成 Auto it 也会翻译成:汽车 它

我爱autoit 。它使我高兴。 HMM的,这是有趣的写作是中国人。我敢打赌,这令我期待的智能。现在autoit论坛是前往认为即时通讯中文,并让我库克他们对中国的饮食。但我刚才用iciba翻译过。大声笑。

Link to comment
Share on other sites

我只是向把文字倒序,就好像這樣:

哈哈,领导是很通情达理的

变成:

的理达情通很是导领,哈哈

難道我們自己人就不敢幫我一下么

洋人們誰會也成啊,給個思路也好啊,我是新手~~`

Link to comment
Share on other sites

translating makes things silly is my conclusion.

i translated the lyrics of the song "stairway to heaven to chinese here.

有一個夫人誰的肯定所有的閃光是金

和她的購買天堂的階梯

而當她有她知道如果商店關閉

一個字,她可以得到什麼,她來

悲哀哦噢哦噢哦

和她的購買天堂的階梯

有一個跡象上牆,但她希望得到肯定

你知道,有時話有兩層含義

在一棵樹所不容有一種鳴禽誰唱

有時我們所有的思想是misgiven

悲哀哦噢哦噢哦

和她的購買天堂的階梯

有一種感覺,我收到時,我期待到西

和我的精神,是哭泣的離開

我在思考我所看到的戒指,煙霧透過樹木

和的聲音,那些誰的立場看

悲哀哦噢哦噢哦

和她的購買天堂的階梯

和它的耳邊輕聲說很快,如果我們的所有要求調

那麼,伯爾將導致我們的理由

和一個新的天將黎明對於誰的立場,只要

和森林將回波與眾笑

它使我不知道

如果有一個熱鬧,在您的樹籬

不要驚慌,現在

這只是一個春天的清潔五月女王

是有兩條路你可以去

但長遠而言

有的還有時間來改變道您就

在你的頭上,是哼唱和它不會去的情況下你不知道

該伯爾的打電話給你和他一起

親愛的夫人,不能你聽到風的打擊,你知道嗎

您的樓梯在於對竊竊私語風

正如我們風對下跌的道路

我們的陰影身高比我們的靈魂

社會各界有一位大家都知道,

誰照的白光,並希望查看

如何一切仍然輪流黃金

如果你聽,很難

調將到你們這裡來,最後

當所有都是一和一,是所有

是一個岩石和不軋輥

悲哀哦噢哦噢哦

和她的購買天堂的階梯

有一個夫人誰的肯定所有的閃光是金

和她的購買天堂的階梯

而當她有她知道如果商店關閉

一個字,她可以得到什麼,她來

和她的購買天堂的階梯,嗯嗯嗯。

next i translated it back to english.

and its very fun to read now.

A wife who's sure all the flash is gold

And her purchase of Stairway to Heaven

And when she knew that if she had to close shop

One word, she can get what, to her

Sad Oh, oh oh oh oh

And her purchase of Stairway to Heaven

A sign on the wall, but she certainly want

You know, sometimes it has two implications

Should not be in a tree by a songbird who sings

Sometimes all of our thinking is misgiven

Sad Oh, oh oh oh oh

And her purchase of Stairway to Heaven

There is a feeling that I have received, and I look forward to the West

And my spirit is crying to leave

I thought I saw the ring, smoke through the trees

And the voice of those who look at the position

Sad Oh, oh oh oh oh

And her purchase of Stairway to Heaven

And it's whispered that soon, if we transferred all the requirements

Well, Piper will lead us to reason

And a new day will dawn for the position who, as long as

And the forest will echo with the laughter

I do not know it

If there is a lively, in your hedgerow

Do not be alarmed,

This is only a spring cleaning May Queen

There are two ways you can go to

But in the long run

Some still have time to change, you

In your head, is singing and it will not be the case you do not know

The Piper's calling you and him

Dear Lady, you can not hear the wind blow, you know?

Your stairs is the wind Qieqiesiyu

As we wind down on the road

We height of the shadow of the soul than we

A community we all know,

Who as white, and would like to see

How everything still turns gold

If you listen, it is very difficult

- Will come to you to the end

When all are one and one that all

Is a rock and roll

Sad Oh, oh oh oh oh

And her purchase of Stairway to Heaven

A wife who's sure all the flash is gold

And her purchase of Stairway to Heaven

And when she knew that if she had to close shop

One word, she can get what, to her

And her purchase of Stairway to Heaven,嗯嗯嗯.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...