![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SuSE SUSE Linux is a major operating system. The developer rights are owned by Novell, Inc. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Solaris 8 how do I enable and disable services? (equivalent of chkconfig on Linux) | aussieos | SUN Solaris | 3 | 06-12-2009 09:24 AM |
| how to disable keys in script | draco | Shell Programming and Scripting | 5 | 09-11-2008 04:37 PM |
| Running services, how to disable some? | empty | UNIX for Dummies Questions & Answers | 2 | 03-19-2008 07:33 PM |
| Disable/Enable HP print services SCO OS 5 | sighbrrguy | UNIX for Advanced & Expert Users | 4 | 01-09-2008 12:33 PM |
| how to disable services | csaunders | AIX | 4 | 05-29-2004 11:50 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Script to disable services
Hi All,
I want to disable bunch of unused services on SLES and RHEL to improve the performance. Since we have more than 100 servers to disable services, I want to do with some script. Any one can give me an idea how to write a script to disable services. Thanks |
|
||||
|
Quote:
then just use a loop for i in `cat /tmp/service-disable` do chkconfig --levels 3 5 $i off done |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|