mahfudzaji ← CloudLinux UserVoice has been deprecated as of March 1st, 2023 My feedback 1 result found Capture the thread of the process and show it on lve-read-snapshot 1 vote Vote Vote Vote Vote We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close 1 vote 2 votes 3 votes Remove votes You have left! (?) (thinking…) Gathering Votes · 1 comment · General · Delete… · Admin → How important is this to you? Not at all You must login first! Important You must login first! Critical You must login first! We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close An error occurred while saving the comment mahfudzaji commented · Aug 13, 2021 · Edit… · Delete… Like this ``` $ pstree -apu n9042934 lsphp,1505282 ├─lsphp,2887318 └─lsphp,2897139 node,1060808 /usr/local/lsws/fcgi-bin/lsnode.js ├─{node},1060926 ├─{node},1060927 └─{node},1060928 node,1737694 ├─{node},1737798 ├─{node},1737799 ├─{node},1737800 ├─{node},1737801 ├─{node},1737802 ├─{node},1737803 ├─{node},1757405 ├─{node},1757406 ├─{node},1757407 └─{node},1757408 node,2574173 /usr/local/lsws/fcgi-bin/lsnode.js ├─{node},2574386 ├─{node},2574387 └─{node},2574388 ``` If checked from lve-read-snapshot of cpanel's plugin, all we see only the main process captured, but nproc in lvestat showing high number because nproc is counting not only the process but also the thread Save Submitting... mahfudzaji shared this idea · Aug 13, 2021
Like this
```
$ pstree -apu n9042934
lsphp,1505282
├─lsphp,2887318
└─lsphp,2897139
node,1060808 /usr/local/lsws/fcgi-bin/lsnode.js
├─{node},1060926
├─{node},1060927
└─{node},1060928
node,1737694
├─{node},1737798
├─{node},1737799
├─{node},1737800
├─{node},1737801
├─{node},1737802
├─{node},1737803
├─{node},1757405
├─{node},1757406
├─{node},1757407
└─{node},1757408
node,2574173 /usr/local/lsws/fcgi-bin/lsnode.js
├─{node},2574386
├─{node},2574387
└─{node},2574388
```
If checked from lve-read-snapshot of cpanel's plugin, all we see only the main process captured, but nproc in lvestat showing high number because nproc is counting not only the process but also the thread