调优命令记录
1 ls
2 ll
3 cd webserver/
4 ls
5 ll
6 ln -sv /data3/webserver/* .
7 ll
8 ls
9 cd webserver/
10 ls
11 ll
12 ln -sv /data3/webserver/product-comment-solr/ .
13 ./product-comment-solr/product-comment-solr-slave/bin/catalina.sh run
14 cd webserver/
15 ./product-comment-solr/product-comment-solr-slave/bin/catalina.sh run
16 jps
17 jstat -gc 34715 1000 100
18 jmap -histo:live 24715|more
19 jmap -histo:live 34715|more
20 top
21 exit
22 top
23 jps
24 sudo su -
25 jstack
26 top
27 jstack 3485|more
28 ps -ef|grep 3485
29 jstack 3485|more
30 top
31 top -H
32 jstack 3485|more
33 jstack 3485|grep RUNNABLE
34 jstack 3485|grep RUNNABLE|wc -l
35 jstack 3485|grep WAITING|wc -l
36 jstack 3485|grep TIME_WAITING|wc -l
37 jstack 3485|more
38 ptree
39 pstree
40 pstree -p 3485|more
41 top
42 top -H -u search
43 jstack 3485 |more
44 cd /var/log/java/supervisor/
45 ls
46 ls search/
47 ls search/zhe-search/
48 cat search/zhe-search/zhe-solr-web-deal-slave.log |grep http-bio-8207-exec-296
49 cat search/zhe-search/zhe-solr-web-deal-slave.log |grep 296
50 tail -f search/zhe-search/zhe-solr-web-deal-slave.log
51 tail -100 search/zhe-search/zhe-solr-web-deal-slave.log
52 netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'
53 jstat -gcutil 3485 1000 100
54 jmap
55 jmap -heap 3485
56 ps -ef|grep 3485
57 env
58 top
59 jmap -heap 3485
60 jstat -gcutil 3485 1000 100
61 ps -ef|grep 3485
62 cd /data3/webserver/zhe-search/zhe-solr-web-deal-slave
63 ls
64 cd bin/
65 ls
66 cd ../conf/
67 ls
68 cat server.xml |more
69 ls
70 cat catalina.properties
71 ls
72 cd ../bin/
73 ls
74 cat catalina.sh |more
75 top
76 ps -ef|grep 16894
77 jstat -gcutil 16894 1000 100
78 top
79 jstat -gcutil 16894 1000 100
80 cd /var/log/java/supervisor/search/zhe-search/
81 ls
82 tail zhe-solr-web-deal-slave.log
83 tail -f zhe-solr-web-deal-slave.log
84 cd ..
85 ls
86 cd ..
87 ls
88 ls rcuser/
89 jstat -gcutil 16894 1000 100
90 jmap -heap 16894
91 jstat -gcutil 16894 1000 100
92 toop
93 top
94 平时
95 ps -ef|grep 16894
96 cd /data3/webserver/zhe-search/zhe-solr-web-deal-slave/bin
97 cd ..
98 ls
99 cd logs/
100 ls
101 tail -f solr.log
102 cat /data3/webserver/zhe-search/zhe-solr-web-deal-slave/conf/logging.properties
103 cd /var/log/java/search/zhe-search/zhe-solr-web-deal-slave
104 ls
105 cd webserverlog/
106 ls
107 tail -f catalina.2017-08-28.log
108 tail -100 catalina.2017-08-28.log
109 tail -f /var/log/java/supervisor/search/zhe-search/zhe-solr-web-deal-slave.log
110 jstat -gcutil 16894 1000 100
111 ls
112 tail -f host-manager.2017-08-28.log
113 tail -f localhost.2017-08-28.log
114 cd /data3/webserver/zhe-search/zhe-solr-web-deal-slave/bin
115 cd ../webapps/
116 ls
117 cd zhe800-solr-web-deal/
118 ls
119 cd WEB-INF/classes/
120 ls
121 cat log4j.properties
122 jstat -gcutil 16894 1000 100
123 top
124 cd ..
125 ls
126 cd ..
127 ls
128 cd ..
129 ls
130 cd ..
131 ls
132 ls logs/
133 ps -ef|grep 16894
134 cat /data3/webserver/zhe-search/zhe-solr-web-deal-slave/conf/logging.properties
135 jstat -gcutil 16894 1000 100
136 top
137 jstat -gcutil 15050 1000 100
138 jstat -gcutil 15650 1000 100
139 top
140 jstat -gcutil 15650 1000 100
141 ps -ef|grep java
142 ps -ef|grep 3441
143 jstat -gcutil 3441 1000 100
144 top
145 ls
146 cd /var/log/java/
147 ls
148 cd supervisor/
149 ls
150 cd search/
151 ls
152 cd zhe-search/
153 ls
154 tail -f zhe-solr-web-deal-slave.log
155 top
156 tp
157 top
158 ps -ef|grep 15650
159 ls
160 tail -f zhe-solr-web-deal-slave.log
161 cd /data3/webserver/zhe-search/zhe-solr-web-deal-slave
162 ls
163 cd bin/
164 ls
165 cat catalina.sh |more
166 cd ../conf/
167 ls
168 cat logging.properties
169 cd ..
170 ls
171 ls /var/log/java/search/zhe-search/zhe-solr-web-deal-slave/webserverlog
172 tail -f /var/log/java/search/zhe-search/zhe-solr-web-deal-slave/webserverlog/catalina.2017-08-28.log
173 ls logs/
174 cat logs/solr.log
175 ls
176 ls start
177 cd webapps/
178 ls
179 cd zhe800-solr-web-deal/
180 ls
181 cd WEB-INF/
182 ls
183 cat web.xml |more
184 ls
185 ls classes/
186 cat classes/log4j.properties
187 cd ../..
188 ls
189 cd ..
190 ls
191 cd ..
192 ls
193 ls logs/
194 cd logs/
195 ls
196 tail -f solr.log
197 ls
198 cd ..
199 ls
200 ls zhe-search/
201 ls zhe-search/webapps/
202 ls zhe-search/webapps/zhe800-search/
203 ls
204 cd zhe-solr-web-deal-slave
205 ls
206 top
207 ps -ef|grep 3441
208 ps -ef|grep 15650
209 cat /data3/webserver/zhe-search/zhe-solr-web-deal-slave/conf/logging.properties
210 ls /var/log/java/search/zhe-search/zhe-solr-web-deal-slave/webserverlog
211 tail -f /var/log/java/search/zhe-search/zhe-solr-web-deal-slave/webserverlog/catalina.2017-08-28.log
212 jmap
213 jmap -histo:live 15650|more
214 jmap -F -histo:live 15650|more
215 jmap -histo:live 15650|more
216 ifconfig
217 jstat -gcutil 15650 1000 100
218 jstat
219 jstat -gcutil 3441 1000 100
220 jstat -gcutil 15650 1000 100
221 ps -ef|grep 15650
222 ls
223 top
224 jmap -histo:live 15650|more
225 top
226 ifconfig
227 cd /data3/webserver/zhe-search/zhe-solr-web-deal-slave
228 ls
229 cd conf/
230 ls
231 cd zhe800_solr_deals/
232 ls
233 cd deals/
234 ls
235 cd conf/
236 ls
237 cat solrconfig.xml|more
238 pwd
239 top
240 jstat -gcutil 15668 1000 100
241 ps -ef|grep 15668
242 top
243 jstat -gcutil 15668 1000 100
244 top
245 jstat -gcutil 21128 1000 100
246 jstat -gcutil 21128 1000 1000
247 top
248 jstat -gcutil 21128 1000 1000
249 top
250 jstat -gcutil 21128 1000 1000
251 history
posted on 2018-04-16 14:12 zhouzhou0615 阅读(158) 评论(0) 编辑 收藏 举报