Displaying 20 results from an estimated 9000 matches similar to: "tracemem again"
2006 Jun 29
2
tracemem() not exactly what I had in mind
I was trying to use tracemem to look at mblk contents. First, I tried to use
mblk->b_wptr - mblk->b_rptr as the size, and was told that it had to be a
constant. Foo. (RFE #1).
Then, I tried to use 8 as the size, and kept getting decimal numbers printed.
Stumbled on #pragma D option rawbytes=true (is the =true necessary, btw?) and
that didn''t help.
Then, in desperation, I
2006 Jul 31
5
use tracemem to dump content in function read/write
Hi Expert
I want to use dtrace to monitor the content change of one file. I made following scripts,
#!/usr/sbin/dtrace -s
inline int MYPID = $1;
syscall::write:entry
/pid == MYPID/
{
tracemem(arg1, arg2);
printf("\n");
}
It always has an following error
bash-3.00$ sudo dumpFIFO.dtrace 3836
dtrace: failed to compile script ./dumpFIFO.dtrace: line 19: tracemem( ) argument #2
2012 Jul 12
2
Understanding tracemem
Hi all,
I've been trying to get a better handle on what manipulations lead R
to duplicate a vector, creating small experiments and using tracemem
to observe what happens (all in 2.15.1). That's lead me to a few
questions, illustrated using the snippet below.
x <- 1:10
tracemem(x)
# [1] "<0x1058f8238>"
x[5] <- 5
# tracemem[0x1058f8238 -> 0x105994ab0]:
x[11] <-
2008 Feb 26
11
Is there way to trace memory in the dtrace ?
N_conreq:entry {
self->x=1;
calledaddr=(struct xaddrf *)arg3;
callingaddr=(struct xaddrf *)arg4;
trace(calledaddr->link_id);
tracemem(calledaddr->DTE_MAC.lsap_add, 80);
trace(callingaddr->link_id);
tracemem(callingaddr->DTE_MAC.lsap_add, 80);
}
0 -> N_conreq 255
2010 Nov 19
1
HaoFang client (like Garena) crashes in WSAIoctl
HaoFang client (China's largest platform for online play)
HomePage: http://www.cga.com.cn
Download(ZIP Version 5.5.0) : http://pv.cga.com.cn/counter.asp?id=952
Installation&Start:
> WINEPREFIX=~/.wine-hf winetricks ie6 flash dotnet20 msxml6 vcrun6 riched20 riched30 gdiplus wenquanyi
>
> cd .wine/drive_c/Program\ Files/platform\ 5.0/
>
> WINEPREFIX=~/.wine-hf/
2009 Apr 21
0
Unable to browse Samba share by hostname from certain clients...
Dear Help,
I am having a very odd problem. For some reason, I am able to browse to my
Samba share by IP address but not by host name from Windows 2008 servers in a
particular domain (the same domain the Samba server belongs to). However, I am
able to browse by host name from XP clients as well as Windows 2008 servers in a
different domain.
Even stranger, if I add an alias (using the netbios
2006 Apr 07
1
smbcacls cannot locate the object of a samba share
Hello
smbcacls is not able to locate the object of a share.
I've attached a copy of the smb.conf file and the debug output of the
smbcacls command.
Within XP/NT I'm able to get and set the acls with no problem.
Thanks
Regards,
Komal
[global]
workgroup = test
server string = Samba Server
interfaces = eth0, lo
bind interfaces only = Yes
passdb backend =
2008 Apr 07
0
Some memory questions: data.frame and lists.
Hi there,
I seek your expert opinion on the following memory related questions. The
output below was gotten from R-2.6.2, compiled with
--enable-memory-profiling on Ubuntu Linux.
=======================================================================
>>> Code and output 1:
> gc( )
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 131180 7.1 350000 18.7 350000 18.7
2016 Apr 05
1
Assignment operator and deep copy for calling C functions
Hi All,
i have a problem in understanding what the assignment operator '<-' really is doing.
If i create two numeric arrays in R and copy one into the other with '<-' and
afterwards change one array by calling a C function, both arrays are changed!
The problem I am facing can easily be seen in the following example:
(The following R code and the C function is attached and
2010 Nov 23
1
Possibility for memory improvement: x <- as.vector(x) always(?) duplicates
Hi,
I've noticed that as.vector() always allocates a new object, e.g.
> x <- 1:10;
> x <- as.vector(x);
> tracemem(x);
[1] "<0x0000000005622db8"
> x <- as.vector(x);
tracemem[0x0000000005622db8 -> 0x0000000005622ec0]: as.vector
> x <- as.vector(x);
tracemem[0x0000000005622ec0 -> 0x0000000005622f18]: as.vector
> x <- as.vector(x);
2010 Jun 18
0
New course schedule and new locations
Hi all,
Mango have released their updated training schedule which includes new courses and new locations. Hadley Wickham will also be coming to London to teach Data Visualisation in R. Please see details below:
Public Courses
Our public courses include introductory to advanced training in general data analysis through to industry specific data analysis. Attendees of our public courses receive
2005 May 23
1
OH323 CONTROL PROTOCOL ERROR
>Please I have combed the Archive to no avail on this problem protocol
>control problem in oh323.
>I'm receiving calls from CISCO AS5300 -> Asterisk -> Zap Channel. The
>calls clears the remote location but drops on my own end. Please what
>could be
>wrong. I have included the oh323.conf and log files. I have tried
>various configuration and I thought I should
2014 Jun 17
0
PATCH: Avoiding extra copies (NAMED bumped) with source(..., print.eval=FALSE) ...and with print.eval=TRUE?
OBJECTIVE:
To update source(..., print.eval=FALSE) to not use withVisible()
unless really needed. This avoids unnecessary increases of reference
counts/NAMED introduced by withVisible(), which in turn avoids
unnecessary memory allocations and garbage collection overhead. This
has an impact on all source():ed scripts, e.g. pre-allocation of large
matrices to save memory does *not always* help in
2017 Nov 24
1
SSL configuration
Hello subscribers,
I have a very strange question regarding SSL setup on gluster storage.
I have create a common CA and sign certificate for my gluster nodes, placed host certificate, key and common CA certificate into /etc/ssl/,
create a file called secure-access into /var/lib/glusterd/
Then, I start glusterd on all nodes, system work fine, I see with peer status all of my nodes.
No problem.
2013 Dec 12
1
Need help in addressing this error - ERROR OpenSSL::SSL::SSLError: SSL_accept returned=1 errno=0 state=SSLv3 read client certificate A: tlsv1 alert unknown ca
Hi ,
I am new to this puppet. I am implementing a network where my cisco switch
will contact the puppet server for getting the configuration.
I tried installing open source puppet and was successful in pushing down
the configurations.
I wanted then to try the same exercise with puppet enterprise 3.1. I
installed puppet enterprise in a different server and changed my puppet
agent (switch) to
1998 Aug 01
0
smbpasswd and nmbd don't call my password program
I have samba-1.9.18p7-2
smb.conf says:
# Configure smbpasswd
passwd chat debug = yes
# Default
passwd chat = *old*password* %o\n *new*password* %n\n *new*password* %n\n
*changed*
passwd program = /usr/bin/yppasswd
Using smbpasswd, my encrypted password is changed, but yppasswd is not even
touched (as per ls -lu /usr/bin/yppasswd).
Furthermore, running smbd with -d 100 didn't seem to show
2016 Aug 05
2
Extra copies of objects in environments when using $ operator?
My understanding is that R will not make copies of lists if there is
only one reference to the object. However, I've encountered a case
where R does make copies, even though (I think) there should be only
one reference to the object. I hope that someone could shed some light
on why this is happening.
I'll start with a simple example. Below, x is a list with one element,
and changing that
2016 Aug 05
0
Extra copies of objects in environments when using $ operator?
On Fri, 5 Aug 2016, Winston Chang wrote:
> My understanding is that R will not make copies of lists if there is
> only one reference to the object. However, I've encountered a case
> where R does make copies, even though (I think) there should be only
> one reference to the object. I hope that someone could shed some light
> on why this is happening.
>
> I'll start
2012 Jan 17
1
names<- appears to copy 3 times?
Hi,
$ R --vanilla
R version 2.14.1 (2011-12-22)
Platform: i686-pc-linux-gnu (32-bit)
> DF = data.frame(a=1:3,b=4:6)
> DF
a b
1 1 4
2 2 5
3 3 6
> tracemem(DF)
[1] "<0x8898098>"
> names(DF)[2]="B"
tracemem[0x8898098 -> 0x8763e18]:
tracemem[0x8763e18 -> 0x8766be8]:
tracemem[0x8766be8 -> 0x8766b68]:
> DF
a B
1 1 4
2 2 5
3 3 6
>
Are those 3
2003 Dec 01
0
No subject
# testparm smb.conf
Load smb config files from smb.conf
Processing section "[documentation]"
doing parameter comment = Engineering Documentation
doing parameter path = /opt/eng-docs
doing parameter writeable = Yes
doing parameter guest ok = Yes
pm_process() returned Yes
lp_servicenumber: couldn't find homes
Loaded services file OK.
WARNING: You have some share names that are longer