Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No output in a Windows 10 VM on host Ubuntu #116

Open
nyck33 opened this issue Dec 7, 2022 · 2 comments
Open

No output in a Windows 10 VM on host Ubuntu #116

nyck33 opened this issue Dec 7, 2022 · 2 comments

Comments

@nyck33
Copy link

nyck33 commented Dec 7, 2022

(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
Copy link
Author

nyck33 commented Dec 7, 2022

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
Copy link

suivalf commented Feb 11, 2023

Hey, do you have Python 3 installed?
See this:
https://stackoverflow.com/questions/64801225/python-or-python3-what-is-the-difference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants