Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

stapvars(3stap) [v7 man page]

STAPVARS(3stap) 														   STAPVARS(3stap)

NAME
stapvars - systemtap variables DESCRIPTION
The following sections enumerate the public variables provided by standard tapsets installed, (the installation path is show in the stap- paths(7) manual page). Each variable is described with a type, and its behavior/restrictions. The syntax is the same as printed with the stap option -p2. Examples: example1:long Variable "example1" contains an integer. example2:string [long] Variable "example2" is an array of strings, indexed by integers. ARGV argc:long Contains the value of the $# value: the number of command line arguments passed to the systemtap script. It is initialized with an implicit begin(-1) probe. argv:string [long] Contains each command line argument as a string. argv[1] will equal @1 if there was at least one command line argument. Arguments beyond #32 are not transcribed, and produce a warning message within the begin(-1) probe that initializes this array. NULL NULL:long Simply defined as the number 0. FILES
More files and their corresponding paths can be found in the stappaths(7) manual page. SEE ALSO
stap(1) stappaths(7) STAPVARS(3stap)

Check Out this Related Man Page

STAPVARS(3stap) 														   STAPVARS(3stap)

NAME
stapvars - systemtap variables DESCRIPTION
The following sections enumerate the public variables provided by standard tapsets installed, (the installation path is show in the stap- paths(7) manual page). Each variable is described with a type, and its behavior/restrictions. The syntax is the same as printed with the stap option -p2. Examples: example1:long Variable "example1" contains an integer. example2:string [long] Variable "example2" is an array of strings, indexed by integers. ARGV argc:long Contains the value of the $# value: the number of command line arguments passed to the systemtap script. It is initialized with an implicit begin(-1) probe. argv:string [long] Contains each command line argument as a string. argv[1] will equal @1 if there was at least one command line argument. Arguments beyond #32 are not transcribed, and produce a warning message within the begin(-1) probe that initializes this array. NULL NULL:long Simply defined as the number 0. FILES
More files and their corresponding paths can be found in the stappaths(7) manual page. SEE ALSO
stap(1) stappaths(7) STAPVARS(3stap)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Arguments too long????

I'm trying to tranfer files via ftp form UNIX to Linux and vice versa. When I tried mget command I received this message: "arguments too long". What should I do to transfer multiple files?????? (2 Replies)
Discussion started by: rrivas
2 Replies

2. UNIX for Dummies Questions & Answers

Redirect from Variable to command line??

The following creates a needed awk command from some preexisting variables and stores it in the variable i. I then redirect it to a new file change the permission on the file and run it as a script. How can I do a simple redirect on this variable to the command line, instead of creating a new... (8 Replies)
Discussion started by: ugh
8 Replies

3. UNIX for Dummies Questions & Answers

How to Read a config file and Assign to Variable

I have removeConfig file, it contains the dir paths for removing. I need to read line by line and assign to variable. any idea? (1 Reply)
Discussion started by: redlotus72
1 Replies

4. UNIX for Dummies Questions & Answers

appending variable number of files

In a particular path of a server I have number of files.The files are generated every date with a date_mth stap on this.There are different files for different clients. For example in /data1 path i have X_0416_Score Y_0416_Score Z_0417_Score X_0417_Score A_0417_Score If i will run the... (1 Reply)
Discussion started by: dr46014
1 Replies

5. Shell Programming and Scripting

Get line number

Hi, How do i get line number of a variable which contains entire line and then capture all lines till EOF ? For eg . Variable vr will contain the string "this is a string" I need to get line number of this line in the file and then starting from this number till EOF I want to... (9 Replies)
Discussion started by: misenkiser
9 Replies

6. Shell Programming and Scripting

Remove lines based on contents of another file

So, this issue is driving me nuts! I was hoping to get a lending hand here... I have 2 files: file1.txt contains: this is example1 this is example2 this is example3 this is example4 this is example5 file2.txt contains: example3 example5 Basically, I need a script or command to... (4 Replies)
Discussion started by: bashshadow1979
4 Replies