Search Results

Search: Posts Made By: baris35
4,717
Posted By baris35
Thank You Bakunin for your detailed explanation, ...
Thank You Bakunin for your detailed explanation,
* I have put shebang to script for crontab tasks.
* During surfing on forums, I realized that there were many different ps variations giving...
4,717
Posted By baris35
Hello Rudic, You are right, works for just one...
Hello Rudic,
You are right, works for just one process.
I think the problem happens as 0.0 not equal to 0.
I have multiple vlc processes, for that reason I should tell script to kill pid where cpu...
4,717
Posted By baris35
Thank You Don and Rudic, So far, here is what I...
Thank You Don and Rudic,
So far, here is what I did:
Program name is cvlc as I am running under command line.
watch -n5 "ps aux -y | grep 'zoltan' | grep 'cvlc' | awk '{print \$4}'"
At the...
4,717
Posted By baris35
How to restart shell script when cpu is 0.0%?
Hello,
My operating system is ubuntu 16.04. I need to kill or restart a shell script when cpu usage of related process is equal to 0.0% for X seconds. Appearing name on top page is vlc
While...
Showing results 1 to 4 of 4

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