English flagItalian flagGerman flagSpanish flagFrench flagPortuguese flagJapanese flagKorean flagChinese flagRussian flag
By N2H
Home » Tips 首页 » 秘诀

Tips秘诀

Manage cronjobs with VCS Application 管理cronjobs与风险投资的应用

Here is how I fail over application account cronjobs using VCS.这里是如何,我不超过申请帐户cronjobs使用风险投资。
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/室- F的。 / 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/室- F的。 / c rontab.last“ , ”
MonitorProgram = “/usr/bin/su appsusr -c /etc/VRTSvcs/utils/vcs_cron_monitor.sh” […] monitorprogram = “修改/ usr / bin /苏appsusr - C的在/ etc / 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 #十大空间用户在一个文件笃1 |排序- 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.抱歉,但我想这是仅适用于Solaris 10操作系统。

No Comments » 没有评论»