摘要: 计划任务的授权1.at任务 /etc/at.allow /etc/at.deny2.crontab任务 /etc/cron.allow /etc/cron.deny【注:如果allow文件存在,则allow中的用户可以使用计划任务,allow文件不存在则去找deny文件,deny文件中的用户不可... 阅读全文
posted @ 2014-08-17 17:16 Yolandafans 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 一次性计划任务 at /etc/init.d/atd[root@localhost ~]# at 22:18at> /bin/ls /etc |wc -l > /tmp/yimiao_demo.txt #ctrl+d提交计划任务,执行的命令用绝对路径,避免产生错误,可用which查看at> job ... 阅读全文
posted @ 2014-08-17 14:30 Yolandafans 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1.查看进程ps - processes snapshotps aueps -elf[root@localhost ~]# ps aueUSER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMANDroot ... 阅读全文
posted @ 2014-08-17 11:54 Yolandafans 阅读(211) 评论(0) 推荐(0) 编辑