Hi,

Am 04.07.2011 um 12:26 schrieb Fabio Martinelli:

> Hi Reuti
> 
> thanks, I tried something based on the 'tail' command you suggested me:
> 
> *************************************
> # grep reporting.dbwriter dbwriter.conf
> DBWRITER_REPORTING_FILE=/gridware/sge/default/common/reporting.dbwriter
> 
> nohup tail --pid=$(pidof sge_qmaster) -n 0 -f  
> /gridware/sge/default/common/reporting > 
> /gridware/sge/default/common/reporting.dbwriter &
> *************************************

can you try -F instead of -f as option? This will follow by name then.

-- Reuti

> but because dbwriter renames 'reporting.dbwriter' in 
> 'reporting.dbwriter.processing' later the 'tail' logic breaks after 1 cycle, 
> so I need something cleverer..
> 
> if I'll find something I'll report it,
> cheers
> Fabio
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to