similar to: Priotizing Bandwith but without Shaping the Bandwith

Displaying 20 results from an estimated 300 matches similar to: "Priotizing Bandwith but without Shaping the Bandwith"

2001 Jun 12
2
Marking returned MASQ'ed packets (ingress, TC, etc.)
Hi Folks, I''m using a 2.4.x kernel and TC from the iproute2 package so that I can limit traffic through my gateway. I''m using this to mark packets when they leave the LAN: /sbin/ipchains -A forward -j MASQ -i eth0 -s 192.168.1.0/24 -d 0.0.0.0/0 -m 1 When the packets return, I need to have them marked again so that the ingress filter will limit the bandwidth in the opposite
2001 Jun 19
3
RTNETLINK answers: Invalid argument
Hi all, I have installed 2.4.5 kernel, Debian Potato. my tc script: #!/bin/bash tc qdisc add dev eth1 root handle 20: cbq bandwidth 10Mbit avpkt 1000 echo root tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 10Mbit rate \ 10Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000 echo class tc class add dev eth1 parent 20:1 classid 20:100 cbq bandwidth 10Mbit rate \ 5Mbit allot
2012 Feb 08
4
"unsparse" a vector
Suppose I have a vector of strings: c("A1B2","A3C4","B5","C6A7B8") [1] "A1B2" "A3C4" "B5" "C6A7B8" where each string is a sequence of <column><value> pairs (fixed width, in this example both value and name are 1 character, in reality the column name is 6 chars and value is 2 digits). I need to
2007 Dec 06
3
Vertical text in a plot
Hi, Consider this simple plot: > plot(1:25,runif(25,0,1),ylab="First Y-axis label",xaxt="n") I want to add an additional axis as > axis(4,at=seq(0.2,1,.2), labels=1:5) I have no idea how to add now the title of the new axis as "Second Y-axis label". I want this text to be vertically directed from bottom to top. I can't find the function in text() to write
2008 Feb 03
3
Drawing a loess line
Dear all, To draw a lowess line on a plot was a piece of cake; to draw a loess line, however, seems not that easy. Is the loess plotting implemented at all in relation to the loess function, or do I have to look in add-on packages? Thanks, Marcin
2007 Oct 10
5
Local mirroring of the CentOS repos
I figured I try if I can mirror the base and updates repos locally. There's no tutorial for that, only one about creating your own repo of packages which is not the same. So, I just mirrored all the stuff with wget and changed the baseurl in the repo files and hoped that's enough. Works. So easy you don't need a tutorial. *But* I then realized that the updates directory contains
2008 Feb 15
2
Controling width of boxes in boxplots
Hi, I want to add boxplots to a scatterplot: plot(x,y, xlim=c(80,120),ylim=c(80,120)) boxplot(y,add=TRUE,at=118) boxplot(x,add=TRUE,at=118,horizontal=TRUE) How can I control the width of the boxes (say, I'd like them to be of width 3 in the variables' scales). I've tried the "width" parameter but failed. Thanks in advance, Marcin
2009 Jul 11
1
Belkin 800VA Universal AVR doesn't warn about battery
Hi, I'm currently using a Belkin UPS ( http://www.belkin.com/au/IWCatProductPage.process?Product_Id=137904) with nut, and my notify script doesn't receive a low battery warning. I receive ONBATT and ONLINE, but not any battery low message. I've run upsmon -D and I've seen it polls the ups.status property. The problem seems to be that this UPS doesn't put LB (I guess that
2008 Feb 22
2
Drawing several pictures on a plot
Hi, I want to draw several pictures on one plot and do as follows: xy<-matrix(rnorm(100,100,10),50) op <- par(mfrow = c(2, 2), pty = "s") plot(xy,ann=F);plot(xy,ann=F);plot(xy,ann=F);plot(xy,ann=F) par(op) What I need now is to set the size of the pictures within this plot since there is too much free space among the pictures, making the plot look not that pretty. How can I do
2007 Oct 02
1
Printing to jpeg (dev.print)
Hi, This may be an easy question, but let me ask it. When writing a plot to a jpeg file: > plot(runif(30)) > dev.print(file="test.jpeg", device=jpeg, width=600) the plot I receive has gray background, the result on no account I want to receive. The same situation occurs when printing to a bmp file. But when printing a pdf file, the background is white as it should be. What
2008 Apr 11
1
EM algorithm for multiple-locus haplotypes frequencies
Hi all, I've been looking in R for an EM algorithm adjusted for multiple-locus haplotypes frequencies, but failed in 100%. Has anyone heard of anything of this kind in R? Thanks in advance, Marcin
2008 Jun 02
1
Italics in plot main title
Hi, I am drawing several plots and want to have italics in a main title; this is easy with expression(). However, I want also to add a value to it, say n_i, that depends on an ith plot. For this I am using paste(). An example: n_i = 10, 20, 30; I want to draw a plot for each i with the title: "Relative efficiency for sample size n = n_i", where n should be in italics, and of course n_i
2008 Jun 14
1
Book on R graphics
Hi all, I am looking for a book from which one could learn a wide range of graphics in R, from the very beginning topics to those advanced (though not necessarily concerned with a particular method or topic). I don't look for a list of such books since this is on R's web page, I am rather interested in your opinion on these books - which you would recommend. The quality of writing and
2008 Jun 26
1
Point size problem
Hi all, I have a simple question and couldn't find any post on this. When plotting simple scatterplots (other plots as well), e.g., x<-rnorm(30, 10, 1) y<-rnorm(30, 10, 1) plot(x, y, pch = 15, cex = 1), the points, even those close to each other, may have visibly different sizes. Do you know what's going on with that? Thanks in advance, Marcin
2008 Sep 04
1
A ternary graph's scales
Hi all, I am drawing a ternary graph. Everything is fine with both ternaryplot (package vcd) and triangle.plot (package ade4), but I want to present scales in neither percents nor from 0 to 1 (this is actually the only option I found in both functions). I want the scales to be in a natural scale (from 0 to k, k being the number of objects). Is it at all possible? (Descriptions of both functions
2009 Jan 17
1
Dendrogram with the UPGMA method
Hi, I am clustering objects using the agnes() function and the UPGMA clustering method (function = "average"). Everything works well, but apparently something is wrong with the dendrogram. For example: x<-c(102,102.1,112.5,113,100.3,108.2,101.1,104,105.5,106.3) y<-c(110,111,110.2,112.1,119.5,122.1,102,112,112.5,115) xy<-cbind(x,y) library(cluster) UPGMA.orig<-agnes(x)
2010 Feb 25
1
Updating a hexbinplot
Dear all, Considering this simple example of hexbinplot: mixdata <- data.frame(x = c(rnorm(5000), rnorm(5000,4,1.5)), y = c(rnorm(5000), rnorm(5000,2,3)), a = gl(2, 5000)) fig <- hexbinplot(y ~ x | a, mixdata) print(fig) update(fig, colramp = BTC) produces a bad (non-updated) legend. Compare it with: hexbinplot(y ~ x | a, mixdata, colramp = BTC) What
2010 Dec 13
1
Plot's aspect ratio and pty
Dear All, I've been playing with pty, and it seems it does not produce square plots as it is expected to (or at least as I expect it to). Consider this simple example: par(pty="s"); plot(1:10, 1:10) This should produce a square plot, right? Well, if you have a look at the graph, it is not square! So, maybe the limits? par(pty="s"); plot(1:10, 1:10, xlim = c(0,11),
2012 Feb 12
2
dotplots with error bars
Does anyone have any recommendations for producing dotplots with error bars? Are there packages available for this? I searched far and wide and cannot find a suitable option. I am trying to produce publication-quality figures for my thesis results. Dotplots (Cleveland dotplots) are a much better form of summarizing barchart-type data. It does not appear that any of the main plotting packages in r
2012 Mar 22
1
Does libvirt check MCS labels during hot-add disk image ?
Libvirt doesn't care about security during hot add disk images. It even accepts addition of disk images of other guest running on the host. Steps followed to create this scenario : Started two VMs with following security configurations: vm1: <seclabel type='dynamic' model='selinux' relabel='yes'>