/[ps-trend]/cron.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /cron.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (hide annotations)
Tue Jul 14 19:50:20 2009 UTC (14 years, 8 months ago) by dpavlin
File MIME type: application/x-sh
File size: 171 byte(s)
collect OpenVZ vzps output

1 dpavlin 1 #!/bin/sh
2    
3     cd /srv/ps-trend
4     dir=`date +%Y-%m-%d`
5     test -d $dir || mkdir $dir
6     COLUMNS=256 vzps -eo veid,pid,ppid,ni,user,rss,sz,vsz,time,stat,f,command > $dir/`date +%H%M`

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26