Sponsored Content
Full Discussion: Full command line sun 5.10
Top Forums UNIX for Advanced & Expert Users Full command line sun 5.10 Post 302095675 by DukeNuke2 on Thursday 9th of November 2006 05:32:39 AM
Old 11-09-2006
for all dtrace scripts root permission is required.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

display full unix path as part of the command line

Hi all, Does anyone know how to ammend the .cshrc file in $HOME for your session to display the path as part of the command line? So that I dont need to keep on typing pwd to see where I am? thanks Ocelot (3 Replies)
Discussion started by: ocelot
3 Replies

2. AIX

Getting the process full command line

Hi, I am running java process that has a long command line. Is there a way to get the full command line? By running ps -ef has returns around 2000 chars By running ps eww returns around 2020 chars I am running on AIX 5.3 Thanks, Fredy (0 Replies)
Discussion started by: fredy
0 Replies

3. Solaris

file system full in Sun Solaris 9 sparc

I am trying to install the JDK 1.6 on Solaris9 Sparc machine but after downloaded .tar file from Sun website and when I am trying to untar that, I an getting the following error- zcat jdk-6u7-solaris-sparc.tar.Z | tar -xf - Sep 2 18:42:36 mgsun ufs: NOTICE: alloc: /: file system full ... (11 Replies)
Discussion started by: smartgupta
11 Replies

4. Shell Programming and Scripting

bash: read file line by line (lines have '\0') - not full line has read???

I am using the while-loop to read a file. The file has lines with null-terminated strings (words, actually.) What I have by that reading - just a first word up to '\0'! I need to have whole string up to 'new line' - (LF, 10#10, 16#A) What I am doing wrong? #make file 'grb' with... (6 Replies)
Discussion started by: alex_5161
6 Replies

5. HP-UX

pgrep doesn't perform full command line pattern matching

Hi! I need to get PID of some particular process and I wonder if I can use pgrep tool for this purpose. The problem is that pgrep doesn't perform pattern matching on the whole command line, even if I use -f key. Parsing output of ps command is not quite convenient... Also deamon, which PID I need... (2 Replies)
Discussion started by: Sapfeer
2 Replies

6. Shell Programming and Scripting

SSH full shell script in 1 line.

I'd like to ssh a piece of shell script code into a single ssh command. As you all know, you could ssh something like this: ssh user@host "ls -la" and receive the output of that command being run on that machine. So, let's say I scripted something on the fly via command line like this: ... (6 Replies)
Discussion started by: mrwatkin
6 Replies

7. Shell Programming and Scripting

Read full line from file

hello all I'm writing a bash script and I need to read data from a file line by line The number of words of each line is not known and I want to check if anywhere in the line exists the substring www..That substring is a string by itself or a substring of other strings.So what I tried so far... (4 Replies)
Discussion started by: vlm
4 Replies

8. Shell Programming and Scripting

grep grab 19 letters from now or a full line

Hi, I have a file like this >hg19_chr1_123_456_+ asndbansbdahsjdbfsjhfghjdsghjdghjdjhdghjjdkhfsdkjfhdsjkdkjghkjdhgfjkhjfkf hasjgdhjsgfhjdsgfdsgfjhdgjhdjhdhjdfhjdfjgfdfbdghjbfjksdhfjsfdghjgdhjgfdjhgd jhgdfj >hg19_chr1_123_456_-... (5 Replies)
Discussion started by: jacobs.smith
5 Replies

9. UNIX for Dummies Questions & Answers

Full Color Command Line Menus

Hi all, Did a couple of Google searchs, a couple of searchs on the site here and didn't find an answer... But, maybe I'm not searching for the right phrases. My question; what creates the full color menus on the command line in unix? I'm looking for something that would replicate the... (3 Replies)
Discussion started by: jtollefson
3 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)
All times are GMT -4. The time now is 08:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy