English flagItalian flagGerman flagSpanish flagFrench flagPortuguese flagJapanese flagKorean flagChinese flagRussian flag
By N2H
Home » Tips ホーム » のヒント

Tipsヒント

Manage cronjobs with VCS Application VCSのアプリケーションを管理するcronjobs

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 / binに/ス-a ppxusr- c "とタッチ。 / c rontab.last" "
StopProgram = “/usr/bin/su - appxusr -c “/usr/bin/rm -f ./crontab.LAST”” stopprogram = " / usr / binに/ス-a ppxusr- c "と/ u sr/ b inに/ r m-女。 / c rontab.last" "
CleanProgram = “/usr/bin/su - appxusr -c “/usr/bin/rm -f ./crontab.LAST”” cleanprogram = " / usr / binに/ス-a ppxusr- c "と/ u sr/ b inに/ r m-女。 / c rontab.last" "
MonitorProgram = “/usr/bin/su appsusr -c /etc/VRTSvcs/utils/vcs_cron_monitor.sh” […] monitorprogram = " / usr / binに/ suを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 How to Tellのプロセスを所有しているソケットをオープン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.しかし、と思うことが残念では、 Solaris 10のみ利用可能です。

No Comments » コメントはありません»