LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-01-2004, 01:48 AM   #1
juanb
Member
 
Registered: May 2002
Posts: 401

Rep: Reputation: 30
view runinig services


Hi !

I use RH 9

I want to see which services are runing on the system and than stop some of tham ( like sendmail) so they're not start again what the system reboots.

how can I do that ?

THX
 
Old 07-01-2004, 02:45 AM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
If you're using X, then click the Red Hat logo to bring up the applications menu -> System Settings -> Server Settings -> Services.

It'll ask for the root password, then look through the list of services on the left. Anything checked is running. If you don't want it, select the service, click the button to stop it, uncheck the box next to the service (to prevent it from starting on the next boot), and then choose to File -> Save.
 
Old 07-01-2004, 04:00 AM   #3
darkRoom
Member
 
Registered: Mar 2004
Location: Valencia, espaņa
Distribution: Slack, Gentoo, Custom
Posts: 162

Rep: Reputation: 30
Or alternatively you can use the console

Code:
ps -aux
This way if its a long list of processes you can use the ever useful grep to find the ones your interested in.

Code:
ps -aux | grep [search criteria]
To stop them you just need to use the kill command followed by the PID (process ID), ie

Code:
kill 25
hope that helps
 
Old 05-17-2006, 12:36 PM   #4
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Rep: Reputation: 15
From console, How can i know which services would be started whenever system turn on.

I mean to see the list of auto started services from CLI like # system-configure-services show out in X mode.

Thank you.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I view running services? ctroyp Fedora 8 10-19-2005 01:45 PM
How to view running services? ctroyp Linux - Newbie 13 10-19-2005 12:14 PM
W2K cannot view samba share but can view NT FiveFlat Linux - Software 3 06-10-2005 02:54 PM
Quickly view a list of active services vharishankar Linux - General 19 04-02-2005 09:23 AM
Command to view all running services joevilton Linux From Scratch 2 08-14-2004 11:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:35 AM.

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