Displaying 8 results from an estimated 8 matches for "db_type".
Did you mean:
d_type
2007 Apr 04
2
aggregate printing with S10
Using the following dtrace command, I can see who''s calling what with lots of +/- numbers:
dtrace -n ''fbt:ip:ip_output:entry{@dbtypes[((mblk_t *)arg1)->b_datap->db_type,caller] = count();}''
...the output is what I want but not how I want to see it.
What I''d rather see is the function names associated with caller and for db_type to be output in hex.
Looking at the docs online for s10,
http://developers.sun.com/solaris/articles/dtrace_quickref/d...
2007 Jan 17
3
Asterisk 1.4 and CDR
...R", FSROOT."lib/");
define ("HOST", "localhost");
define ("PORT", "3306");
define ("USER", "asterisk");
define ("PASS", "strongpass");
define ("DBNAME", "asteriskcdrdb");
define ("DB_TYPE", "mysql"); // mysql or postgres
define ("DB_TABLENAME", "cdr");
When I compile asterisk-addons it pass very good, but I do not build the
file *cdr_addon_mysql.so*
Do you have similar problem ? Thanks for your response. Excuseme for my
english, it is not my...
2007 Jan 10
13
[DTrace] how to get socket read size
Hi
i''m trying to write my first dtrace script apparently i bit off a bit
more than i can chew, i want to track io over sockets, i found your
socketsize.d that gave me how to track writes, but i''m at a loss how
to track reads, frankly i don''t see how your write tracker works
because it uses a probe in a function that only takes two arguments
but you grab size of write
2005 Jul 15
0
Queue_log stats
...ault NULL,
# agent varchar(30) default NULL,
# action text,
# info1 text,
# info2 text,
# info3 text,
# timestamp int(11) NOT NULL default '0',
# id tinytext NOT NULL
#) TYPE=MyISAM;
use DBI;
use IO::File;
my $opt_debug = 0;
# if you want postgres change this to "Pg"
my $db_type = "mysql";
my $db_host = "127.0.0.1";
my $db_user_name = 'username';
my $db_password = 'password';
my $db_database = 'asteriskstat';
my $dbh = DBI->connect("DBI:$db_type:dbname=$db_database;host=
$db_host;", $db_user_name, $db_password);
o...
2007 Jan 10
2
[DTrace] using C preprocessor in dtrace scripts
...s is part of a larger script:
> -------------------------------------------------------
>
> #!/usr/sbin/dtrace -Cs
>
> #include <sys/stream.h>
>
> strrput:entry
> /
> args[0]->q_stream->sd_vnode == (struct vnode *)$1
> && args[1]->b_datap->db_type == M_DATA
> /
> {
> printf("strrput mp = %p\n", args[1]);
> printf("mp->b_rptr = %*.*s\n",
> args[1]->b_wptr-args[1]->b_rptr,
> args[1]->b_wptr-args[1]->b_rptr, stringof(args[1]->b_rptr));
> }
>
> -----------------------------------...
2006 Apr 04
2
WebMeetme defines.php?
I am looking at some directions on how to install and it is asking me to
edit defines.php, it states that the file should be located in the
source directory, but I can't seem to find it anywhere on my machine.
Anyone been thru this?
Jordan Novak
Communications Technician
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Oct 08
23
O2CB global heartbeat - hopefully final drop!
All,
This is hopefully the final drop of the patches for adding global heartbeat
to the o2cb stack.
The diff from the previous set is here:
http://oss.oracle.com/~smushran/global-hb-diff-2010-10-07
Implemented most of the suggestions provided by Joel and Wengang.
The most important one was to activate the feature only at the end,
Also, got mostly a clean run with checkpatch.pl.
Sunil
2010 Apr 28
2
Rails - associations help
Hi
I have two models .
Dbase
--------
name
vendor
type
port
defuser - default user name
Users
-------
username
password
email
I need to build an association between these two in that the dbase
model''s defuser needs to be present in the users table. I am from a
relational database background so am trying hard to understand rails
associations.
What should I do to associate the