I want to create a command with cpulimit that kill and restore gnome-shell process when it consume 20 percent of cpu.
with this line i can kill: sudo cpulimit -e gnome-shell -l 20 -k
but I want to kill and again start gnome-shell .
            Asked
            
        
        
            Active
            
        
            Viewed 176 times
        
    0
            
            
        