LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-06-2016, 09:56 AM   #1
sudharshandatla
LQ Newbie
 
Registered: Sep 2015
Posts: 22

Rep: Reputation: Disabled
Linux Processes


Can anybody let me know " How to know what are the programs that are running on particular process "

One of the interview questions ?
 
Old 01-06-2016, 10:42 AM   #2
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Code:
man ps
 
Old 01-07-2016, 06:58 AM   #3
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Rep: Reputation: 73
Say what?!
 
Old 01-07-2016, 07:49 AM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
There are no "programs that are running on a particular process". A process is created by running an executable file, and you can see what file that is by looking at /proc/xxxx/exe, where xxxx is the process ID. See also the man page for proc.
 
1 members found this post helpful.
Old 01-07-2016, 08:00 AM   #5
oldtechaa
Member
 
Registered: May 2015
Location: US
Distribution: Fedora
Posts: 364

Rep: Reputation: 83
What exactly is your question? The program is ps, but if this is a job interview, you might want to read up some more on Linux commands and administration. Ps is a pretty basic command.

Last edited by oldtechaa; 01-07-2016 at 08:09 AM. Reason: Made it friendlier.
 
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
Processes in Linux aramakri Linux - Newbie 1 04-27-2009 04:51 AM
Linux Processes sunil_sutar Linux - General 1 11-21-2008 01:06 AM
Limitations of System Processes and Oracle Processes in RHEL AS3.0 sathyguy Linux - Enterprise 0 03-02-2007 11:52 PM
linux processes baisie General 5 03-09-2006 12:35 PM
monitoring active processes and identifying the required processes. gajaykrishnan Programming 2 08-13-2004 01:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:08 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