-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathto_add
More file actions
30 lines (27 loc) · 1.84 KB
/
Copy pathto_add
File metadata and controls
30 lines (27 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
SH:
1. System live monitoring (applied for disc eat, and for mem eat, for cpu eat) (done)
2. End subscript without kill the main script (while dame) and automatically delete eat/ directory when script is stopped (done)
3. Add easy way to exit cpu consumption script and main hard_stress script (done)
4. Add comments in every script (done)
5. Add Multitreading CPU consumption test (done, but make a live stats)
---just test---
PY:
WARN: when CPU consumption is 99.9% and higher, the machine is down!!!!!
6. Main - Merge into one script - Implement mode selection via cli keys(-m memory, -c cpu) (done)
7. Implement pseudo dame file as a function in main py script (add deleting mechanism of spaceeating file after sigkill) (done)
9. Change multiprocessing by shared libraries https://stackoverflow.com/questions/6832554/multiprocessing-how-do-i-share-a-dict-among-multiple-processes (done)
10. Make script stopping mechanism while CPU and mem_eat is on it's way to prevent whole machine freeze - via echo server using telnet (done)
11. Make nice message after remote CPU cons (4 threads) and memory cons stopping (done)
12. Remotely stop mem cons after MemoryError exception was caught (done)
13. Make mem cons to run unlimited time, up to remote kill - maybe daemons will be help (done)
14. Output to user ip address of echo server
15. Make the timestamps (done)
16. Make disc cinsumption via trhreads (done)
####################################
17. Kill main script after mem_cons was remotely killed - to speed up memory cleaning (done)
### After run ###
1. Make mem eat faster: eat a first step ~ 10 Gb per step, then (if there is < 10 Gb at all) 5 Gb per step, 2, 1 etc. (done)
2. Make CPU eat more constant.
3. Make another server for remote grep ps ux
4. Change -h message to more readible:
"-m","--mode", help="Select mode (cpu/cpu1/mem/disc)" needed to be at the top.