Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2008-12-30 05:35:58
Size: 820
Editor: YoichiAso
Comment:
Revision 4 as of 2009-05-19 20:10:04
Size: 812
Editor: RanaAdhikari
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
/cvs/cds/caltech/statScreen/bin/captureScreen.sh takes a screen shot of an X application
and saves the image to /cvs/cds/caltech/statScreen/images/.
''/cvs/cds/project/statScreen/bin/captureScreen.sh'' takes a screen shot of an X application
and saves the image to ''/cvs/cds/caltech/statScreen/images/''.
Line 6: Line 7:
For MEDM screens, there is a wrapper script grabMEDMScreens.sh. For MEDM screens, there is a wrapper script ''grabMEDMScreens.sh''.
Line 10: Line 11:
The cron actually runs cronjob.sh, which calls grabMEDMScreens.sh with /cvs/cds/caltech/statScreen/etc/medmScreens.txt
as the argument.
This job will generate images in /cvs/cds/caltech/statScreen/images/.
To change/add MEDM screens to be captured, modify /cvs/cds/caltech/statScreen/etc/medmScreens.txt
The cron actually runs cronjob.sh, which calls ''grabMEDMScreens.sh'' with ''statScreen/etc/medmScreens.txt''
as the argument.
This job will generate images in ''statScreen/images/''.

'''
To change/add MEDM screens to be captured, modify ''statScreen/etc/medmScreens.txt'''''.

Taking screen shots in the background

/cvs/cds/project/statScreen/bin/captureScreen.sh takes a screen shot of an X application and saves the image to /cvs/cds/caltech/statScreen/images/.

This script does not require a physical display.

For MEDM screens, there is a wrapper script grabMEDMScreens.sh. It takes a list of *.adl files as an argument and capture the images of those screens.

A cron job runs on nodus calling the above scripts. The cron actually runs cronjob.sh, which calls grabMEDMScreens.sh with statScreen/etc/medmScreens.txt as the argument. This job will generate images in statScreen/images/.

To change/add MEDM screens to be captured, modify statScreen/etc/medmScreens.txt.

Empty lines and lines starting with # are ignored.

Computers_and_Scripts/statScreen (last edited 2012-01-03 23:02:43 by localhost)