On 07/07/00 12:30 +0530, Dwivedi Ajay kumar spewed into the LI bitstream:

>On Fri, 7 Jul 2000 [EMAIL PROTECTED] wrote:

>> thanks for the info.  but can i do it from the command line as i want to
>       man ps

OK, I'll oblige you ...

NAME
     ps - report process status

8<

DESCRIPTION
     The  ps  command  prints information about active processes.
     Without options, ps prints information about processes asso-
     ciated  with  the controlling terminal.  The output contains
     only the process ID, terminal identifier, cumulative  execu-
     tion time, and the command name.  Otherwise, the information
     that is displayed is controlled by the options.

And does that help with postscript files?

There should be quite a few converters on google ...

Try ps2gif.sh (which itself uses ghostview)

http://www.museum.state.il.us/research/faunmap/query/ps2gif.html

Note: The variable $1 is the name made up of %age%%taxon%%dist%, and $2 is
%pid%, as passed from the AML. 

#!/bin/sh
# for moving a postscript file to 
/usr/local/bin/gs  -q -dNOPAUSE -I/usr/local/ghostscript/fonts 
  -sDEVICE=ppm -sOutputFile=/tmp/$1$2.ppm -- /tmp/$1$2.ps 
rm /tmp/$1$2.ps
/usr/local/netpbm/pnmcrop  /tmp/$1$2.ppm 2> /dev/null | 
  /usr/local/netpbm/ppmtogif  >
/u/WWW/research/faunmap/query/images/$1.gif 
  2> /dev/null
rm /tmp/$1$2.ppm
cd /u/WWW/research/faunmap/query/images
chmod a+r $1.gif
/u/WWW/mkmenus 2> /dev/null
/usr/local/bin/mkcache -q


-- 
Suresh Ramasubramanian + [EMAIL PROTECTED]
As long as war is regarded as wicked, it will always have its
fascination.  When it is looked upon as vulgar, it will cease to be
popular.
                -- Oscar Wilde

-----------------------------------------------------------------------
LIH is all for free speech.  But it was created for a purpose - to help
people discuss issues about installing and running Linux.  If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.

Reply via email to