Service ตัวไหนปิดได้บ้างครับ

Elastix IP Pbx

Moderator: jubjang

Service ตัวไหนปิดได้บ้างครับ

โพสต์โดย its » 05 ก.ค. 2013 10:24

[root@elastix ~]# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 08:02 ? 00:00:00 init [3]
root 2 1 0 08:02 ? 00:00:00 [migration/0]
root 3 1 0 08:02 ? 00:00:00 [ksoftirqd/0]
root 4 1 0 08:02 ? 00:00:00 [watchdog/0]
root 5 1 0 08:02 ? 00:00:00 [migration/1]
root 6 1 0 08:02 ? 00:00:00 [ksoftirqd/1]
root 7 1 0 08:02 ? 00:00:00 [watchdog/1]
root 8 1 0 08:02 ? 00:00:00 [migration/2]
root 9 1 0 08:02 ? 00:00:00 [ksoftirqd/2]
root 10 1 0 08:02 ? 00:00:00 [watchdog/2]
root 11 1 0 08:02 ? 00:00:00 [migration/3]
root 12 1 0 08:02 ? 00:00:00 [ksoftirqd/3]
root 13 1 0 08:02 ? 00:00:00 [watchdog/3]
root 14 1 1 08:02 ? 00:02:10 [events/0]
root 15 1 0 08:02 ? 00:00:03 [events/1]
root 16 1 0 08:02 ? 00:00:00 [events/2]
root 17 1 0 08:02 ? 00:00:00 [events/3]
root 18 1 0 08:02 ? 00:00:00 [khelper]
root 99 1 0 08:02 ? 00:00:00 [kthread]
root 106 99 0 08:02 ? 00:00:00 [kblockd/0]
root 107 99 0 08:02 ? 00:00:00 [kblockd/1]
root 108 99 0 08:02 ? 00:00:00 [kblockd/2]
root 109 99 0 08:02 ? 00:00:00 [kblockd/3]
root 110 99 0 08:02 ? 00:00:00 [kacpid]
root 251 99 0 08:02 ? 00:00:00 [cqueue/0]
root 252 99 0 08:02 ? 00:00:00 [cqueue/1]
root 253 99 0 08:02 ? 00:00:00 [cqueue/2]
root 254 99 0 08:02 ? 00:00:00 [cqueue/3]
root 257 99 0 08:02 ? 00:00:00 [khubd]
root 259 99 0 08:02 ? 00:00:00 [kseriod]
root 354 99 0 08:02 ? 00:00:00 [khungtaskd]
root 355 99 0 08:02 ? 00:00:00 [pdflush]
root 356 99 0 08:02 ? 00:00:00 [pdflush]
root 357 99 0 08:02 ? 00:00:00 [kswapd0]
root 358 99 0 08:02 ? 00:00:00 [aio/0]
root 359 99 0 08:02 ? 00:00:00 [aio/1]
root 360 99 0 08:02 ? 00:00:00 [aio/2]
root 361 99 0 08:02 ? 00:00:00 [aio/3]
root 517 99 0 08:02 ? 00:00:00 [kpsmoused]
root 580 99 0 08:02 ? 00:00:00 [mpt_poll_0]
root 581 99 0 08:02 ? 00:00:00 [mpt/0]
root 582 99 0 08:02 ? 00:00:00 [scsi_eh_0]
root 593 99 0 08:02 ? 00:00:00 [ata/0]
root 594 99 0 08:02 ? 00:00:00 [ata/1]
root 595 99 0 08:02 ? 00:00:00 [ata/2]
root 596 99 0 08:02 ? 00:00:00 [ata/3]
root 597 99 0 08:02 ? 00:00:00 [ata_aux]
root 603 99 0 08:02 ? 00:00:00 [scsi_eh_1]
root 604 99 0 08:02 ? 00:00:00 [scsi_eh_2]
root 605 99 0 08:02 ? 00:00:00 [scsi_eh_3]
root 606 99 0 08:02 ? 00:00:00 [scsi_eh_4]
root 612 99 0 08:02 ? 00:00:00 [kstriped]
root 633 99 0 08:02 ? 00:00:00 [ksnapd]
root 656 99 0 08:03 ? 00:00:01 [kjournald]
root 681 99 0 08:03 ? 00:00:00 [kauditd]
root 714 1 0 08:03 ? 00:00:00 /sbin/udevd -d
root 1529 99 0 08:03 ? 00:00:00 [kedac]
root 2110 99 0 08:03 ? 00:00:00 [kmpathd/0]
root 2111 99 0 08:03 ? 00:00:00 [kmpathd/1]
root 2112 99 0 08:03 ? 00:00:00 [kmpathd/2]
root 2113 99 0 08:03 ? 00:00:00 [kmpathd/3]
root 2114 99 0 08:03 ? 00:00:00 [kmpath_handlerd]
root 2133 99 0 08:03 ? 00:00:00 [kjournald]
root 2234 99 0 08:03 ? 00:00:00 [iscsi_eh]
root 2295 99 0 08:03 ? 00:00:00 [cnic_wq]
root 2302 99 0 08:03 ? 00:00:00 [bnx2i_thread/0]
root 2303 99 0 08:03 ? 00:00:00 [bnx2i_thread/1]
root 2304 99 0 08:03 ? 00:00:00 [bnx2i_thread/2]
root 2305 99 0 08:03 ? 00:00:00 [bnx2i_thread/3]
root 2322 99 0 08:03 ? 00:00:00 [ib_addr]
root 2339 99 0 08:03 ? 00:00:00 [ib_mcast]
root 2340 99 0 08:03 ? 00:00:00 [ib_inform]
root 2341 99 0 08:03 ? 00:00:00 [local_sa]
root 2346 99 0 08:03 ? 00:00:00 [iw_cm_wq]
root 2353 99 0 08:03 ? 00:00:00 [ib_cm/0]
root 2354 99 0 08:03 ? 00:00:00 [ib_cm/1]
root 2355 99 0 08:03 ? 00:00:00 [ib_cm/2]
root 2356 99 0 08:03 ? 00:00:00 [ib_cm/3]
root 2362 99 0 08:03 ? 00:00:00 [rdma_cm]
root 2384 1 0 08:03 ? 00:00:00 iscsiuio
root 2389 1 0 08:03 ? 00:00:00 iscsid
root 2390 1 0 08:03 ? 00:00:00 iscsid
root 2800 1 0 08:03 ? 00:00:00 /sbin/dhclient -1 -q -lf /var/lib/dhclient/dhclient-usb0.lea
root 2848 1 0 08:03 ? 00:00:00 auditd
root 2850 2848 0 08:03 ? 00:00:00 /sbin/audispd
root 2880 1 0 08:03 ? 00:00:00 syslogd -m 0
root 2883 1 0 08:03 ? 00:00:00 klogd -x
rpc 2914 1 0 08:03 ? 00:00:00 portmap
root 2950 99 0 08:03 ? 00:00:00 [rpciod/0]
root 2951 99 0 08:03 ? 00:00:00 [rpciod/1]
root 2952 99 0 08:03 ? 00:00:00 [rpciod/2]
root 2953 99 0 08:03 ? 00:00:00 [rpciod/3]
rpcuser 2963 1 0 08:03 ? 00:00:00 rpc.statd
root 3000 1 0 08:03 ? 00:00:00 rpc.idmapd
dbus 3030 1 0 08:03 ? 00:00:00 dbus-daemon --system
root 3671 1 0 08:03 ? 00:00:00 /usr/sbin/acpid
68 3883 1 0 08:03 ? 00:00:00 hald
root 3884 3883 0 08:03 ? 00:00:00 hald-runner
68 3891 3884 0 08:03 ? 00:00:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.so
68 3894 3884 0 08:03 ? 00:00:00 hald-addon-keyboard: listening on /dev/input/event0
root 3902 3884 0 08:03 ? 00:00:00 hald-addon-storage: polling /dev/hda
root 3939 1 0 08:03 ? 00:00:00 /usr/sbin/sshd
root 3957 1 0 08:03 ? 00:00:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
ntp 3973 1 0 08:03 ? 00:00:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g
root 4016 1 0 08:03 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --sock
mysql 4098 4016 0 08:03 ? 00:00:05 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql
cyrus 4249 1 0 08:03 ? 00:00:00 /usr/lib/cyrus-imapd/cyrus-master -d
cyrus 4256 1 0 08:03 ? 00:00:00 idled
cyrus 4279 4249 0 08:03 ? 00:00:00 imapd
cyrus 4280 4249 0 08:03 ? 00:00:00 imapd -s
cyrus 4281 4249 0 08:03 ? 00:00:00 pop3d
cyrus 4282 4249 0 08:03 ? 00:00:00 pop3d -s
cyrus 4283 4249 0 08:03 ? 00:00:00 lmtpd
cyrus 4284 4249 0 08:03 ? 00:00:00 imapd
cyrus 4285 4249 0 08:03 ? 00:00:00 pop3d
cyrus 4286 4249 0 08:03 ? 00:00:00 imapd
cyrus 4287 4249 0 08:03 ? 00:00:00 pop3d
cyrus 4299 4249 0 08:04 ? 00:00:00 imapd
cyrus 4300 4249 0 08:04 ? 00:00:00 imapd
root 4362 1 0 08:04 ? 00:00:00 /usr/sbin/httpd
asterisk 4379 4362 0 08:04 ? 00:00:03 /usr/sbin/httpd
asterisk 4380 4362 0 08:04 ? 00:00:02 /usr/sbin/httpd
asterisk 4381 4362 0 08:04 ? 00:00:02 /usr/sbin/httpd
asterisk 4382 4362 0 08:04 ? 00:00:02 /usr/sbin/httpd
asterisk 4383 4362 0 08:04 ? 00:00:02 /usr/sbin/httpd
asterisk 4384 4362 0 08:04 ? 00:00:02 /usr/sbin/httpd
asterisk 4385 4362 0 08:04 ? 00:00:02 /usr/sbin/httpd
asterisk 4386 4362 0 08:04 ? 00:00:02 /usr/sbin/httpd
root 4403 1 0 08:04 ? 00:00:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk
asterisk 4409 4403 5 08:04 ? 00:06:34 /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c
root 4420 1 0 08:04 ? 00:00:00 crond
xfs 4444 1 0 08:04 ? 00:00:00 xfs -droppriv -daemon
root 4478 1 0 08:04 ? 00:00:00 /usr/bin/php /opt/elastix/elastix-updater/elxupdaterd
root 4482 4478 0 08:04 ? 00:00:00 /usr/bin/php /opt/elastix/elastix-updater/elxupdaterd
root 4494 1 0 08:04 ? 00:00:00 /usr/sbin/atd
uucp 4507 1 0 08:04 ? 00:00:00 /usr/sbin/faxq
uucp 4510 1 0 08:04 ? 00:00:00 /usr/sbin/hfaxd -i hylafax
root 4526 1 0 08:04 ? 00:00:00 /usr/sbin/iaxmodem
uucp 4538 4526 0 08:04 ? 00:00:00 /usr/sbin/iaxmodem
root 4539 1 0 08:04 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam
root 4558 4539 0 08:04 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam
root 4559 4539 0 08:04 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam
root 4560 4539 0 08:04 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam
root 4561 4539 0 08:04 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam
asterisk 4584 1 0 08:04 ? 00:00:00 -bash -c cd /var/www/html/panel && /var/www/html/panel/safe_
asterisk 4585 4584 0 08:04 ? 00:00:00 sh /var/www/html/panel/safe_opserver
asterisk 4586 4585 1 08:04 ? 00:02:02 /usr/bin/perl /var/www/html/panel/op_server.pl
root 4592 1 0 08:04 tty1 00:00:00 /sbin/mingetty tty1
root 4593 1 0 08:04 tty2 00:00:00 /sbin/mingetty tty2
root 4594 1 0 08:04 tty3 00:00:00 /sbin/mingetty tty3
root 4595 1 0 08:04 tty4 00:00:00 /sbin/mingetty tty4
root 4596 1 0 08:04 tty5 00:00:00 /sbin/mingetty tty5
root 4597 1 0 08:04 tty6 00:00:00 /sbin/mingetty tty6
uucp 4598 1 0 08:04 ? 00:00:00 /usr/sbin/faxgetty ttyIAX1
asterisk 7119 4362 0 09:16 ? 00:00:01 /usr/sbin/httpd
asterisk 7124 4362 0 09:16 ? 00:00:03 /usr/sbin/httpd
asterisk 7135 4362 0 09:16 ? 00:00:02 /usr/sbin/httpd
root 8521 3939 0 09:39 ? 00:00:03 sshd: root@pts/1
root 8531 8521 0 09:39 pts/1 00:00:00 -bash
root 11449 8531 0 10:13 pts/1 00:00:00 ps -ef
its
Bronz Member
 
โพสต์: 15
ลงทะเบียนเมื่อ: 21 ม.ค. 2011 16:18

Re: Service ตัวไหนปิดได้บ้างครับ

โพสต์โดย nuiz » 06 ก.ค. 2013 22:10

แนวคิดของผมนะครับ บอกไม่ถูกเหมือนกันว่าต้องปิดตัวไหนบ้าง

แต่ละ process ก็รัน service แตกต่างกันออกไป อยู่ที่ว่าไม่อยากใช้ service ตัวไหนบน elastix หน่ะครับ

อย่าง asterisk, mysql, httpd คงปิดไม่ได้ครับ

ผมแนะนำให้ block จะดีกว่าครับ ใช้ firewall บน elastix ก็ได้ ไม่อยากให้คอนเน็ค service อะไรก็ดูว่า service นั้นเปิด tcp/udp หมายเลขอะไร ก็จัดการ block ซะ
** หากมีปัญหากับอุปกรณ์ที่ซื้อมาเองหรือบริการที่ทำขึ้นมาเอง ให้โพสต์ถามในเว็บบอร์ดนี้นะครับ **
** งานเร่งด่วนติดต่อว่าจ้างที่เบอร์ 08-5161-9439 อีเมล์ iamaladin@gmail.com ไลน์ NuizVoip ครับ **
nuiz
Diamond Member
 
โพสต์: 7058
ลงทะเบียนเมื่อ: 24 มี.ค. 2010 09:33


ย้อนกลับไปยัง Elastix - Unified Communications Software

ผู้ใช้งานขณะนี้

กำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และ บุคคลทั่วไป 16 ท่าน

cron