Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i install linux debian but in first install linux debian i see too many service running i want to stop this service manual but i don't know how i do it
I usually just change the executable bit on the service I want to stop in /etc/init.d. you could also install something like rcconf and do it that way.
I usually just change the executable bit on the service I want to stop in /etc/init.d. you could also install something like rcconf and do it that way.
many thanks for reply i very nubie in linux
how can i found install rcconf and can u give me a way what i must do first
?...
NB:
perseption i see in windows i can stop and start application in Computermanagement ---> service in linux ?...
in my computer service like this :
Quote:
PID TTY STAT TIME COMMAND
1 ? Ss 0:03 init [2]
2 ? S 0:00 [migration/0]
3 ? SN 0:00 [ksoftirqd/0]
4 ? S 0:00 [migration/1]
5 ? SN 0:00 [ksoftirqd/1]
6 ? S 0:00 [migration/2]
7 ? SN 0:00 [ksoftirqd/2]
8 ? S 0:00 [migration/3]
9 ? SN 0:00 [ksoftirqd/3]
10 ? S 0:00 [migration/4]
11 ? SN 0:00 [ksoftirqd/4]
12 ? S 0:00 [migration/5]
13 ? SN 0:00 [ksoftirqd/5]
14 ? S 0:00 [migration/6]
15 ? SN 0:00 [ksoftirqd/6]
16 ? S 0:00 [migration/7]
17 ? SN 0:00 [ksoftirqd/7]
18 ? S< 0:17 [events/0]
19 ? S< 0:00 [events/1]
20 ? S< 0:00 [events/2]
21 ? S< 0:00 [events/3]
22 ? S< 0:00 [events/4]
23 ? S< 0:00 [events/5]
24 ? S< 0:00 [events/6]
25 ? S< 0:00 [events/7]
26 ? S< 0:00 [khelper]
27 ? S< 0:00 [kthread]
37 ? S< 0:00 [kblockd/0]
38 ? S< 0:00 [kblockd/1]
39 ? S< 0:00 [kblockd/2]
40 ? S< 0:00 [kblockd/3]
41 ? S< 0:00 [kblockd/4]
42 ? S< 0:00 [kblockd/5]
43 ? S< 0:00 [kblockd/6]
44 ? S< 0:00 [kblockd/7]
45 ? S< 0:00 [kacpid]
184 ? S< 0:00 [kseriod]
253 ? S 0:00 [pdflush]
254 ? S 0:00 [pdflush]
255 ? S< 0:00 [kswapd0]
256 ? S< 0:00 [aio/0]
257 ? S< 0:00 [aio/1]
258 ? S< 0:00 [aio/2]
259 ? S< 0:00 [aio/3]
260 ? S< 0:00 [aio/4]
261 ? S< 0:00 [aio/5]
262 ? S< 0:00 [aio/6]
263 ? S< 0:00 [aio/7]
433 ? S 0:00 [kirqd]
929 ? S< 0:00 [khubd]
992 ? S< 0:00 [scsi_eh_0]
1015 ? S< 0:00 [ata/0]
1016 ? S< 0:00 [ata/1]
1017 ? S< 0:00 [ata/2]
1018 ? S< 0:00 [ata/3]
1019 ? S< 0:00 [ata/4]
1020 ? S< 0:00 [ata/5]
1021 ? S< 0:00 [ata/6]
1022 ? S< 0:00 [ata/7]
1023 ? S< 0:00 [ata_aux]
1039 ? S< 0:00 [scsi_eh_1]
1041 ? S< 0:00 [scsi_eh_2]
1391 ? S< 0:01 [kjournald]
1616 ? S<s 0:00 udevd --daemon
2103 ? S< 0:00 [kpsmoused]
2332 ? S< 0:00 [kmirrord]
2370 ? S< 0:00 [kjournald]
2372 ? S< 0:00 [kjournald]
2374 ? S< 0:00 [kjournald]
2376 ? S< 0:07 [kjournald]
2437 ? Ss 0:00 /sbin/portmap
2688 ? Ss 0:04 /sbin/syslogd
2694 ? Ss 0:00 /sbin/klogd -x
2787 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid
2842 ? Ss 0:00 /usr/sbin/inetd
2871 ? Ss 0:05 /usr/sbin/sshd
2890 ? Ss 0:00 /sbin/rpc.statd
2900 ? Ss 0:00 /usr/sbin/atd
2907 ? Ss 0:00 /usr/sbin/cron
2935 tty2 Ss+ 0:00 /sbin/getty 38400 tty2
2936 tty3 Ss+ 0:00 /sbin/getty 38400 tty3
2937 tty4 Ss+ 0:00 /sbin/getty 38400 tty4
2939 tty5 Ss+ 0:00 /sbin/getty 38400 tty5
2940 tty6 Ss+ 0:00 /sbin/getty 38400 tty6
9571 ? S 0:00 /var/opt/postgres/8.2.5/bin/postgres -D data
9573 ? Ss 0:00 postgres: writer process
9574 ? Ss 0:00 postgres: stats collector process
17970 tty1 Ss 0:00 /bin/login --
17980 tty1 R+ 11552:48 -bash
25395 ? Ss 0:00 nginx: master process /opt/webserver/nginx/sbin/nginx
25396 ? S 0:00 nginx: worker process
25397 ? S 0:00 nginx: worker process
25398 ? S 0:00 nginx: worker process
28492 ? S 0:47 /opt/Ruby/ruby-1.8.6/bin/ruby /opt/Ruby/gems/reposito
28496 ? Ss 0:02 postgres: webadmin smart [local] idle
27017 ? Ss 0:00 sshd: root@pts/1
27019 pts/1 Ss 0:00 -bash
27023 pts/1 R+ 0:00 ps ax
i want to service like this --- >
Quote:
PID TTY STAT TIME COMMAND
1 ? Ss 0:05 init [2]
25656 ? Ss 0:06 /sbin/syslogd
25757 ? Ss 0:01 /usr/lib/postfix/master
25759 ? S 0:10 qmgr -l -t fifo -u -c
25768 ? Ss 0:50 /usr/sbin/sshd
25771 ? Ss 0:00 /usr/sbin/cron
26287 ? S 0:00 /opt/postgres/8.2.2/bin/postgres -D /var/lib/postgres
26289 ? Ss 0:02 postgres: writer process
26290 ? Ss 0:00 postgres: stats collector process
5738 ? Ss 0:00 nginx: master process /opt/webserver/nginx/sbin/nginx
5739 ? S 0:08 nginx: worker process
5740 ? S 0:06 nginx: worker process
5741 ? S 0:06 nginx: worker process
24347 ? S 0:53 /opt/Ruby-1.8.6/ruby-1.8.6/bin/ruby /usr/local/bin/mo
24375 ? Ss 0:04 postgres: dodol agora [local] idle
26470 ? S 0:34 /opt/Ruby-1.8.6/ruby-1.8.6/bin/ruby /usr/local/bin/mo
26475 ? Ss 0:02 postgres: dodol tes [local] idle
26506 ? S 2:11 /opt/Ruby-1.8.6/ruby-1.8.6/bin/ruby /usr/local/bin/mo
26511 ? Ss 0:09 postgres: dodol mistral [local] idle
27921 ? S 0:38 /opt/Ruby-1.8.6/ruby-1.8.6/bin/ruby /usr/local/bin/mo
27926 ? Ss 0:02 postgres: dodol netwave [local] idle
27955 ? S 0:10 /opt/Ruby-1.8.6/ruby-1.8.6/bin/ruby /usr/local/bin/mo
27961 ? Ss 0:00 postgres: dodol ziebel [local] idle
3581 ? S 0:02 /opt/Ruby-1.8.6/ruby-1.8.6/bin/ruby /usr/local/bin/mo
then run rcconf just by typing rcconf. you should get a list of what services are available to turn off.
>btw - most of the stuff in that first part you quoted is just low level kernel stuff. I wouldn't worry about it too much, in fact, most of it has to be there.
then run rcconf just by typing rcconf. you should get a list of what services are available to turn off.
>btw - most of the stuff in that first part you quoted is just low level kernel stuff. I wouldn't worry about it too much, in fact, most of it has to be there.
thanks for u'r solution i'm very appriciated
i try u'r solution
but i want ask again
if i install linux debian in differently hardware effectuate with total running service in linux ?....
if i install linux debian in differently hardware effectuate with total running service in linux ?....
sorry, I don't understand your last question. could you say it again differently?
but try rcconf first and see if it does what you want. you can also change the executable status of the file directly if that's easier:
# cd /etc/init.d
# chmod -x <filename>
<filename> would be the name of the service you want to turn off. you can see a list of what services are in the directory with the ls command. ls -l will tell you the executable status if file highlighting isn't turned on.
Easiest tool for managing services in Debian is sysv-rc-conf
If you are concerned with the number of service running after an install, do just a base install then aptitude install the programs and services you want. a base install of Debian has ONLY necessary services running. by that I mean even SSHD is not installed and running by default.
I already told you. most of those are necessary background processes for the kernel. If you run top and something is eating up large CPU % then you should investigate it. Otherwise, you don't really need to worry about it. Those processes need to be there.
For future reference, have you searched google for any answers? I'll give you a start:
I already told you. most of those are necessary background processes for the kernel. If you run top and something is eating up large CPU % then you should investigate it. Otherwise, you don't really need to worry about it. Those processes need to be there.
For future reference, have you searched google for any answers? I'll give you a start:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.