07-29-2009
Quote:
Originally Posted by
Corona688
No, really. It already does. And most distributions even include a fancy graphical interface for managing services too.
On my system, starting sshd is as simple as /etc/init.d/sshd start. And apache is /etc/init.d/apache2 start. and dnsmasq is /etc/init.d/dnsmasq start. want to stop them? try /etc/init.d/apache2 stop. want to restart? /etc/init.d/apache2 restart. Want to reboot a bunch of them? for S in apache2 dnsmqsq sshd ; do /etc/init.d/$S restart ; done This may not seem easy to you, but is much easier than handwriting millions of tiny custom scripts for every machine in the world.
lol, yeah, I kinda knew some of that, but thanks anyways
. The thing is my teacher wants a script for it, I guess I'll just gather around some more scripts, fusion them and post it since no one got nothing similar to guide me. See you on 96 hours (deadline).
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i have activated mysql, and apache on my redhat 9 box, i went to mr BASH and wrote a php script, and it wouldn't execute.
any help?????????????????????????????????????
is there something that i need to activate???????
i have RUBY on there too,does it matter or no???
... (2 Replies)
Discussion started by: mbabeli
2 Replies
2. Shell Programming and Scripting
Hi all,
i am using below command to find the running datases, bases this command i need a (shell/korn)script for which databases are running and which databases are not running in one file. i need out put below format.
Kindly help to me. its very critical issue for me. i dont have script... (3 Replies)
Discussion started by: krishna176
3 Replies
3. Solaris
I've successfully installed syslog-ng and chkconfig using the packages from the OpenCSW project, these packages install under /opt/csw. I now need to disable the default syslog daemon and enable the new service created by the OpenCSW package (/etc/init.d/cswsyslog_ng).
Is there any good way to... (3 Replies)
Discussion started by: aussieos
3 Replies
4. AIX
Guy's
What the exact steps to mention for example this script /usr/start/start.sh
to be as start up script , I want it to be automatically started when I reboot the server . (8 Replies)
Discussion started by: ITHelper
8 Replies
5. UNIX for Dummies Questions & Answers
hi,
what is the command for checking the particular services and how can we find whether that service is up or down. Consider http service. how to check whether its up or down
Edit: Question continued here. (0 Replies)
Discussion started by: satheeshkr_cse
0 Replies
6. Shell Programming and Scripting
Hi,
I have written a function which will blink a text "Scanning...". Now in the main script when I am doing the scan in the server I want to call this function so that user will see a blinking text on the screen and at the same time script will proceed will the scan function. Once scan is... (2 Replies)
Discussion started by: suhasingale
2 Replies
7. Red Hat
I am not too familiar with linux, so please keep that in mind while reading this post. We have a few linux servers joined to the domain, and linux services for windows running. I have a user that can connect to one linux server, but not another.
I ran the cat /etc/passwrd and noticed the user... (0 Replies)
Discussion started by: dcatcha
0 Replies
8. Red Hat
I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed.
I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed.
Please revert with... (10 Replies)
Discussion started by: RHCE
10 Replies
9. Shell Programming and Scripting
Hi,
I just started working on a script. After my research, i found a command which can help me:
AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2.
So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies
LEARN ABOUT DEBIAN
chart::clicker::renderer::line
Chart::Clicker::Renderer::Line(3pm) User Contributed Perl Documentation Chart::Clicker::Renderer::Line(3pm)
NAME
Chart::Clicker::Renderer::Line - Line renderer
VERSION
version 2.83
SYNOPSIS
my $lr = Chart::Clicker::Renderer::Line->new(
brush => Graphics::Primitive::Brush->new({
#...
})
);
DESCRIPTION
Chart::Clicker::Renderer::Line renders a dataset as lines.
ATTRIBUTES
additive
If true, the lines are drawn "stacked", each key accumulates based on those drawn below it.
brush
Set/Get a brush to be used for the lines.
shape
Set a shape object to draw at each of the data points. Adding a shape results in:
shape_brush
Set/Get the brush to be used on the shapes at each point. If no shape_brush is provided, then the shapes will be filled. The brush allows
you to draw a "halo" around each shape. This sometimes help to separate the points from the lines and make them more distinct.
METHODS
draw_point
Called for each point encountered on the line.
AUTHOR
Cory G Watson <gphat@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-22 Chart::Clicker::Renderer::Line(3pm)