English flagItalian flagGerman flagSpanish flagFrench flagPortuguese flagJapanese flagKorean flagChinese flagRussian flag
By N2H
Home » Tips Главная »Советы

Tips Советы

Manage cronjobs with VCS Application Управлять cronjobs с VCS Применение

Here is how I fail over application account cronjobs using VCS. Вот как я не за счет применения cronjobs используя VCS.
Application Appx_cronjobs Применение Appx_cronjobs
(
Critical = 0ff Критические = 0ff
StartProgram = “/usr/bin/su - appxusr -c “touch ./crontab.LAST”” StartProgram = "/ usr / бен / вс - appxusr-с" касание ". / Crontab.LAST" "
StopProgram = “/usr/bin/su - appxusr -c “/usr/bin/rm -f ./crontab.LAST”” StopProgram = "/ usr / бен / вс - appxusr-с" / usr / бен / мб-ж. / Crontab.LAST ""
CleanProgram = “/usr/bin/su - appxusr -c “/usr/bin/rm -f ./crontab.LAST”” CleanProgram = "/ usr / бен / вс - appxusr-с" / usr / бен / мб-ж. / Crontab.LAST ""
MonitorProgram = “/usr/bin/su appsusr -c /etc/VRTSvcs/utils/vcs_cron_monitor.sh” […] MonitorProgram = "/ usr / бен / appsusr вс-с / и т.д. / VRTSvcs / утилиты / vcs_cron_monitor.sh" […]

No Comments » Комментариев нет »

Top Space Users In A Filesystem Топ пространство пользователей в файловую систему

# A fast way to find a file du -a | grep -i # Быстрый способ найти файл дю-| grep-я
# Top 10 space users in a filesystem du -a | sort -n | tail -10 # Top 10 космических пользователей в файловой дю-| сортировать-н | хвост -10

No Comments » Комментариев нет »

How to tell process owning open socket without lsof Как рассказать процесс владеть открытым розетка без lsof

Normally with lsof lsof -i tcp: Обычно с lsof lsof-я 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 Я нашел эту альтернативу, если lsof не доступен на сервере, чтобы определить процесс связанный с открытым сокета Loop через все активные процессы с этой командой до кажется ли вам
pfile | grep “port:” pfile | grep "порт:"
Sorry but I think it is only available on Solaris 10. Извините, но я думаю, она доступна только на Solaris 10.

No Comments » Комментариев нет »