<commit_before>
           
   PS-LIST  
           



ALTERNATIVES ==>                  #Cross-OS:
                                  #  - ps-list (preferred)
                                  #     - process-exists: only check existence, based on ps-list
                                  #  - ps-tree
                                  #  - pidtree: include descendants
                                  #  - pid-from-port: get by port
                                  #Windows only:
                                  #  - tasklist (preferred): more features
                                  #  - fastlist: faster, but is in C

VERSION ==>                       #7.0.0

PS-LIST([OPTS])->PROMISE_OBJ_ARR  #Returns list of processes:
                                  #  - on Unix, uses `ps a pid,comm,args,ppid,%cpu,%mem`
                                  #  - on Windows, uses FASTLIST (see its doc)
                                  #OPTS (Unix only):
                                  #  - all BOOL: if true (def), uses `ps a`, otherwise `ps wwxo`
                                  #OBJ_ARR:
                                  #  - name STR
                                  #  - pid NUM
                                  #  - ppid NUM
                                  #  (Unix only)<commit_msg>no commit message<commit_after>
           
   PS-LIST  
           



ALTERNATIVES ==>                  #Cross-OS:
                                  #  - ps-list (preferred)
                                  #     - process-exists: only check existence, based on ps-list
                                  #  - ps-tree
                                  #  - pidtree: include descendants
                                  #  - pid-from-port: get by port
                                  #Windows only:
                                  #  - tasklist (preferred): more features
                                  #  - fastlist: faster, but is in C

VERSION ==>                       #7.1.0

PS-LIST([OPTS])->PROMISE_OBJ_ARR  #Returns list of processes:
                                  #  - on Unix, uses `ps a pid,comm,args,ppid,%cpu,%mem`
                                  #  - on Windows, uses FASTLIST (see its doc)
                                  #OPTS (Unix only):
                                  #  - all BOOL: if true (def), uses `ps a`, otherwise `ps wwxo`
                                  #OBJ_ARR:
                                  #  - name STR
                                  #  - pid NUM
                                  #  - ppid NUM
                                  #  (Unix only)
{'fraction_non_alphanumeric': 0.2693009118541033, 'fraction_numerical': 0.00182370820668693, 'mean_word_length': 1.0581613508442778, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 40, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4938358', 'n_tokens_mistral': 2713, 'n_tokens_neox': 2647, 'n_words': 165}