some command

master
JimZhang 1 year ago
parent 79e32f4db9
commit 6a39310096

@ -18,3 +18,14 @@ cat file |awk 'BEGIN {T=0} (T!=systime()) { printf "%s %s\n",NR,$0 ; T=systime()
lsof |grep delete | sort -nrk 7| more lsof |grep delete | sort -nrk 7| more
``` ```
### python 内存监测
```bash
pip install memray
memray run --live -m module.file
```
### python cpu监测
```bash
pip install py-spy
py-spy top --pid ${pid}
```

@ -88,7 +88,7 @@ li {
margin: 2rem auto; margin: 2rem auto;
padding: 2rem 2rem 0 2rem; padding: 2rem 2rem 0 2rem;
.list { .list {
min-height: 72vh; min-height: 64vh;
} }
} }
.discus { .discus {

Loading…
Cancel
Save