Search Results

Search: Posts Made By: james101
45,300
Posted By james101
thanks for the advice it worked now after some...
thanks for the advice it worked now after some tests I have come to write this code

#!/bin/bash
sudo python3 main.py &
sleep 5
pidlist=$(pidof python3 main.py)
echo "$pidlist"
read FIRST __...
45,300
Posted By james101
I'm new to bash programming, I started writing a...
I'm new to bash programming, I started writing a script and after testing it I always get the same error,syntax error near unexpected token 'fi'
how to proceed? I run the code on an ec2 aws istance...
45,300
Posted By james101
Bash script to periodically monitor a process's memory usage
I'm looking for a bash script that allows me to start a process in background, monitor its memory consumption every 10 minutes for example, and if it exceeds a certain value kill it and restart it. ...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 07:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy