Skip to content

Instantly share code, notes, and snippets.

@debuggerpk
Created May 16, 2014 17:15
Show Gist options
  • Save debuggerpk/3e318391225b9be8fba2 to your computer and use it in GitHub Desktop.
Save debuggerpk/3e318391225b9be8fba2 to your computer and use it in GitHub Desktop.
[root@zimbra ~]# dig zimbra.debugger.pk any
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.6 <<>> zimbra.debugger.pk any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43483
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;zimbra.debugger.pk. IN ANY
;; ANSWER SECTION:
zimbra.debugger.pk. 3599 IN MX 10 zimbra.debugger.pk.
zimbra.debugger.pk. 3599 IN A 107.170.192.35
;; Query time: 363 msec
;; SERVER: 8.8.4.4#53(8.8.4.4)
;; WHEN: Fri May 16 15:36:11 2014
;; MSG SIZE rcvd: 68
[root@zimbra ~]# cat /etc/resolv.conf
nameserver 8.8.4.4
nameserver 8.8.8.8
nameserver 209.244.0.3
[root@zimbra ~]# ps -aux
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.1 0.0 10372 240 ? Ss 15:27 0:08 init [3]
root 2 0.0 0.0 0 0 ? S< 15:27 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN 15:27 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S< 15:27 0:00 [watchdog/0]
root 5 0.0 0.0 0 0 ? S< 15:27 0:00 [events/0]
root 6 0.0 0.0 0 0 ? S< 15:27 0:00 [khelper]
root 11 0.0 0.0 0 0 ? S< 15:27 0:00 [kthread]
root 15 0.0 0.0 0 0 ? S< 15:27 0:00 [kblockd/0]
root 16 0.0 0.0 0 0 ? S< 15:27 0:00 [kacpid]
root 117 0.0 0.0 0 0 ? S< 15:27 0:00 [cqueue/0]
root 120 0.0 0.0 0 0 ? S< 15:27 0:00 [khubd]
root 122 0.0 0.0 0 0 ? S< 15:27 0:00 [kseriod]
root 189 0.0 0.0 0 0 ? S 15:27 0:00 [khungtaskd]
root 190 0.0 0.0 0 0 ? S 15:27 0:00 [pdflush]
root 191 0.0 0.0 0 0 ? S 15:27 0:00 [pdflush]
root 192 1.9 0.0 0 0 ? D< 15:27 1:58 [kswapd0]
root 193 0.0 0.0 0 0 ? S< 15:27 0:00 [aio/0]
root 334 0.0 0.0 0 0 ? S< 15:27 0:00 [kpsmoused]
root 373 0.0 0.0 0 0 ? S< 15:27 0:00 [kstriped]
root 394 0.0 0.0 0 0 ? S< 15:27 0:00 [jbd2/vda-8]
root 395 0.0 0.0 0 0 ? S< 15:27 0:00 [ext4-dio-unwrit]
root 415 0.0 0.0 0 0 ? S< 15:27 0:00 [kauditd]
root 443 0.0 0.1 12640 632 ? S<s 15:27 0:00 /sbin/udevd -d
root 867 0.0 0.0 0 0 ? S< 15:27 0:00 [ata/0]
root 868 0.0 0.0 0 0 ? S< 15:27 0:00 [ata_aux]
root 1008 0.0 0.0 0 0 ? S< 15:27 0:00 [kmpathd/0]
root 1009 0.0 0.0 0 0 ? S< 15:27 0:00 [kmpath_handlerd]
root 1227 0.0 0.0 3824 92 ? Ss 15:27 0:00 /usr/sbin/acpid
root 1235 0.0 0.4 53156 2168 ? Sl 15:27 0:06 /sbin/rsyslogd -i /var/run/rsyslogd.pid -m 0
root 1279 0.0 0.1 64808 784 ? Ss 15:27 0:00 /usr/sbin/sshd
root 1287 0.0 0.0 21668 224 ? Ss 15:27 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root 1295 0.0 0.1 19732 704 ? Ss 15:27 0:02 crond
zimbra 2349 0.0 0.1 8984 972 ? S 15:28 0:00 /bin/bash /opt/zimbra/bin/zmconfigdctl start norewrite
zimbra 2495 0.1 2.1 43012 10876 ? Ss 15:28 0:09 /opt/zimbra/libexec/logswatch --config-file=/opt/zimbra/conf/logswatchrc --use-cpan-file-tail --pid-file=/opt/zimbr
zimbra 2496 0.0 1.5 49304 7968 ? S 15:28 0:02 /usr/bin/perl /opt/zimbra/libexec/zmlogger
zimbra 2589 0.0 0.0 8984 460 ? S 15:28 0:00 /bin/sh /opt/zimbra/mysql/bin/mysqld_safe --defaults-file=/opt/zimbra/conf/my.cnf --external-locking --log-error=/o
zimbra 2724 0.0 1.0 47472 5208 ? S 15:28 0:00 zmlogger: zmrrdfetch: server
zimbra 2855 0.1 0.0 67068 488 ? Ssl 15:28 0:08 /opt/zimbra/memcached/bin/memcached -d -P /opt/zimbra/log/memcached.pid
zimbra 2881 0.0 0.1 26328 636 ? Ss 15:28 0:00 nginx: master process /opt/zimbra/nginx/sbin/nginx -c /opt/zimbra/conf/nginx.conf
zimbra 2882 0.1 0.8 30180 4576 ? S 15:28 0:09 nginx: worker process
zimbra 2883 0.0 1.1 30312 5700 ? S 15:28 0:00 nginx: worker process
zimbra 2884 0.1 0.8 30180 4576 ? S 15:28 0:08 nginx: worker process
zimbra 2885 0.1 0.8 30180 4576 ? S 15:28 0:08 nginx: worker process
zimbra 3214 0.0 3.9 72836 20012 ? Sl 15:29 0:00 /opt/zimbra/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.cnf --basedir=/opt/zimbra/mysql --datadir=/opt
zimbra 3341 0.3 0.4 43572 2316 ? Ss 15:29 0:21 /opt/zimbra/clamav/bin/freshclam --config-file=/opt/zimbra/conf/freshclam.conf --quiet --daemon --checks=12
zimbra 3798 0.0 1.0 34112 5580 ? S 15:35 0:00 /usr/bin/perl /opt/zimbra/libexec/swatch --config-file=/opt/zimbra/conf/swatchrc --use-cpan-file-tail --script-dir=
zimbra 3813 0.0 0.6 54860 3292 ? Ss 15:35 0:00 /opt/zimbra/httpd-2.2.22/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra 3814 0.0 0.0 21580 280 ? S 15:35 0:00 /opt/zimbra/httpd/bin/rotatelogs /opt/zimbra/log/httpd_error.log.%Y-%m-%d 86400
zimbra 3840 0.0 0.0 21580 248 ? S 15:35 0:00 /opt/zimbra/httpd/bin/rotatelogs /opt/zimbra/log/httpd_access.log.%Y-%m-%d 86400
zimbra 3841 0.0 2.1 43016 10928 ? S 15:35 0:00 /usr/bin/perl /opt/zimbra/data/tmp/.swatch_script.3798
zimbra 3876 0.0 0.6 54860 3208 ? S 15:35 0:00 /opt/zimbra/httpd-2.2.22/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra 3877 0.0 0.6 54860 3208 ? S 15:35 0:00 /opt/zimbra/httpd-2.2.22/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra 3878 0.0 0.6 54860 3208 ? S 15:35 0:00 /opt/zimbra/httpd-2.2.22/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra 3879 0.0 0.6 54860 3208 ? S 15:35 0:00 /opt/zimbra/httpd-2.2.22/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra 3880 0.0 0.6 54860 3208 ? S 15:35 0:00 /opt/zimbra/httpd-2.2.22/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
root 3920 0.0 0.4 92344 2496 ? Ss 15:35 0:00 sshd: root@pts/0
root 3951 0.0 0.2 10924 1512 pts/0 Ss 15:35 0:00 -bash
root 4039 0.0 0.4 43304 2204 ? Ss 15:35 0:00 /opt/zimbra/postfix/libexec/master
postfix 4042 0.0 0.4 43548 2284 ? S 15:35 0:00 qmgr -l -t fifo -u
postfix 4043 0.0 0.4 43380 2144 ? S 15:35 0:00 pickup -l -t fifo -u
zimbra 4047 0.0 0.1 49580 928 ? Ss 15:35 0:00 /opt/zimbra/cyrus-sasl/sbin/saslauthd -r -a zimbra
zimbra 4049 0.0 0.1 49580 672 ? S 15:35 0:00 /opt/zimbra/cyrus-sasl/sbin/saslauthd -r -a zimbra
zimbra 4052 0.0 0.1 49580 660 ? S 15:35 0:00 /opt/zimbra/cyrus-sasl/sbin/saslauthd -r -a zimbra
zimbra 4053 0.0 0.1 49580 660 ? S 15:35 0:00 /opt/zimbra/cyrus-sasl/sbin/saslauthd -r -a zimbra
zimbra 4054 0.0 0.1 49580 660 ? S 15:35 0:00 /opt/zimbra/cyrus-sasl/sbin/saslauthd -r -a zimbra
zimbra 4086 0.0 1.3 41720 6800 ? S 15:35 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-proc
zimbra 4088 0.0 1.2 41588 6552 ? S 15:35 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-cpu
zimbra 4090 0.0 1.2 41584 6568 ? S 15:35 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-vm
zimbra 4092 0.0 1.2 41584 6572 ? S 15:35 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-io -x
zimbra 4094 0.0 1.2 41456 6516 ? S 15:35 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-df
zimbra 4096 0.0 1.3 43680 6656 ? S 15:35 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-io
zimbra 4158 0.0 1.2 43548 6512 ? S 15:35 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-fd
zimbra 4202 0.0 1.4 48736 7588 ? S 15:35 0:03 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-allprocs
zimbra 4204 0.0 1.3 41588 6656 ? S 15:35 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-mysql
zimbra 4206 0.0 1.2 41456 6472 ? S 15:35 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-mtaqueue
zimbra 4208 0.0 1.4 46296 7232 ? S 15:35 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-nginx
root 4210 0.0 0.1 3812 536 tty1 Ss+ 15:35 0:00 /sbin/mingetty tty1
root 4211 0.0 0.1 3812 536 tty2 Ss+ 15:35 0:00 /sbin/mingetty tty2
root 4212 0.0 0.1 3812 536 tty3 Ss+ 15:35 0:00 /sbin/mingetty tty3
root 4213 0.0 0.1 3812 536 tty4 Ss+ 15:35 0:00 /sbin/mingetty tty4
root 4214 0.0 0.1 3812 536 tty5 Ss+ 15:35 0:00 /sbin/mingetty tty5
root 4215 0.0 0.1 3812 532 tty6 Ss+ 15:35 0:00 /sbin/mingetty tty6
root 4492 0.0 0.4 51056 2176 ? S 15:35 0:00 sudo /opt/zimbra/libexec/zmstat-fd
root 4505 0.0 1.2 43264 6248 ? S 15:35 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-fd
zimbra 4647 0.0 0.1 3856 748 ? S 15:36 0:00 /usr/bin/iostat -d -k -x 30
zimbra 4651 0.0 0.1 3856 744 ? S 15:36 0:00 /usr/bin/iostat -d -k 30
zimbra 4652 0.0 0.1 5896 612 ? S 15:36 0:00 /usr/bin/vmstat -n -S K 30
zimbra 5253 0.5 28.4 604100 145056 ? Sl 15:37 0:31 /opt/zimbra/java/bin/java -XX:ErrorFile=/opt/zimbra/log -client -Xmx256m -Dzimbra.home=/opt/zimbra -Djava.library.p
postfix 16743 0.0 0.4 43384 2188 ? S 16:23 0:00 showq -t unix -u
zimbra 27940 0.0 0.1 3832 516 ? S 17:09 0:00 sleep 60
zimbra 27948 0.0 0.3 46912 1532 ? S 17:10 0:00 crond
zimbra 27950 0.0 0.3 46912 1532 ? S 17:10 0:00 crond
zimbra 27953 0.0 0.2 8692 1056 ? Ss 17:10 0:00 /bin/sh -c /opt/zimbra/libexec/zmlogprocess > /tmp/logprocess.out 2>&1
zimbra 27954 0.7 1.7 50204 8736 ? S 17:10 0:00 /usr/bin/perl /opt/zimbra/libexec/zmlogprocess
zimbra 27956 0.0 0.2 8692 1052 ? Ss 17:10 0:00 /bin/sh -c /opt/zimbra/libexec/zmstatuslog > /dev/null 2>&1
zimbra 27987 0.1 0.8 35344 4288 ? S 17:10 0:00 /usr/bin/perl /opt/zimbra/libexec/zmstatuslog
zimbra 28005 0.5 1.3 41832 6772 ? S 17:10 0:00 /usr/bin/perl /opt/zimbra/bin/zmcontrol status
zimbra 28054 25.6 9.8 486836 50284 ? Sl 17:10 0:01 /opt/zimbra/java/bin/java -XX:ErrorFile=/opt/zimbra/log -client -Xmx256m -Dzimbra.home=/opt/zimbra -Djava.library.p
zimbra 28067 0.0 0.2 8844 1276 ? S 17:10 0:00 sh -c /opt/zimbra/bin/zmprov -l gs zimbra.debugger.pk 2>/dev/null
zimbra 28068 35.6 10.6 490812 54248 ? Sl 17:10 0:02 /opt/zimbra/java/bin/java -XX:ErrorFile=/opt/zimbra/log -client -Xmx256m -Dzimbra.home=/opt/zimbra -Djava.library.p
root 28231 0.0 0.1 10484 932 pts/0 R+ 17:10 0:00 ps -aux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment