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)
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)
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)
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)
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)
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)