Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. [SOMETHING LIKE CONKY - but more efficient]
  2.  
  3. * Information
  4. ** What information is needed?
  5. *** Examples
  6. **** Time and date
  7. **** CPU (load,number,frequency,temperature)
  8. **** Memory (free/used)
  9. **** HDD (free/used/temperature)
  10. **** Battery (capacity/remaining time)
  11. **** Network (connection/quality/bandwith)
  12. ** How do we get that information?
  13. *** Possible Sources
  14. **** acpi
  15. **** /proc/
  16. **** powertop
  17. **** du
  18.  
  19. * Optimization
  20. ** How do we reduce unnecessary operations?
  21. *** Refresh information context-based - That means that e.g. free space on the harddrive doesn't have to be update as often as the cpu load.
  22. ** How do we organize memory?
  23.  
  24. * Output
  25. ** How do we print stuff on the screen?
  26. *** Dzen?
  27. *** Own solution?
  28. **** How do we achive bar-like behavior?
  29.  
  30. * Language
  31. ** Pure C as it is faster!
  32. *** How "structured" should the programm be?
  33. *** Easy approach: Array with [name], [command], [timing]
  34. *** Use fopen on files like /proc/meminfo -> Loads a lot of unnecessary data but is there another way?
  35. *** Don't use system as it outputs directly...
  36. *** Are real systemcalls faster than <stdio.h> functions?
  37. ** Why not use python?
  38. *** Advantages of C are more critical if a lot of data is handled...
  39. ** Which libraries are needed?
  40. *** Do we need anything non-standard?
  41.  
  42. * Configuration
  43. ** How much should the user be able to configure the programm without having to recompile it?
  44. *** Should this even be possible?
  45. *** Loading a configuration only takes constant time. How about evaluation? Does having a dynamic configuration anyhow influence the programms performance?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement