Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


To Check Which Service is Running at Present in System what
is the Command?

Answers were Sorted based on User's Feedback



To Check Which Service is Running at Present in System what is the Command?..

Answer / waleed badr

service --status-all
ps -ef ---> is used to check what processes are running at
present in the system

Is This Answer Correct ?    29 Yes 3 No

To Check Which Service is Running at Present in System what is the Command?..

Answer / chandbashashaik

$ ps will let you know wat is the process running at present

Is This Answer Correct ?    27 Yes 6 No

To Check Which Service is Running at Present in System what is the Command?..

Answer / mcmarc

chkconfig --list

Is This Answer Correct ?    15 Yes 2 No

To Check Which Service is Running at Present in System what is the Command?..

Answer / peroz

ps -aux

Is This Answer Correct ?    4 Yes 2 No

To Check Which Service is Running at Present in System what is the Command?..

Answer / dave_chamoli82

ps is used to view the process not the service. To view the
current service running at present in system is
# service --status-all

Is This Answer Correct ?    3 Yes 1 No

To Check Which Service is Running at Present in System what is the Command?..

Answer / jayakumar .b

# service --status-all

# chkconfig --list

Is This Answer Correct ?    2 Yes 0 No

To Check Which Service is Running at Present in System what is the Command?..

Answer / anand

$top

Is This Answer Correct ?    4 Yes 3 No

To Check Which Service is Running at Present in System what is the Command?..

Answer / shanu

# service --status-all | grep -i "running"
crond (pid  3974) is running...
cupsd (pid  3895) is running...
gpm (pid  3965) is running...
hald (pid 3767) is running...
hidd (pid 3815) is running...
hpiod (pid 3864) is running...
hpssd (pid 3869) is running...

or else

to check if what services are set to run(or on) by default(at system boot)

use the below.
1.check the current run level using
# runlevel
N 5
2.check the list of services set to run at boot time
using
# chkconfig --list > /tmp/service.log

//the output will look like this
yum-updatesd    0:off   1:off   2:on    3:on    4:on    5:on    6:off

3.check the same using awk command according to your current run level
awk  '{if ($5 == "3:on") print $1}' /tmp/service.log

Thanks :)

Is This Answer Correct ?    1 Yes 0 No

To Check Which Service is Running at Present in System what is the Command?..

Answer / rawoof

hello am rawoof now am learning linux redhat 5 versions .i
have some important interviews questons on linux with
answers plz help me aand plz send it my
id:rawoof_md85@yahoo.co.in

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Linux Commands Interview Questions

Hi guys, I am working in MNC from 1 and half year as Software Engg but not in programming, its in Information Security. Now I am doing RHEL 5(Red Hat certification) to move into Linux Admin. Can anyone please give me the future scope of this field and please send me the interview questions or links to get the idea. Thanks, Sushant.

2 Answers  


how to call recursive grep function?

2 Answers  


Is llvm a virtual machine?

0 Answers  


How do I run a command in linux?

0 Answers  


What does grep grep do?

0 Answers  


What does touch do in linux?

0 Answers  


How can we increase disk read performance in single command?

0 Answers  


Which command will show you free/used memory? Does free memory exist on linux?

0 Answers  


What is the programming language for linux?

0 Answers  


How do I run a script in linux?

0 Answers  


Send me some of the commands being used in linux

5 Answers   Aurobindo, Dr Reddys, IBM, Reddy Labs,


Why ms dos is used?

0 Answers  


Categories