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

Tips Suggerimenti

Manage cronjobs with VCS Application Cronjobs gestire con VCS Applicazione

Here is how I fail over application account cronjobs using VCS. Ecco come io non conto più di applicazione cronjobs utilizzando VCS.
Application Appx_cronjobs Applicazione Appx_cronjobs
(
Critical = 0ff Critica = 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 » Nessun commento »

Top Space Users In A Filesystem Top gli utenti dello spazio in un filesystem

# A fast way to find a file du -a | grep -i # Un modo rapido per trovare un file du-a | grep-i
# Top 10 space users in a filesystem du -a | sort -n | tail -10 Top 10 # gli utenti dello spazio in un filesystem du-a | sort-n | coda -10

No Comments » Nessun commento »

How to tell process owning open socket without lsof How to Tell processo di presa di possesso aperto senza 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 Ho trovato questa alternativa per lsof se non è disponibile su un server per determinare il processo associato ad un socket aperto Loop attraverso tutti i processi in esecuzione con questo comando, fino a trovarlo
pfile | grep “port:” pfile | grep "porta:"
Sorry but I think it is only available on Solaris 10. Dispiace, ma credo che sia disponibile solo su Solaris 10.

No Comments » Nessun commento »