-
Notifications
You must be signed in to change notification settings - Fork 51
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
Not getting all the memory and the cpu usage! #6
Comments
The CPU and memory information are published on ROS topics. You should be able to see them if you run |
Hi, |
The code uses the entries of If you run If there are names in the output that don't show up when you run the node, then you can add them to https://github.com/alspitz/cpu_monitor/blob/master/monitor.py#L50. The documentation for |
what is the unit of memory here? |
The memory values are grabbed directly from psutil's output of |
@leojaie Actually there was a bug after the conversion to Python 3 where these system-wide memory topics would not get published and that sounds exactly like what you described. Sorry about that. Should be fixed by ab3ec38. |
hi
when i run the program, this is my output:
7H:~/PycharmProjects/cpu_monitor-master$ python monitor.py
[INFO] [1609940542.760856]: [cpu monitor] adding new node /cpu_monitor
[INFO] [1609940542.769134]: [cpu monitor] adding new node /rosout
[INFO] [1609940542.777597]: [cpu monitor] adding new node /Mono
I'm not getting any of the memory information or any other information about the program i'm running! Is there something that I have to modify in the program?
thanks,
The text was updated successfully, but these errors were encountered: