Bash script coder

Status
This thread has been locked.

Fire

Always DM me here before dealing via Discord.
Supreme
Feedback score
74
Posts
3,045
Reactions
1,745
Resources
0
Hi, I’m in need of a bash script that will monitor the CPU usage of each instance of java that is running. If any of the instances is running at 600% + CPU usage for longer than 2 mins, a command is run (that I will add later) with the variable called PID, with the processes PID. For now, you could just add echo $pid then reset the timer.

The script must also do the same for 300% usage, however on a 10 min timer.

The script must also log each time it echos the pid by writing the time, date, pid, user, and command.

Bellow briefly state your experience with bash, and how much you would charge for making the script for me. It’s something I could do myself, so I’m not looking to pay a great deal, but enough to save me the haste of writing and testing it, bash tends to irritate me.

Any questions, feel free to ask.
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

XenoPanel

Next Generation Game Control Panel [XenoPanel.com]
Premium
Feedback score
0
Posts
114
Reactions
81
Resources
0
Hello. If you still need this Private message me :) It's pretty simple to do.
 
Status
This thread has been locked.
Top