Can this be modified to monitor upload traffic?
-Linux Mint 18 Cinnamon 64bit Clean install.
-Running an Apahce2 server for Nextcloud
While running this script it will suspend the server even while its being accessed. For example, I want to synchronize a music album to my phone, in the middle of downloading the files to my phone it will suspend the server as its upload traffic. It logs anything I send to the server as download traffic, although with the OS suspend set at 15 minutes of inactivity, the server will suspend in the middle of a download at 15 minutes, script or not. Turning it off in the OS led to it never going to sleep even though the script was saying it tried to suspend.
How can I mod it to monitor upload traffic as well, and what should I do with the server OS suspend settings?
Follow up question, I tried adding it to startup applications by clicking browse next to the command line, navigated to the script and adding -r at the end so it looks like this: /home/user/
Thanks for this incredible code thus far, it is exactly what I need to keep power consumption down with this cloud server.
-Ackevor
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Keep.Awake Edit question
- Assignee:
- DanglingPointer Edit question
- Last query:
- Last reply:
- Whiteboard:
- Requesting information on how the program was executed.