LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to get system call names of a currently running process? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-get-system-call-names-of-a-currently-running-process-4175494802/)

geeja 02-13-2014 11:56 AM

How to get system call names of a currently running process?
 
hi,
is there any way i can get just the system call names of a currently running process .i dnt want its arguments and return values.

TB0ne 02-13-2014 02:01 PM

Quote:

Originally Posted by geeja (Post 5117052)
hi,
is there any way i can get just the system call names of a currently running process .i dnt want its arguments and return values.

Have you tried reading the man page on the "ps" command? There are examples/options in it that tell you how to output things exactly as you want them.

geeja 02-18-2014 03:19 AM

Quote:

Originally Posted by TB0ne (Post 5117100)
Have you tried reading the man page on the "ps" command? There are examples/options in it that tell you how to output things exactly as you want them.

thanks.i am new to linux.the ps command is just displaying only the processes in the system.i need to extract the ssytem call associated with the processes running.do u know any wat by which we can do it.i know we have to write to extract them.do u know how to do it.

TB0ne 02-18-2014 08:55 AM

Quote:

Originally Posted by geeja (Post 5119858)
thanks.i am new to linux.the ps command is just displaying only the processes in the system.i need to extract the ssytem call associated with the processes running.do u know any wat by which we can do it.i know we have to write to extract them.do u know how to do it.

Spell out your words, please...text-speak isn't pleasant for anyone. Again, you need to read the man page on the ps command, and you may also want to read the man page on the strace command as well.


All times are GMT -5. The time now is 10:13 AM.