Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Service monitor

Posted on 2004-05-01
5
Medium Priority
?
174 Views
Last Modified: 2013-12-15
Redhat comes with a kind of service monitor where you start/stop services, and view which ones are running.  I am not running Redhat, but I was wondering if there was a program out there that did kind of the same thing that I could install on my server.
0
Comment
Question by:lwinkenb
  • 3
  • 2
5 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 10969071
What Linux are you using?
0
 
LVL 5

Author Comment

by:lwinkenb
ID: 10969413
It's linuxfromscratch
0
 
LVL 40

Expert Comment

by:jlevie
ID: 10971729
In that case you won't have a tool like RedHat's services manager. I don't know if Linuxfromscratch uses the SysV init script mechanism or not. If it does it may have 'chkconfig' which is a command line method of managing services.
0
 
LVL 5

Author Comment

by:lwinkenb
ID: 10972588
I installed chkconfig on the server.

It appears that chkconfig is just a tool for managing the symlinks in the /etc/rc.d/rcX.d/ directories.  For instance, if I run
chkconfig proftpd off
It will remove the 'start' symlinks in runlevels 3,4, and 5, and replace them with 'kill' symlinks.

chkconfig doesnt actually start or stop services, and it doesn't tell me which services are currently running (unless I'm missing something).
0
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
ID: 10973538
'chkconfig --list' will show you what services are enabled or disabled. You can always stop or start a specifiv service with '/etc/init.d/service-name stop|start'
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month10 days, 3 hours left to enroll

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question