This wiki has been migrated to https://gitlab.com/wireshark/wireshark/-/wikis/home and is now deprecated. Please use that site instead.
Differences between revisions 2 and 230 (spanning 228 versions)
Revision 2 as of 2004-09-28 22:59:57
Size: 916
Editor: cpe-138-130-82-94
Comment:
Revision 230 as of 2016-01-05 07:26:13
Size: 4153
Editor: EarlRudinas
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
##language:en
Please feel free to experiment here, after the four dashes below... and please do '''NOT''' create new pages without any meaningful content just to try it out!

'''Tip:''' Shift-click "HelpOnEditing" to open a second window with the help pages.
----

== Formatting ==

''italic'' '''bold''' {{{typewriter}}}

`backtick typewriter` (configurable)

{{{
preformatted
}}}

== Linking ==

HelpOnEditing MoinMoin:InterWiki

http://purl.net/wiki/moin/ [http://www.python.org/ Python]

someone@the.inter.net
Definition of wiki
-a server program that allows the users to collaborate in forming the content of a Web site. Term comes from the Hawaiian term "wikiwiki" which means "fast."
Definition of blog
-a website, similar to an online journal, that includes chronological entries made by individuals. Term define from both "web" and "log." Mostly focuses on a specific subject and provide users with forums to talk about each postings. Blogs are used such like a diary.
(Earl Rudinas)
Line 26: Line 8:
=== Image Link ===
http://c2.com/sig/wiki.gif
---- /!\ '''Edit conflict - other version:''' ----
Wiki - a website that allows collaborative editing of its content and structure by its users.
Blog - a regularly updated website or web page, typically one run by an individual or small group, that is written in an informal or conversational style. - Ryan Galon
Line 29: Line 12:
== Lists == ---- /!\ '''Edit conflict - other version:''' ----
Wiki - a website that allows collaborative editing of its content and structure by its users
Blog - a regularly updated website or web page, typically one run by an individual or small group, that is written in an informal or conversational style.
Line 31: Line 16:
=== Bullet ===
 * first
   1. nested and numbered
   1. numbered lists are renumbered
 * second
Lovella June D. Gonzaga
Line 37: Line 18:
 blockquote
   deeper
Line 40: Line 19:
=== Glossary ===
 Term:: Definition
---- /!\ '''Edit conflict - your version:''' ----
Line 43: Line 21:
=== Drawing ===
drawing:mytest
---- /!\ '''End of edit conflict''' ----
Line 46: Line 23:
Here is a '''new''' test ---- /!\ '''Edit conflict - your version:''' ----
Line 48: Line 25:
[attachment:well-hung-schlong-2.jpg image link] ---- /!\ '''End of edit conflict''' ----
Created an account for this wiki sandbox
Practice...
Line 50: Line 29:
[attachment:tut016.svg] Done with main edit, want to do links within ProtocolReferencePage, so I'll link to the end of [[https://wiki.wireshark.org/WikiSandBox#TheEnd|WikiSandBox#TheEnd]] [[#TheEnd|The End]]

The above is disposable practice after Today, Saturday, 2015-03-15, as is the anchor and the line it is on. I hope you like the results on [[ProtocolReferencePage]].

Seems editing this page is not peeing in the pool, so I try to ask here because I did't find the right place to ask questions:

Is there a repository/collection/library of [[Lua]] scripts beyond [[Lua/Examples]] to learn from ? Specifically, it seems os.clock() has only timer tick resolution (15 ms on windows and 10 ms on linux), but I need sub-millisecond precision.

Background: I'm willing to write a Lua script to accumulate the timestamps of tens of thousands of sniffed packets and to account wall clock time to my client application once a packet is received on the client pc and to account wall clock time to the network or the other end of the socket (the server) once a packet is sent and do it vice versa on the server pc to get an exact measure of client, network and server times for a performance analysis, but don't know where to start from.

Perhaps someone can point me to the right place to search or to the right method to use ? Thanks, Juergen.

It's not peeing in the pool, but it's also not the best place to ask, as not everybody will see it, and, if somebody sees it and replies, you won't necessarily get notified of it.

The End<<Anchor(TheEnd)>>(well, not quite ;-) ) (cue the song from Apocalypse Now)

You could ask that question on, for example, http://ask.wireshark.org/ or on [[http://www.wireshark.org/lists/|the wireshark-dev mailing list]], but as it's really a Lua question, it might be better to ask on [[http://www.lua.org/lua-l.html|the lua-l mailing list]] or on http://stackoverflow.com (I don't know of any Lua-specific Q&A site).

However, [[http://www.lua.org/manual/5.1/manual.html#pdf-os.clock|the Lua 5.1 manual item on os.clock()]] seems to indicate that it's not what you want - it says it "returns an approximation of the amount in seconds of CPU time used by the program", but it sounds as if you want ''real'' time, not ''CPU'' time. I don't know whether [[http://www.lua.org/manual/5.1/manual.html#pdf-os.time|os.time()]] returns a value with a fractional part, or what the resolution is, but, if the OS call atop which os.time() is implemented - probably [[http://pubs.opengroup.org/onlinepubs/009604599/functions/gettimeofday.html|gettimeofday]]() or something such as that on most if not all UN*Xes - returns a higher-precision time value, that might give you what you want.

This is just a simple text edit, as practice. Thanks.

Definition of wiki -a server program that allows the users to collaborate in forming the content of a Web site. Term comes from the Hawaiian term "wikiwiki" which means "fast." Definition of blog -a website, similar to an online journal, that includes chronological entries made by individuals. Term define from both "web" and "log." Mostly focuses on a specific subject and provide users with forums to talk about each postings. Blogs are used such like a diary. (Earl Rudinas)


/!\ Edit conflict - other version:


Wiki - a website that allows collaborative editing of its content and structure by its users. Blog - a regularly updated website or web page, typically one run by an individual or small group, that is written in an informal or conversational style. - Ryan Galon


/!\ Edit conflict - other version:


Wiki - a website that allows collaborative editing of its content and structure by its users Blog - a regularly updated website or web page, typically one run by an individual or small group, that is written in an informal or conversational style.

Lovella June D. Gonzaga


/!\ Edit conflict - your version:



/!\ End of edit conflict



/!\ Edit conflict - your version:



/!\ End of edit conflict


Created an account for this wiki sandbox Practice...

Done with main edit, want to do links within ProtocolReferencePage, so I'll link to the end of WikiSandBox#TheEnd The End

The above is disposable practice after Today, Saturday, 2015-03-15, as is the anchor and the line it is on. I hope you like the results on ProtocolReferencePage.

Seems editing this page is not peeing in the pool, so I try to ask here because I did't find the right place to ask questions:

Is there a repository/collection/library of Lua scripts beyond Lua/Examples to learn from ? Specifically, it seems os.clock() has only timer tick resolution (15 ms on windows and 10 ms on linux), but I need sub-millisecond precision.

Background: I'm willing to write a Lua script to accumulate the timestamps of tens of thousands of sniffed packets and to account wall clock time to my client application once a packet is received on the client pc and to account wall clock time to the network or the other end of the socket (the server) once a packet is sent and do it vice versa on the server pc to get an exact measure of client, network and server times for a performance analysis, but don't know where to start from.

Perhaps someone can point me to the right place to search or to the right method to use ? Thanks, Juergen.

It's not peeing in the pool, but it's also not the best place to ask, as not everybody will see it, and, if somebody sees it and replies, you won't necessarily get notified of it.

The End(well, not quite ;-) ) (cue the song from Apocalypse Now)

You could ask that question on, for example, http://ask.wireshark.org/ or on the wireshark-dev mailing list, but as it's really a Lua question, it might be better to ask on the lua-l mailing list or on http://stackoverflow.com (I don't know of any Lua-specific Q&A site).

However, the Lua 5.1 manual item on os.clock() seems to indicate that it's not what you want - it says it "returns an approximation of the amount in seconds of CPU time used by the program", but it sounds as if you want real time, not CPU time. I don't know whether os.time() returns a value with a fractional part, or what the resolution is, but, if the OS call atop which os.time() is implemented - probably gettimeofday() or something such as that on most if not all UN*Xes - returns a higher-precision time value, that might give you what you want.

This is just a simple text edit, as practice. Thanks.

WikiSandBox (last edited 2020-08-14 16:23:22 by 2601:200:c001:d44:81f6:197c:58b:2580)