10-24-2008
Quote:
Originally Posted by
jlliagre
This is normally done by the application itself which has to support it, not externally although a dtrace script might do the trick.
how can dtrace do something like this?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all!
Does anyone know how to redirect i link to a host or alias name?
Here is the example:
i wank to type "Bob" in my browser and be redirected to
http://192.168.54.37:7001/Bob/BobMainServlet on that perticular port.
Im using Redhat 6.2 with bind 9.2.3
regards...
dOzY (4 Replies)
Discussion started by: dozy
4 Replies
2. IP Networking
Suppose you had a bunch of domains registered with names following the scheme, 11example.com 22example.com 33example.com etc. These domains are all for virutal webhosting, and will have the same web servers with the same IPs on all of them.
The question is, because they're 2nd level domains, is... (3 Replies)
Discussion started by: vertigo23
3 Replies
3. UNIX for Advanced & Expert Users
Hello,
we practise our server with operating system ReliantUNIX 5.45 and we are using Informix Dynamic Server 7.31.
I ascertained a lot of cpu interrupts per second (int/s). The count of int/s exceeds critical maximum value considerably.
Machine specific notes for Informix Dynamic Server... (1 Reply)
Discussion started by: urbale
1 Replies
4. UNIX for Dummies Questions & Answers
We can use "pbind" to bind a process to a specific processor. But it requires the id of the process to be binded, meaning we have to do the binding after starting that process.
So how can we bind a process to a specific processor while we start that process. Say we are working on a Sun's... (3 Replies)
Discussion started by: ubcedison
3 Replies
5. UNIX for Advanced & Expert Users
Hi all,
I've 2 Debian Etch (4) box used as ns1 and ns2 with BIND9. My domain name is something like this:
subdomain.domain.com
And I've 2 authorized DNS servers for the subdomain. I set this line in both of ns1 and ns2 (I.e. in ns1.subdomain.domain.com and ns2.subdomain.domain.com):
cw ... (1 Reply)
Discussion started by: mjdousti
1 Replies
6. Red Hat
Hello,
Our production linux server have multiple network interface.
Recently we installed and started NFS. Now the client server cannot mount to the server running NFS.
Later it was discovered that the port being used for NFS is only bound to one IP address, which is not the IP address I... (0 Replies)
Discussion started by: hemangjani
0 Replies
7. UNIX for Dummies Questions & Answers
I know how to manage DNS once it's installed. I can edit named.conf and create zone files. I can sign the zones, use TSIG, etc.
How do I take the BIND 9.9 tar ball from All Downloads | Internet Systems Consortium and install it and get it to work?
Maybe I am not getting it.
Can... (0 Replies)
Discussion started by: brianjb
0 Replies
8. UNIX for Dummies Questions & Answers
When you get the message can't bind to ip already in use.
is there a command to search to see everything that is using that IP?
I've already check the host and hostname files (2 Replies)
Discussion started by: mchelle_99
2 Replies
9. UNIX for Advanced & Expert Users
Hi All
I need to do bind of exiting filesystem to new storage allocated
mount --bind /prod/OpenCSS /var/lib/test
echo "/prod/OpenCSS /var/lib/pgsql bind bind 0 0" >> /etc/fstab
will this command just work ? (2 Replies)
Discussion started by: anil529
2 Replies
DTRACE(1) General Commands Manual DTRACE(1)
NAME
dtrace - Dtrace compatibile user application static probe generation tool.
SYNOPSIS
dtrace -s file [OPTIONS]
DESCRIPTION
The dtrace command converts probe descriptions defined in file.d into a probe header file via the -h option or a probe description file via
the -G option.
OPTIONS
-h generate a systemtap header file.
-G generate a systemtap probe definition object file.
-o file
is the name of the output file. If the -G option is given then the output file will be called file.o; if the -h option is given
then the output file will be called file.h.
-C run the cpp preprocessor on the input file when the -h option is given.
-I file
give this include path to cpp when the -C option is given.
-k keep temporary files, for example the C language source for the -G option.
--types
generate probe argument typedef information when the -h option is given.
EXAMPLES
Systemtap is source compatible with dtrace user application static probe support. Given a file test.d containing:
provider sdt_probes
{
probe test_0 (int type);
probe test_1 (struct astruct node);
};
struct astruct {int a; int b;};
Then the command "dtrace -s test.d -G" will create the probe definition file test.o and the command "dtrace -s test.d -h" will create the
probe header file test.h Subsequently the application can define probes using
#include "test.h"
...
struct astruct s;
...
SDT_PROBES_TEST_0(value);
...
SDT_PROBES_TEST_1(s);
The application is linked with "test.o" when it is built.
SEE ALSO
stap(1) stappaths(7)
DTRACE(1)