ciscosecureendpointresourcemonitor's People
ciscosecureendpointresourcemonitor's Issues
Crashing on process check
After about 20 minutes, program crashes after logging:
logging.info("Pull sfc, cscm and orbital information from processes")
Need to add additional logging to determine the issue
Graceful check for pysimplegui
ModuleNotFoundError: No module named 'PySimpleGUI' when running py main.py without first pip installing pysimplegui.
might want to handle this, though i think long-term probably packaging into exe anyway so might not matter
Resource usage test allowed to start with no engines selected
I'd expect this wouldn't be possible?
CPU usage shows over 100%
Usage stats don't zero out
Take orbital as an example. Run with orbital checked, then stop, then run w/o orbital checked.
The last value of orbital remains. I'd expect these values to get zeroed out either upon stopping of the first test, or upon beginning the second test.
Add RAM and CPU actual usage beside percentage
Percentage usage is nice, but actual amount of usage would also be good.
FileNotFoundError: [Errno 2] No such file or directory: 'C:/Program Files/Cisco/AMP/installed_services.csv'
looks like maybe this file only gets created after a diag file has been run at least once?
Orbital Query crashed the program
Ran an orbital query and the program crashed with this error:
Traceback (most recent call last):
File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\venv\lib\site-packages\psutil\_common.py", line 447, in wrapper
ret = self._cache[fun]
AttributeError: _cache
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\venv\lib\site-packages\psutil\_pswindows.py", line 679, in wrapper
return fun(self, *args, **kwargs)
File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\venv\lib\site-packages\psutil\_common.py", line 450, in wrapper
return fun(self)
File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\venv\lib\site-packages\psutil\_pswindows.py", line 766, in exe
exe = cext.proc_exe(self.pid)
ProcessLookupError: [Errno 3] assume no such process (originated from psutil_pid_is_running -> 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\main.py", line 272, in <module>
main(window)
File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\main.py", line 224, in main
if proc.name() == "sfc.exe":
File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\venv\lib\site-packages\psutil\__init__.py", line 617, in name
name = self._proc.name()
File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\venv\lib\site-packages\psutil\_pswindows.py", line 750, in name
return os.path.basename(self.exe())
File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\venv\lib\site-packages\psutil\_pswindows.py", line 681, in wrapper
raise convert_oserror(err, pid=self.pid, name=self._name)
psutil.NoSuchProcess: psutil.NoSuchProcess process no longer exists (pid=2428)
Process finished with exit code 1
local variable 'orbital' referenced before assignment
not sure why, will poke
Permission errors if run as User
When calculating disk usage, permission errors can be hit if the user doesn't have permission to read the file such as some .tmp files. Need to make an exception or change the functionality to account for this.
Admin user doesn't recognize button state
Functionality relies on reading Start and Stop button states but if you run the program as Admin, this is not recognized. Need to change this functionality to a variable.
Maybe highlight in green (rising) or red (falling) when values change
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.