English flagItalian flagGerman flagSpanish flagFrench flagPortuguese flagJapanese flagKorean flagChinese flagRussian flag
By N2H
Home » Tips Inicio »Tips

Tips

Manage cronjobs with VCS Application Administrar cronjobs con VCS Application

Here is how I fail over application account cronjobs using VCS. Aquí es cómo dejar más en cuenta la aplicación cronjobs utilizando VCS.
Application Appx_cronjobs Aplicación Appx_cronjobs
(
Critical = 0ff Crítico = 0ff
StartProgram = “/usr/bin/su - appxusr -c “touch ./crontab.LAST”” StartProgram = "/ usr / bin / su - appxusr-c" tacto. / Crontab.LAST ""
StopProgram = “/usr/bin/su - appxusr -c “/usr/bin/rm -f ./crontab.LAST”” StopProgram = "/ usr / bin / su - appxusr-c" / usr / bin / rm-f. / Crontab.LAST ""
CleanProgram = “/usr/bin/su - appxusr -c “/usr/bin/rm -f ./crontab.LAST”” CleanProgram = "/ usr / bin / su - appxusr-c" / usr / bin / rm-f. / Crontab.LAST ""
MonitorProgram = “/usr/bin/su appsusr -c /etc/VRTSvcs/utils/vcs_cron_monitor.sh” […] MonitorProgram = "/ usr / bin / su appsusr-c / etc / VRTSvcs / utils / vcs_cron_monitor.sh" […]

No Comments » No Comments »

Top Space Users In A Filesystem Top usuarios del espacio en un sistema de archivos

# A fast way to find a file du -a | grep -i # Una forma rápida de encontrar un archivo du-a | grep-i
# Top 10 space users in a filesystem du -a | sort -n | tail -10 # Top 10 usuarios del espacio en un sistema de ficheros du-a | sort-n | tail -10

No Comments » No Comments »

How to tell process owning open socket without lsof ¿Cómo decirle a poseer proceso abierto socket sin lsof

Normally with lsof lsof -i tcp: Normalmente con lsof lsof-i tcp:
I found this alternative for if lsof is not available on a server to determine the process associated with an open socket Loop through all the running processes with this command till you find it He encontrado esta alternativa para lsof si no está disponible en un servidor para determinar el proceso asociado a un socket en bucle abierto a través de todos los procesos en ejecución con este comando hasta que usted encontrará
pfile | grep “port:” pfile | grep "Puerto:"
Sorry but I think it is only available on Solaris 10. Lo siento pero creo que sólo está disponible en Solaris 10.

No Comments » No Comments »