LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2014, 11:56 AM   #1
geeja
LQ Newbie
 
Registered: Feb 2014
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 02-13-2014, 02:01 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,757

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by geeja View Post
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.
 
1 members found this post helpful.
Old 02-18-2014, 03:19 AM   #3
geeja
LQ Newbie
 
Registered: Feb 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
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.

Last edited by geeja; 02-18-2014 at 03:31 AM. Reason: tried with ps
 
Old 02-18-2014, 08:55 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,757

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by geeja View Post
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.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
process of creating system call surabhi suppu Programming 5 04-14-2011 02:07 PM
[SOLVED] Script that names the process in the system that consumes the most memory josecolella Linux - Newbie 4 01-03-2011 07:23 AM
List of system call names for Solaris/OpenSolaris? Marty21 Solaris / OpenSolaris 6 04-24-2009 01:20 AM
How to a detect process is running in system call or not? nisarg Linux - Kernel 3 03-18-2009 06:19 PM
When does process swap happen in a system call? oldfogie Programming 3 05-03-2005 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration