pid_max的分析和修改
pid\max内核源码处理分析以linux3.2.6为例子分析init/main.c:asmlinkagevoidinitstartkernel(void)kernel/pid.c:voidinitpidmapinit(void)voidinitpidmapinit(void)/bumpdefaultandmi
Wesley13 Wesley13
2年前
Java面试
<divclass"htmledit\_views"id"content\_views"<pid"maintoc"<strong目录</strong</p<pid"Java%E5%9F%BA%E7%A1%80%EF%BC%9Atoc"style"marginleft:40px;"<ahref"Java%E5%
Wesley13 Wesley13
2年前
1、简单排查java应用CPU飙高的线程问题
1\.获取要查看的进程的IDpsaux|grepxxx2\.查看此进程下的线程信息topHp<pidtopp<pid   按shifthtopHp<pid    3\.查看栈信息jstac
Wesley13 Wesley13
2年前
MySQL 查询MAX函数+GROUP BY的一个误区
    首先,创建一个表如下,pid为主键,并且自动增长CREATE TABLE theTable (  pid INT UNSIGNED PRIMARY KEY AUTO_INCREMENT,  timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP,  cost I
Stella981 Stella981
2年前
PostgreSQL死锁进程及慢查询处理
1、死锁进程查看:SELECTFROMpg_stat_activityWHEREdatname'数据库名称'andwaitingtrue;pid进程id。2、慢查询SQL:selectdatname,pid,usename,application_name,client_addr,client
Wesley13 Wesley13
2年前
PHP创建多级树型结构
<!lang:php<?php$areaarray(array('id'1,'pid'0,'name''中国'),array('id'5,'pid'0,'name''美国'),array('id'2,'pid'1,'name''吉林'),array('id'4,'pid'2,'n
Stella981 Stella981
2年前
Linux下定时重启tomcat脚本
!/bin/sh./etc/profilepidpsaux|greptomcat|grepvgrep|grepvretomcat|awk'{print$2}'echo$pidifn"$pid"then
Stella981 Stella981
2年前
Nginx配置文件nginx.conf详解
usernginx;用户worker\_processes8;工作进程,根据硬件调整,大于等于cpu核数error\_loglogs/nginx\_error.logcrit;错误日志pidlogs/nginx.pid;pid放置的位置worker\_rlimit\_nofi
Wesley13 Wesley13
2年前
JS加密解密
调用方法示例:<!DOCTYPEhtml<html<head<metacharset"UTF8"<title</title</head<body<pid"a"</p<pid"b"</p
达里尔 达里尔
6天前
8080端口被占用解决方法
Error:listenEADDRINUSE:addressalreadyinuse:::8080打开cmd首先搜索8080端口是否被占用:netstatano|findstr:8080然后找到占用的PID值比如当前占用的PID就是4668然后关掉这个占用