Solved

Service monitor

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
nagios monitor 3 54
Rate limit for DNS queries 7 75
Backup Raspberri Pi over the netowrk to a Windows Share 5 42
linux 13 49
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

770 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