Search Results

Search: Posts Made By: Castelior
934
Posted By balajesuri
Can you try this: sed -n "/$MMCHAR $DD...
Can you try this:
sed -n "/$MMCHAR $DD $HBEGINBCK/,/$MMCHAR $DD $HENDBACKUP/p"
1,188
Posted By pamu
Try awk '/TAG/{a++;next} {print > "File"a}'...
Try

awk '/TAG/{a++;next} {print > "File"a}' file
1,242
Posted By jim mcnamara
If a user creates a child process using your...
If a user creates a child process using your menu, then logs off, that user does not show in "who".

There are lots of users like "nobody" that cannot login ever, never show in "who", but can have...
2,323
Posted By RudiC
What about rm -i *3BB*? The -i for safety...
What about rm -i *3BB*? The -i for safety reasons...
1,010
Posted By RudiC
I'm not sure I understand correctly what you...
I'm not sure I understand correctly what you specify. Guessing you want to find "Clone" and then output the second field before, try this:awk -F: '/Clone/ {i=1; while (i<=NF) if ($++i=="Clone") print...
1,010
Posted By pamu
Try this...
Already provided above.....:(


awk -F ":" '{ for ( i=1;i<=NF;i++ ) { if ( $i == "Clone" ) { print $(i-2) } }}' file3
1,010
Posted By delugeag
Or with awk : awk -F ':' '{for (i=1;i<=NF;i++)...
Or with awk :
awk -F ':' '{for (i=1;i<=NF;i++) if ($i == "Clone") print $(i-2)}'
1,010
Posted By Franklin52
Do you want the value 2 fields before the word...
Do you want the value 2 fields before the word "Clone"?
sed 's/.*:\([^:].*\):[^:].*:Clone.*/\1/' file
Forum: Red Hat 09-12-2011
1,262
Posted By pludi
Probably some process still has a file opened...
Probably some process still has a file opened there. Check with lsof +d /log which it is. When found, restart that process to have it close the filehandle, and thus really free the space.
...
Forum: AIX 04-26-2011
4,905
Posted By DGPickett
The <defunct> is a child process stub trying to...
The <defunct> is a child process stub trying to deliver the exit code and status to the parent wait() that has not been called to process SIGCHILD or whatever. It points to some programming error in...
1,860
Posted By ctsgnb
sed -n '/^App/h;/INCIDENT/{g;s/.* \([^...
sed -n '/^App/h;/INCIDENT/{g;s/.* \([^ ]*\)/\1/;p;}' infileawk '/^App/{x=$NF}/INCIDENT/{print x}' infile

# sed -n '/^App/h;/INCIDENT/{g;s/.* \([^ ]*\)/\1/;p;}' tst
SPVP0005
# awk...
Forum: AIX 03-10-2006
36,967
Posted By andryk
Try this mkdev -l aio0 and run again
Try this mkdev -l aio0 and run again
Showing results 1 to 12 of 12

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