diff --git a/content/posts/linux-command.md b/content/posts/linux-command.md index 50f32d5..5c7fb19 100644 --- a/content/posts/linux-command.md +++ b/content/posts/linux-command.md @@ -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 ``` +### python 内存监测 +```bash +pip install memray +memray run --live -m module.file +``` + +### python cpu监测 +```bash +pip install py-spy +py-spy top --pid ${pid} +``` \ No newline at end of file diff --git a/sass/no-style-please.scss b/sass/no-style-please.scss index 3d8c734..fc7fee7 100644 --- a/sass/no-style-please.scss +++ b/sass/no-style-please.scss @@ -88,7 +88,7 @@ li { margin: 2rem auto; padding: 2rem 2rem 0 2rem; .list { - min-height: 72vh; + min-height: 64vh; } } .discus {