02-03-2004
Perderabo,
thanks for the answer. i tried looking in /usr/include for user.h or something similar but it wasn't there. ne way i won't confuse myself at this stage for that. your answer was sufficient and i'll shut up now
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Ho do I differentiate system call from library call?
for example if I am using chmod , how do I find out if it is a system call or library call?
Thanks
Muru (2 Replies)
Discussion started by: muru
2 Replies
2. Programming
Hi ,
Can anybody name any System Function in C/C++ for Sun-Solaris (unix) platform which can serve the alternative of execl() system function.
Actually I am calling a fork-execl() pair and then making an interprocess communication between these two(parent-child process). But the problem is... (3 Replies)
Discussion started by: Raj Kumar Arora
3 Replies
3. UNIX for Advanced & Expert Users
I would like to call a particular function in a C program using execl(). Is this possible using execl or anyother function ?
Thanks (2 Replies)
Discussion started by: vpraveen84
2 Replies
4. Shell Programming and Scripting
Hi All,
I want to execute a piped command like 'ls /opt | grep xml' using array as parameters list. How can I do that? (2 Replies)
Discussion started by: bharadiaam
2 Replies
5. Shell Programming and Scripting
Hi,
How to write a system calls in a script ?
> cd $HOME
> ls -ltr
thanks in advance.. (10 Replies)
Discussion started by: hegdeshashi
10 Replies
6. Shell Programming and Scripting
I am new in Perl.
I am working in simple script and the varibles are working well outside the exec or system command.
but they don't work as parameters to exec or system command.
The script is attached.
please help. (8 Replies)
Discussion started by: ahmed_zaher
8 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have to run two commands one after another from a c program. How can i do this with exec system calls. i tried giving them as argument to execv but it is not working.please help
thanks (3 Replies)
Discussion started by: suryashikha
3 Replies
8. Programming
I have a cgi script which is called after certain time interval, which has this:
system ("ls -l /tmp/cgic* | grep -v \"cgicsave.env\" | awk '{print $5}'");
During the execution of this script,the output is 0 sometimes. But due to this the system call is not working at all and doesnt o/p... (2 Replies)
Discussion started by: xs2punit
2 Replies
9. Programming
hi everyone
i wrote a system call and compiled the kernel succesfully...
my system call is in a file in the kernel folder named my_syscall1.c (kernel/my_syscall1.c)
the header file for this system call i added it in the folder include like this include/my_syscall1/my_syscall1.h
my problem is... (2 Replies)
Discussion started by: demis87
2 Replies
10. Programming
Hi again ;) Now I want to make a program that will execute the programs with exec, asking the user if he wants the program to run in background or foreground.
scanf("%c",&caracter);
if (caracter=='y'){
printf("Has decidido ejecutarlo en background\n");
if((pid=fork())==0) {// fork para... (3 Replies)
Discussion started by: lamachejo
3 Replies
LEARN ABOUT DEBIAN
tapset::kprocess
TAPSET::KPROCESS(3stap) TAPSET::KPROCESS(3stap)
NAME
tapset::kprocess - systemtap kernel process probe points
DESCRIPTION
This family of probe points is used to probe the kernel's process activities. It contains the following probe points:
kprocess.create
Fires whenever a new process is successfully created, either as a result of one of the fork syscall variants, or a new kernel
thread.
Arguments:
task
a handle to the newly created process
new_pid
pid of the newly created process
kprocess.start
Fires immediately before a new process begins execution.
Arguments:
N/A
kprocess.exec
Fires whenever a process attempts to exec to a new program
Arguments:
filename
the path to the new executable
kprocess.exec_complete
Fires at the completion of an exec call
Arguments:
errno
the error number resulting from the exec
success
a boolean indicating whether the exec was successful
kprocess.exit
Fires when a process terminates. This will always be followed by a kprocess.release, though the latter may be delayed if the process
waits in a zombie state.
Arguments:
code
the exit code of the process
kprocess.release
Fires when a process is released from the kernel. This always follows a kprocess.exit, though it may be delayed somewhat if the
process waits in a zombie state.
Arguments:
task
a task handle to the process being released
pid
pid of the process being released
SEE ALSO
stap(1), stapprobes(3stap)
Intel, IBM TAPSET::KPROCESS(3stap)