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

Tips Conseils

Manage cronjobs with VCS Application Gérer cronjobs avec VCS application

Here is how I fail over application account cronjobs using VCS. Voici comment je n'arrive pas à l'application en utilisant compte cronjobs VCS.
Application Appx_cronjobs Application Appx_cronjobs
(
Critical = 0ff Essentiel = 0ff
StartProgram = “/usr/bin/su - appxusr -c “touch ./crontab.LAST”” StartProgram = "/ usr / bin / su - appxusr-c" touch. / 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 » Pas de commentaire »

Top Space Users In A Filesystem Haut utilisateurs de l'espace dans un système de fichiers

# A fast way to find a file du -a | grep -i # Un moyen rapide de trouver un fichier du-a | grep-i
# Top 10 space users in a filesystem du -a | sort -n | tail -10 Haut # 10 utilisateurs de l'espace dans un système de fichiers du-a | sort-n | tail -10

No Comments » Pas de commentaire »

How to tell process owning open socket without lsof Comment dire à posséder processus ouvert sans prise lsof

Normally with lsof lsof -i tcp: Normalement, avec 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 J'ai trouvé cette solution car si lsof n'est pas disponible sur un serveur afin de déterminer les processus associés à une prise de courant en boucle ouverte dans tous les processus en exécution de cette commande jusqu'à ce que vous trouverez
pfile | grep “port:” pfile | grep "port:"
Sorry but I think it is only available on Solaris 10. Désolé mais je pense qu'il est uniquement disponible sur Solaris 10.

No Comments » Pas de commentaire »