- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我已经在带有 24G 内存的 i7-2600 机器上设置了 Ubuntu 14.04 LTS。我使用 mariadb-10.0.11 代替 mysql 以获得更高的性能。而我使用matmul.c (c) 2009, Rajorshi Biswas来测试系统性能。结果异常,无法访问mysql(mariab)服务器,matnul.c结果为
root@mercury:~/openmp/testopenmp# ./matmul.gcc
Enter dimension ('N' for 'NxN' matrix) (100-2000): 2000
Populating array with random values...
Completed array init.
Crunching without OMP... took 55.691565 seconds.
Crunching with OMP... took 15.113471 seconds.
但是如果我通过服务mysql stop关闭mysql mariadb,速度会快得多。
root@mercury:~/openmp/testopenmp# ./matmul.gcc
Enter dimension ('N' for 'NxN' matrix) (100-2000): 2000
Populating array with random values...
Completed array init.
Crunching without OMP... took 26.777045 seconds.
Crunching with OMP... took 3.646939 seconds
单线程只用了一半的时间,OMP版本甚至更快。
是否存在配置问题导致此类性能下降问题或者这只是自然现象?
备注,测试时没有连接mysql。
我附上了 matural.c 和 mysql.cnf
(matural.c的使用只是一个例子,当mysql运行时,所有其他程序运行速度慢50%。)
/*
* Sample program to test runtime of simple matrix multiply
* with and without OpenMP on gcc-4.3.3-tdm1 (mingw)
*
* (c) 2009, Rajorshi Biswas
*/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <assert.h>
#include <omp.h>
int main(int argc, char **argv)
{
int i,j,k;
int n;
double temp;
double start, end, run;
printf("Enter dimension ('N' for 'NxN' matrix) (100-2000): ");
scanf("%d", &n);
assert( n >= 100 && n <= 2000 );
int **arr1 = malloc( sizeof(int*) * n);
int **arr2 = malloc( sizeof(int*) * n);
int **arr3 = malloc( sizeof(int*) * n);
for(i=0; i<n; ++i) {
arr1[i] = malloc( sizeof(int) * n );
arr2[i] = malloc( sizeof(int) * n );
arr3[i] = malloc( sizeof(int) * n );
}
printf("Populating array with random values...\n");
srand( time(NULL) );
for(i=0; i<n; ++i) {
for(j=0; j<n; ++j) {
arr1[i][j] = (rand() % n);
arr2[i][j] = (rand() % n);
}
}
printf("Completed array init.\n");
printf("Crunching without OMP...");
fflush(stdout);
start = omp_get_wtime();
for(i=0; i<n; ++i) {
for(j=0; j<n; ++j) {
temp = 0;
for(k=0; k<n; ++k) {
temp += arr1[i][k] * arr2[k][j];
}
arr3[i][j] = temp;
}
}
end = omp_get_wtime();
printf(" took %f seconds.\n", end-start);
printf("Crunching with OMP...");
fflush(stdout);
start = omp_get_wtime();
#pragma omp parallel for private(i, j, k, temp)
for(i=0; i<n; ++i) {
for(j=0; j<n; ++j) {
temp = 0;
for(k=0; k<n; ++k) {
temp += arr1[i][k] * arr2[k][j];
}
arr3[i][j] = temp;
}
}
end = omp_get_wtime();
printf(" took %f seconds.\n", end-start);
return 0;
}
还有 my.cnf
root@mercury:~/openmp/testopenmp# cat /etc/mysql/my.cnf
#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
# This will be passed to all mysql clients
# It has been reported that passwords should be enclosed with ticks/quotes
# escpecially if they contain "#" chars...
# Remember to edit /etc/mysql/debian.cnf when changing the socket location.
[client]
#port = 3306
socket = /run/mysqld/mysqld.sock
#character_set_server = utf8
# Here is entries for some specific programs
# The following values assume you have at least 32M ram
# This was formally known as [safe_mysqld]. Both versions are currently parsed.
[mysqld_safe]
socket = /run/mysqld/mysqld.sock
nice = 19
[mysqld]
#
# * Basic Settings
#
#
# * IMPORTANT
# If you make changes to these settings and your system uses apparmor, you may
# also need to also adjust /etc/apparmor.d/usr.sbin.mysqld.
#
skip-host-cache
skip-name-resolve
character_set_server = utf8
init_connect = 'SET NAMES utf8'
user = mysql
socket = /run/mysqld/mysqld.sock
#port = 3306
basedir = /usr/local/mysql
datadir = /usr/local/mysql/data
tmpdir = /tmp
#log = /var/log/mysql.log
general_log_file = /var/log/mysql.log
general_log = 1
# skip-external-locking
#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
#bind-address = 127.0.0.1
#
# * Fine Tuning
#
key_buffer_size = 16M
max_allowed_packet = 1M
sort_buffer_size = 1M
net_buffer_length = 16K
myisam_sort_buffer_size = 8M
# Don't listen on a TCP/IP port at all.
# skip-networking
# required unique id between 1 and 2^32 - 1
server-id = 1
# Uncomment the following if you are using BDB tables
#bdb_cache_size = 4M
#bdb_max_lock = 10000
# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = /srv/mysql
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = /srv/mysql
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 16M
#innodb_additional_mem_pool_size = 2M
# Set .._log_file_size to 25 % of buffer pool size
#innodb_log_file_size = 5M
#innodb_log_buffer_size = 8M
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[isamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer_size = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout
#!includedir /etc/mysql/conf.d/
root@mercury:/etc/mysql/conf.d# cat *
#
# The MySQL 5.6 database server configuration file.
#
# This custom MySQL 5.6 specific configuration file
# adds on top of the existing default my.cnf file at
# - /etc/mysql/my.cnf.
#
# Please add any extra MySQL 5.6 options in this file
# for sake of clarity.
#
# You may uncomment any existing option to enable it
#
# sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
[mysqld_safe]
syslog
root@mercury:/etc/mysql/conf.d#
最佳答案
问题没有解决,所以附上mysql服务运行前后的进程列表。很抱歉作为答案,因为问题超过 300000 个字符。
mysql服务运行时的进程列表
root@mercury:~# ps -elf
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD
4 S root 1 0 0 80 0 - 8348 poll_s 21:07 ? 00:00:00 /sbin/init
1 S root 2 0 0 80 0 - 0 kthrea 21:07 ? 00:00:00 [kthreadd]
1 S root 3 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/0]
1 S root 4 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/0:0]
1 S root 5 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/0:0H]
1 S root 6 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:0]
1 S root 7 2 0 80 0 - 0 rcu_gp 21:07 ? 00:00:00 [rcu_sched]
1 S root 8 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/0]
1 S root 9 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/1]
1 S root 10 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/2]
1 S root 11 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/3]
1 S root 12 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/4]
1 S root 13 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/5]
1 S root 14 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/6]
1 S root 15 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuos/7]
1 S root 16 2 0 80 0 - 0 rcu_gp 21:07 ? 00:00:00 [rcu_bh]
1 S root 17 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/0]
1 S root 18 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/1]
1 S root 19 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/2]
1 S root 20 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/3]
1 S root 21 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/4]
1 S root 22 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/5]
1 S root 23 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/6]
1 S root 24 2 0 80 0 - 0 rcu_no 21:07 ? 00:00:00 [rcuob/7]
1 S root 25 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/0]
5 S root 26 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/0]
5 S root 27 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/1]
1 S root 28 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/1]
1 S root 29 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/1]
1 S root 30 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/1:0]
1 S root 31 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/1:0H]
5 S root 32 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/2]
1 S root 33 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/2]
1 S root 34 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/2]
1 S root 35 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/2:0]
1 S root 36 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/2:0H]
5 S root 37 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/3]
1 S root 38 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/3]
1 S root 39 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/3]
1 S root 40 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/3:0]
1 S root 41 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/3:0H]
5 S root 42 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/4]
1 S root 43 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/4]
1 S root 44 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/4]
1 S root 45 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/4:0]
1 S root 46 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/4:0H]
5 S root 47 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/5]
1 S root 48 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/5]
1 S root 49 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/5]
1 S root 50 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/5:0]
1 S root 51 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/5:0H]
5 S root 52 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/6]
1 S root 53 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/6]
1 S root 54 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/6]
1 S root 55 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/6:0]
1 S root 56 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/6:0H]
5 S root 57 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [watchdog/7]
1 S root 58 2 0 -40 - - 0 smpboo 21:07 ? 00:00:00 [migration/7]
1 S root 59 2 0 80 0 - 0 smpboo 21:07 ? 00:00:00 [ksoftirqd/7]
1 S root 60 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/7:0]
1 S root 61 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/7:0H]
1 S root 62 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [khelper]
5 S root 63 2 0 80 0 - 0 devtmp 21:07 ? 00:00:00 [kdevtmpfs]
1 S root 64 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [netns]
1 S root 65 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [writeback]
1 S root 66 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [kintegrityd]
1 S root 67 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [bioset]
1 S root 68 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/u17:0]
1 S root 69 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [kblockd]
1 S root 70 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [ata_sff]
1 S root 71 2 0 80 0 - 0 hub_th 21:07 ? 00:00:00 [khubd]
1 S root 72 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [md]
1 S root 73 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [devfreq_wq]
1 S root 74 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/2:1]
1 S root 75 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:1]
1 S root 79 2 0 80 0 - 0 watchd 21:07 ? 00:00:00 [khungtaskd]
1 S root 80 2 0 80 0 - 0 kswapd 21:07 ? 00:00:00 [kswapd0]
1 S root 81 2 0 85 5 - 0 ksm_sc 21:07 ? 00:00:00 [ksmd]
1 S root 82 2 0 99 19 - 0 khugep 21:07 ? 00:00:00 [khugepaged]
1 S root 83 2 0 80 0 - 0 fsnoti 21:07 ? 00:00:00 [fsnotify_mark]
1 S root 84 2 0 80 0 - 0 ecrypt 21:07 ? 00:00:00 [ecryptfs-kthrea]
1 S root 85 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [crypto]
1 S root 97 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [kthrotld]
1 S root 98 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/6:1]
1 S root 99 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/0:1]
1 S root 118 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [deferwq]
1 S root 119 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [charger_manager]
1 S root 128 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/5:1]
1 S root 179 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [kpsmoused]
1 S root 180 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/0:2]
1 S root 181 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/1:1]
1 S root 182 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_0]
1 S root 183 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_1]
1 S root 184 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_2]
1 S root 185 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_3]
1 S root 186 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_4]
1 S root 187 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_5]
1 S root 188 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:2]
1 S root 189 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:3]
1 S root 190 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:4]
1 S root 191 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:5]
1 S root 192 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:6]
1 S root 193 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:7]
1 S root 194 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_6]
1 S root 195 2 0 80 0 - 0 scsi_e 21:07 ? 00:00:00 [scsi_eh_7]
1 S root 196 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:8]
1 S root 197 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:9]
1 S root 198 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/3:1]
1 S root 199 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/7:1]
1 S root 201 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/u16:10]
1 S root 206 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [bioset]
1 S root 214 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [kworker/4:1]
1 S root 215 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-worker-1]
1 S root 216 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-genwork-1]
1 S root 217 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-submit-1]
1 S root 218 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-delalloc-]
1 S root 219 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-fixup-1]
1 S root 220 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-1]
1 S root 221 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-met]
1 S root 222 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-rmw-1]
1 S root 223 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-rai]
1 S root 224 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-met]
1 S root 225 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-wri]
1 S root 226 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-freespace]
1 S root 227 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-delayed-m]
1 S root 228 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-cache-1]
1 S root 229 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-readahead]
1 S root 230 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-flush_del]
1 S root 231 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-qgroup-re]
1 S root 232 2 0 80 0 - 0 cleane 21:07 ? 00:00:00 [btrfs-cleaner]
1 S root 233 2 0 80 0 - 0 transa 21:07 ? 00:00:00 [btrfs-transacti]
1 S root 402 2 0 60 -20 - 0 worker 21:07 ? 00:00:00 [kworker/u17:1]
1 S root 423 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-met]
1 S root 437 2 0 80 0 - 0 kjourn 21:07 ? 00:00:00 [jbd2/sda1-8]
1 S root 438 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [ext4-rsv-conver]
1 S root 442 2 0 80 0 - 0 kjourn 21:07 ? 00:00:00 [jbd2/sda5-8]
1 S root 443 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [ext4-rsv-conver]
1 S root 447 2 0 80 0 - 0 kjourn 21:07 ? 00:00:00 [jbd2/sda6-8]
1 S root 448 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [ext4-rsv-conver]
1 S root 469 1 0 80 0 - 5001 poll_s 21:07 ? 00:00:00 upstart-udev-bridge --daemon
5 S root 478 1 0 80 0 - 12888 ep_pol 21:07 ? 00:00:00 /lib/systemd/systemd-udevd --daemon
5 S message+ 488 1 0 80 0 - 9810 ep_pol 21:07 ? 00:00:00 dbus-daemon --system --fork
1 S root 556 2 0 9 - - 0 irq_th 21:07 ? 00:00:00 [irq/61-mei_me]
4 S root 557 1 0 80 0 - 10863 ep_pol 21:07 ? 00:00:00 /lib/systemd/systemd-logind
5 S syslog 599 1 0 80 0 - 63962 poll_s 21:07 ? 00:00:00 rsyslogd
1 S root 624 2 0 60 -20 - 0 rescue 21:07 ? 00:00:00 [led_workqueue]
1 S root 678 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-2]
1 S root 700 1 0 80 0 - 3986 poll_s 21:07 ? 00:00:00 upstart-file-bridge --daemon
1 S root 717 1 0 80 0 - 3815 poll_s 21:07 ? 00:00:00 upstart-socket-bridge --daemon
4 S root 1008 1 0 80 0 - 3955 n_tty_ 21:07 tty4 00:00:00 /sbin/getty -8 38400 tty4
4 S root 1015 1 0 80 0 - 3955 n_tty_ 21:07 tty2 00:00:00 /sbin/getty -8 38400 tty2
4 S root 1016 1 0 80 0 - 3955 n_tty_ 21:07 tty3 00:00:00 /sbin/getty -8 38400 tty3
1 S root 1033 1 0 80 0 - 1092 poll_s 21:07 ? 00:00:00 acpid -c /etc/acpi/events -s /var/run/acpid.socke
4 S root 1034 1 0 80 0 - 15342 poll_s 21:07 ? 00:00:00 /usr/sbin/sshd -D
1 S root 1036 1 0 80 0 - 5914 hrtime 21:07 ? 00:00:00 cron
1 S daemon 1038 1 0 80 0 - 4785 hrtime 21:07 ? 00:00:00 atd
5 S root 1078 1 0 80 0 - 4816 hrtime 21:07 ? 00:00:00 /usr/sbin/irqbalance
1 S root 1278 1 0 80 0 - 1111 wait 21:07 ? 00:00:00 /bin/sh /usr/lib/ipsec/_plutorun --debug --uniqu
0 S root 1279 1 0 80 0 - 1085 pipe_w 21:07 ? 00:00:00 logger -s -p daemon.error -t ipsec__plutorun
1 S root 1280 1278 0 80 0 - 1111 wait 21:07 ? 00:00:00 /bin/sh /usr/lib/ipsec/_plutorun --debug --uniqu
0 S root 1282 1278 0 80 0 - 1111 pipe_w 21:07 ? 00:00:00 /bin/sh /usr/lib/ipsec/_plutoload --wait no --pos
4 S root 1285 1280 0 80 0 - 23516 poll_s 21:07 ? 00:00:00 /usr/lib/ipsec/pluto --nofork --secretsfile /etc/
1 S root 1389 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 0
1 S root 1390 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 1
1 S root 1392 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 2
1 S root 1393 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 3
1 S root 1394 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 4
1 S root 1395 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 5
1 S root 1396 1285 0 90 10 - 23518 unix_s 21:07 ? 00:00:00 pluto helper # 6
0 S root 1532 1285 0 80 0 - 1589 poll_s 21:07 ? 00:00:00 _pluto_adns
4 S root 1552 1 0 80 0 - 1111 wait 21:07 ? 00:00:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadi
4 S mysql 1702 1552 0 99 19 - 174953 poll_s 21:07 ? 00:00:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/
5 S root 1744 1 0 80 0 - 6226 sigsus 21:07 ? 00:00:00 nginx: master process /usr/local/nginx/sbin/nginx
5 S www-data 1746 1744 0 80 0 - 6359 ep_pol 21:07 ? 00:00:00 nginx: worker process
5 S www-data 1747 1744 0 80 0 - 6359 ep_pol 21:07 ? 00:00:00 nginx: worker process
5 S www-data 1748 1744 0 80 0 - 6359 ep_pol 21:07 ? 00:00:00 nginx: worker process
5 S www-data 1749 1744 0 80 0 - 6359 ep_pol 21:07 ? 00:00:00 nginx: worker process
5 S root 1761 1 0 80 0 - 108450 ep_pol 21:07 ? 00:00:00 php-fpm: master process (/usr/local/php/etc/php-f
5 S www-data 1762 1761 0 80 0 - 108450 skb_re 21:07 ? 00:00:00 php-fpm: pool default
5 S www-data 1763 1761 0 80 0 - 108450 skb_re 21:07 ? 00:00:00 php-fpm: pool default
4 S root 1860 1 0 80 0 - 6336 ep_pol 21:07 ? 00:00:00 /usr/lib/postfix/master
4 S postfix 1869 1860 0 80 0 - 6852 ep_pol 21:07 ? 00:00:00 pickup -l -t unix -u -c
4 S postfix 1870 1860 0 80 0 - 6865 ep_pol 21:07 ? 00:00:00 qmgr -l -t unix -u
1 S root 1878 1 0 80 0 - 2671 poll_s 21:07 ? 00:00:00 /usr/sbin/pptpd
1 S root 1894 1 0 80 0 - 1110 poll_s 21:07 ? 00:00:00 /usr/sbin/xl2tpd
4 S root 1948 1 0 80 0 - 3955 n_tty_ 21:07 tty1 00:00:00 /sbin/getty -8 38400 tty1
4 S root 1961 1034 0 80 0 - 26409 poll_s 21:07 ? 00:00:00 sshd: root@pts/0
1 S root 1963 2 0 80 0 - 0 worker 21:07 ? 00:00:00 [btrfs-endio-wri]
1 S root 1965 2 0 80 0 - 0 kaudit 21:08 ? 00:00:00 [kauditd]
4 S root 2012 1961 0 80 0 - 5848 wait 21:08 pts/0 00:00:00 -bash
0 R root 2028 2012 0 80 0 - 4612 - 21:08 pts/0 00:00:00 ps -elf
关于mysql - 如果 mysql (mariadb) 服务正在运行,Linux 服务器运行缓慢,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24782898/
谁能解释一下 Server.MapPath(".")、Server.MapPath("~")、Server.MapPath(@"之间的区别\") 和 Server.MapPath("/")? 最佳答案
我不知道,为什么我们要使用 Server.UrlEncode() & Server.UrlDecode()?!在 QueryString 中我们看到 URL 中的任何内容,那么为什么我们要对它们进行编
我已经通过 WHM 在我的一个域上安装了 ssl 证书。网站正在使用 https://xyz.com . 但是它不适用于 https://www.xyz.com .我已经检查了证书,它也适用于 www
我已经使用 WMI 检测操作系统上是否存在防病毒软件,itz 正常工作并通过使用命名空间向我显示防病毒信息,例如 win xp 和 window7 上的名称和实例 ID:\root\SecurityC
我们有 hive 0.10 版本,我们想知道是否应该使用 Hive Server 1 或 Hive Server2。另一个问题是连接到在端口 10000 上运行的 Hive 服务器,使用 3rd 方工
我想在 C++ 中使用 Windows Server API 设置一个 HTTPS 服务器,我使用了示例代码,它在 HTTP 上工作正常,但我就是不能让它在 HTTPS 上工作。 (我不想要客户端 S
我写了一个非常基本的类来发送电子邮件。我用 smtp 服务器对其进行了测试,它工作正常,但是当我尝试使用我公司的交换服务器时,它给出了这个异常: SMTP 服务器需要安全连接或客户端未通过身份验证。服
我的应用程序包含一个“网关”DataSnap REST 服务器,它是所有客户端的第一个访问点。根据客户端在请求中传递的用户名(基本身份验证),请求需要重定向到另一个 DataSnap 服务器。我的问题
我有一个 Tomcat 服务器和一个 Glassfish4 服务器。我的 Servlet 在 Tomcat 服务器上启动得很好,但在 Glassfish4 服务器上给我一个“HTTP Status 4
我在 vmware 上创建了一个 ubuntu 服务器。我用它作为文件服务器。如果我通过托管虚拟机的计算机进行连接,则可以访问它。我无法从同一网络上的其他计算机执行此操作。提前致谢! 最佳答案 首先确
如何重启 Rails 服务器?我从 开始 rails server -d 所以服务器是分离的 我知道的唯一方法就是去做ps 辅助 | grep rails 并 kill -9关于过程#但是像这样杀死进
我实际上正在尝试找到编写一个简单的 XMPP 服务器的最佳方法,或者找到一个占用空间非常小的服务器。我只关心XMPP的核心功能(状态、消息传递、群组消息传递)。目前还在学习 XMPP 协议(proto
我实际上正在尝试找到编写简单 XMPP 服务器的最佳方法,或者找到一个占用空间非常小的方法。我只关心 XMPP 的核心功能(统计、消息、组消息)。目前也在学习 XMPP 协议(protocol),所以
我们正在尝试从 Java JAX-RS 适配器访问 SOAP 1.1 Web 服务。 我们正在使用从 WSDL 生成的 SOAP 客户端。 但是当解码 SOAP 故障时,我们得到以下异常: ... C
目前,我和许多其他人正在多个平台(Windows、OS X 和可能的 Linux)上使用 Python HTTP 服务器。我们正在使用 Python HTTP 服务器来测试 JavaScript 游戏
我有一个连续运行的服务器程序(C#/.NET 2.0 on Linux with mono),我想从 PHP 脚本连接到它以在网站上显示状态信息。 目的是创建一个(某种)实时浏览器游戏(无 Flash
所以我有一个单页客户端应用程序。 正常流程: 应用程序 -> OAuth2 服务器 -> 应用程序 我们有自己的 OAuth2 服务器,因此人们可以登录应用程序并获取与用户实体关联的 access_t
我们刚刚将测试 Web 服务器从 Server 2008 升级到 Server 2012 R2。我们有一个部署我们网站的批处理脚本。当它将站点推送到服务器时,它现在失败了。奇怪的是,我可以使用相同的发
建议一些加载SpagoBI服务器的方法,我尝试了所有方法来解析spagobi服务器。在 Catalina 中,错误是 - * SEVERE: Unable to process Jar entry [
当我们点击应用程序服务器(apache tomcat)时,它会创建一个线程来处理我们的请求并与 tomcat 连接,建立连接,tomcat 创建另一个线程来处理请求并将其传递给连接,连接线程将其传递给
我是一名优秀的程序员,十分优秀!