Solved

Service monitor

Posted on 2004-05-01
5
166 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 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now