[9fans] latency & jitter resistant stats

2009-11-19 Thread erik quanstrom
i was having some trouble with stats reporting higher ethernet throughput when my connection to the cpu server was getting busy. here's a little experiment that works around the problem by reducing the sleep time by the time it takes to make the samples. as a secondary connection, if the sampling

Re: [9fans] instructions to use .eps in troff wanted

2009-11-19 Thread Anthony Sorace
For my company, I generate contracts using troff on Plan 9. The contracts all contain my digital signature - that is, a postscript image of my signature - like so: .BP /usr/a/Pictures/sigs/signature.ps .5 "" "" "" l I generate postscript for these documents like so: troff -mm -mpictures foo.mm |

Re: [9fans] instructions to use .eps in troff wanted

2009-11-19 Thread Jonas Amoson
The documents in /sys/doc does not contain many EPS pictures, but you can look at /sys/doc/8½/8½.ms Here is an example of what I used in my submission to IWP9'09 (I am using the ms macros): .KF .sp .BP figures/lyxlinux.eps 4.0 .EP .DS C Figure 1: Screenshot of LyX running under Linux. .DE .sp .KE

Re: [9fans] Q: awk omit cols

2009-11-19 Thread Peter A. Cejchan
> awk '{$1="";print}' > should do what you want, provided that you don't care about leading spaces. really, it works, I have still much to learn, thank you, Peter, aka ++pac

Re: [9fans] Q: awk omit cols

2009-11-19 Thread hugo rivera
I think awk '{$1="";print}' should do what you want, provided that you don't care about leading spaces. 2009/11/19 Peter A. Cejchan : > On Thu, Nov 19, 2009 at 9:52 AM, Russ Cox wrote: >> awk '{print substr($0, 1+length($1)+1)}' >> > > Big thank you, Russ, however, wouldn't it be smarter if we ha

Re: [9fans] Q: awk omit cols

2009-11-19 Thread Peter A. Cejchan
On Thu, Nov 19, 2009 at 9:52 AM, Russ Cox wrote: > awk '{print substr($0, 1+length($1)+1)}' > Big thank you, Russ, however, wouldn't it be smarter if we had some kind of 'not' operator here...? Sometimes, especially when you write the script by hand it is easier to delete few fields than to expli

Re: [9fans] instructions to use .eps in troff wanted

2009-11-19 Thread Richard Miller
> is there any good place where I could read how to embed some pictures into a > troff document? mpictures(6)

[9fans] instructions to use .eps in troff wanted

2009-11-19 Thread Rudolf Sykora
Hello, is there any good place where I could read how to embed some pictures into a troff document? Preferably a way that works in plan9, too... I can't find much about it anywhere. What do you use? Thanks Ruda

Re: [9fans] Q: awk omit cols

2009-11-19 Thread Russ Cox
awk '{print substr($0, 1+length($1)+1)}'

[9fans] Q: awk omit cols

2009-11-19 Thread Peter A. Cejchan
Hi, is there any way to print out, e.g. , $2 $3 $4 $LAST, i.e., just omitting $1 ? I was advised to use 'cut' , but, according to plan9 wiki I should use 'awk' for 'cut'... Thanks, ++pac. = Petr A. Cejchan http://home.gli.cas.cz/cej/www/ http://www.facebook.com/