Search Results

Search: Posts Made By: drd0spt
6,877
Posted By RudiC
This one does work on my linux/bash system; not...
This one does work on my linux/bash system; not sure it will on yours as you don't mention details:while read PID CPU REST < <(ps -eo pid,pcpu,args|grep [b]ackup)
do echo $CPU
sleep...
6,877
Posted By Yoda
Will this work for you? if [ $( ps -ef | grep...
Will this work for you?
if [ $( ps -ef | grep -v grep | grep -c backup ) -eq 1 ]
then
UNIX95= ps -ef -o pid,pcpu,args | grep backup | grep -v grep | read _PID _CPU _ARGS
if [ ${_CPU}...
1,194
Posted By Yoda
filename="server1-ips-ultranoob-ok_From_2012_21_12...
filename="server1-ips-ultranoob-ok_From_2012_21_12-23:40:23_To_2012_21_12-23:49:45.zip"
DT=$( echo $filename | awk -F"From_" ' { print substr($2,1,10) } ' )
echo $DT
2012_21_12
Forum: Cybersecurity 11-21-2012
2,680
Posted By jim mcnamara
I'm confused - please tell us what problem you...
I'm confused - please tell us what problem you are trying to solve.
Showing results 1 to 4 of 4

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