Changeset 30484
- Timestamp:
- Feb 3, 2011, 10:41:31 AM (15 years ago)
- Location:
- tags/ipp-20101215
- Files:
-
- 5 edited
- 2 copied
-
ippTasks/pstamp.pro (modified) (1 diff, 1 prop)
-
pstamp (modified) (1 prop)
-
pstamp/scripts (modified) (1 prop)
-
pstamp/scripts/Makefile.am (modified) (1 diff)
-
pstamp/scripts/psstatus (copied) (copied from trunk/pstamp/scripts/psstatus )
-
pstamp/scripts/pstamp_save_server_status.pl (copied) (copied from trunk/pstamp/scripts/pstamp_save_server_status.pl )
-
pstamp/scripts/pstamp_server_status (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20101215/ippTasks/pstamp.pro
-
Property svn:mergeinfo
set to
/branches/czw_branch/20101203/ippTasks/pstamp.pro merged eligible /branches/eam_branches/ipp-20101103/ippTasks/pstamp.pro merged eligible /trunk/ippTasks/pstamp.pro merged eligible
r30415 r30484 905 905 end 906 906 end 907 908 task pstamp.save.status 909 host local 910 911 periods -poll $LOADPOLL 912 periods -exec 45 913 periods -timeout 20 914 npending 1 915 916 task.exec 917 stdout NULL 918 stderr $LOGSUBDIR/pstamp.save.status.log 919 920 $run = pstamp_save_server_status.pl --update-link 921 command $run 922 end 923 924 task.exit $EXIT_SUCCESS 925 # echo nothing to do 926 end 927 928 task.exit default 929 showcommand failure 930 end 931 932 task.exit crash 933 showcommand crash 934 end 935 936 task.exit timeout 937 showcommand timeout 938 end 939 end -
Property svn:mergeinfo
set to
-
tags/ipp-20101215/pstamp
- Property svn:mergeinfo changed
/trunk/pstamp merged: 30469,30483
- Property svn:mergeinfo changed
-
tags/ipp-20101215/pstamp/scripts
- Property svn:mergeinfo deleted
-
tags/ipp-20101215/pstamp/scripts/Makefile.am
r29330 r30484 17 17 pstamp_runcommand.sh \ 18 18 pstamp_server_status \ 19 pstamp_save_server_status.pl \ 19 20 pstamp_webrequest.pl \ 20 21 pstamp_get_image_job.pl \ 21 22 psmkreq \ 23 psstatus \ 22 24 pstampstopfaulted \ 23 25 pstamp_checkdependent.pl \ -
tags/ipp-20101215/pstamp/scripts/pstamp_server_status
r30321 r30484 25 25 26 26 pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV; 27 #pod2usage( -msg => "Required options: --first --stage",28 # -exitval => 3) unless29 # defined $first and30 # defined $stage;31 27 32 28 # Look for programs we need … … 39 35 } 40 36 37 # XXX: Note under pantasks this will be the curent directory, so this 38 # isn't necessary if the pstamp/web stuff is configured to point at the 39 # ipp build. But currently it's running out of Bill's build 41 40 my $ipphome = "/home/panstarrs/ipp"; 41 my $status_cmd = "psstatus"; 42 42 43 $rundir = "$ipphome/pstamp" if !$rundir; 43 44 … … 50 51 exit 0; 51 52 } 53 54 my $now = `date -u`; 55 56 print "<b>Status updated: </b> $now<br /><br />\n"; 52 57 53 58 my ($pts, $pantasks_script) = tempfile ('/tmp/pts.XXXX', UNLINK => !$save_temps); … … 138 143 print "Task pstamp.job.run not found.<br />\n"; 139 144 } 145 146 # now run the script psstatus to check the status of running requests and finished requests 140 147 print "<br /><b>Unfinished Requests</b><br />\n"; 141 148 print "<pre>\n"; 142 system " /home/panstarrs/bills/ipp/tools/psstatus -r";149 system "$status_cmd --running"; 143 150 print "</pre>\n"; 151 152 if (0) { 153 # these are included in running requests above 154 print "<br /><b>Requests building results fileset</b><br/>\n"; 155 print "<pre>\n"; 156 system "$status_cmd --finishing"; 157 print "</pre>\n"; 158 } 159 144 160 print "<br /><b>Requests completed in last 24 hours (most recently completed first)</b><br />\n"; 145 161 print "<pre>\n"; 146 # finished requests 147 system "/home/panstarrs/bills/ipp/tools/psstatus -f"; 162 system "$status_cmd --finished"; 148 163 print "</pre>\n"; 164 149 165 } else { 150 166 print "Task pstamp.request.run not found.\n"; … … 153 169 154 170 155 156 171 exit 0;
Note:
See TracChangeset
for help on using the changeset viewer.
