Solved

Service monitor

Posted on 2004-05-01
5
170 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 125 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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.

734 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