Ayuda con Script

"Rodrigo Castro" <[email protected]>
Newsgroups gmane.org.user-groups.linux.gulcr
Message-ID <[email protected]>
Gente,

Tengo el siguiente problema:

Hay unas aplicaciones en un windows server que dejan sus logs en un
share folder.

Necesito hacer un script que accese el log file, la gente que va a
monitorear  solo tienen acceso a un Linux server.

Estuve tratándo de utilizar las funciones de streaming para hacer algo
tan simple como:

tail +500 $logFile | grep -i \"Message has been delivered\"

Donde $logFile sería algo como \\winserver\share$\logs\logfile.log

Pero por alguna razón no le llego al $logFile.

Alguna idea?

Según la documentación algo como
fopen('\\\\winserver\share$\logs\logfile.log') debería funcionar.


Saludos,
Rodrigo

-- 
Desuscripción: escriba a [email protected], tema 'unsubscribe'
Problemas a: [email protected].  http://gulcr.org/ListasDeCorreo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.