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 중요 = 잔소리가
StartProgram = “/usr/bin/su - appxusr -c “touch ./crontab.LAST”” startprogram = "/ usr / 빈 / 스 - appxusr - c"접촉합니다. / crontab.last ""
StopProgram = “/usr/bin/su - appxusr -c “/usr/bin/rm -f ./crontab.LAST”” stopprogram = "/ usr / 빈 / 스 - appxusr - c"/ usr / 빈 / rm - f. / crontab.last ""
CleanProgram = “/usr/bin/su - appxusr -c “/usr/bin/rm -f ./crontab.LAST”” cleanprogram = "/ usr / 빈 / 스 - appxusr - c"/ usr / 빈 / rm - f. / crontab.last ""
MonitorProgram = “/usr/bin/su appsusr -c /etc/VRTSvcs/utils/vcs_cron_monitor.sh” […] monitorprogram = "/ usr / 빈 / 스 appsusr - c / 비고 / vrtsvcs / utils / 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 # 상위 10 개 공간을 사용자가 파일 시스템 으 - | 정렬 - n | 꼬리 -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를 결정하는 과정과 연관된 소켓 루프를 통해 개방형이 명령을 실행중인 프로세스의 모든 때까지 찾아
pfile | grep “port:” pfile | grep "포트 :"
Sorry but I think it is only available on Solaris 10. 죄송하지만 제 생각은 솔라리스 10에서만 사용할 수있습니다.

No Comments » 아니오 코멘트»