No output in a Windows 10 VM on host Ubuntu
nyck33 opened this issue · 2 comments
nyck33 commented
(tasklistlog) PS C:\Users\nobut\Documents\keyLogTasksList> python3 process_monitor.py --sort-by create_time -n 10
Loading personal and system profiles took 2978ms.
(base) PS C:\Users\nobut\Documents\keyLogTasksList> conda activate tasklistlog
(tasklistlog) PS C:\Users\nobut\Documents\keyLogTasksList> python3 process_monitor.py --sort-by create_time -n 10
(tasklistlog) PS C:\Users\nobut\Documents\keyLogTasksList> python3 process_monitor.py --columns name,cpu_usage,memory_usage,status -n 20 --sort-by memory_usage --descending
(tasklistlog) PS C:\Users\nobut\Documents\keyLogTasksList> python3 process_monitor.py --help
(tasklistlog) PS C:\Users\nobut\Documents\keyLogTasksList>
nyck33 commented
It worked with python
not python3
. But when I try option -c username
all I get is N/A.
Why does this happen when I can run in command prompt tasklist /fi "username eq nyck33" /V
and get the username? Ie. there should not be any restrictions.
Please see here: https://www.reddit.com/r/learnpython/comments/zevvki/subprocess_get_username_name_of_process_time/?utm_source=share&utm_medium=web2x&context=3
suivalf commented
Hey, do you have Python 3 installed?
See this:
https://stackoverflow.com/questions/64801225/python-or-python3-what-is-the-difference