Hi,
We have a DEC Alpha 4100 Server with OSF1 Digital Unix 4.0.
Can any one tell me, if there are any commands on this Unix which are equivalent to "top" and "sar" on HP-UX or Sun Solaris ?
I am particularly interested in knowing the CPU Load, what process is running on which CPU, etc.
... (1 Reply)
I need to send multiple files to a remote server via sFTP. I had everything set up to connect and send a single file automatically using a batch file and key authentication. Recently, however, the process has changed and we now need to send multiple files, one at a time, pausing for up to ten... (5 Replies)
We are facing a problem with PIPE (|) as a delimiter in one of our FTP flat files.
We are constructing a Flat file in IBM-AIX and this contains various strings delimted by PIPE Symbol and then FTPing this to a Mainframe System
The Mainframe program simply recieves this and FTPs the same... (1 Reply)
I have a CentOS release 5.2 (Final)host running kernel 2.6.18-92.el5 with at raid 10 that had two mirrored drives fail. The drives were re-inserted and now the raid shows healthy (for now). I tried to mount but got an Input/output error. I then attempted a fsck:
fsck.gfs2 -y /dev/vg_01/uss_vol... (0 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this:
$ look "string" "/home/patrick/filename.txt"
However, this gives me the following message:
"look: /home/patrick/filename.txt: File too large"
So, I have two... (14 Replies)
Hi All,
I have just now started learning awk from the source - Awk - A Tutorial and Introduction - by Bruce Barnett
and the bad part is that I am stuck on the very first example for running the awk script.
The script is as -
#!/bin/sh
# Linux users have to change $8 to $9
awk '
BEGIN ... (6 Replies)
Hi,
I'm dealing with an issue and losing a lot of hours figuring out how i would solve this.
I have an input file which looks like this:
('BLABLA +200-GRS','Serviço ','TarifaçãoServiço','wap.bla.us.0000000121',2985,0,55,' de conversão em escada','Dia','Domingos')
('BLABLA +200-GRR','Serviço... (6 Replies)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT XFREE86
pswrap
PSWRAP(1) General Commands Manual PSWRAP(1)NAME
pswrap - creates C procedures from segments of PostScript language code
SYNOPSIS
pswrap [ -apr ] [ -o outputCfile ] [ -h outputHfile ] [ -s maxstring ] inputfile
DESCRIPTION
pswrap reads input from inputfile and creates C-callable procedures, known as wraps, that send PostScript language code to the PostScript
interpreter. inputfile contains segments of PostScript language code wrapped with a C-like procedure syntax.
Wraps are the most efficient way for an application to communicate with the PostScript interpreter. For complete documentation of pswrap
and the language it accepts, see "pswrap Reference Manual" in Programming the Display PostScript System with X.
OPTIONS
inputfile
A file that contains one or more wrap definitions. pswrap transforms the definitions in inputfile into C procedures. If no input
file is specified, the standard input (which can be redirected from a file or pipe) is used. The input file can include text other
than wrap definitions. pswrap converts wrap definitions to C procedures and passes the other text through unchanged. Therefore, it
is possible to intersperse C-language source code with wrap definitions in the input file.
Note: Although C code is allowed in a pswrap input file, it is not allowed within a wrap body. In particular, no CPP macros (for
example, #define) are allowed inside a wrap.
-a Generates ANSI C procedure prototypes for procedure definitions in outputCfile and, optionally, outputHfile. The -a option allows
compilers that recognize the ANSI C standard to do more complete type checking of parameters. The -a option also causes pswrap to
generate const declarations.
Note: ANSI C procedure prototype syntax is not recognized by most non-ANSI C compilers, including many compilers based on the Porta-
ble C Compiler. Use the -a option only in conjunction with a compiler that conforms to the ANSI C Standard.
-f specialHFile
Adds a #include to the generated source file for a special header file.
-h outputHFile
Generates a header file that contains extern declarations for non-static wraps. This file can be used in #include statements in mod-
ules that use wraps. If the -a option is specified, the declarations in the header file are ANSI C procedure prototypes. If the -h
option is omitted, a header file is not produced.
-o outputCFile
Specifies the file to which the generated wraps and passed-through text are written. If omitted, the standard output is used. If the
-a option is also specified, the procedure definitions generated by pswrap are in ANSI C procedure prototype syntax.
-p Specifies that strings passed by wraps are padded so that each data object begins on a long-word (4-byte) boundary. This option
allows wraps to run on architectures that restrict data alignment to 4-byte boundaries and improves performance on some other archi-
tectures.
-r Generates reentrant code for wraps shared by more than one process (as in shared libraries). Reentrant code can be called recur-
sively or by more than one thread. The -r option causes pswrap to generate extra code, so use it only when necessary.
-s maxstring
Sets the maximum allowable length of a PostScript string object or hexadecimal string object in the wrap body input. A syntax error
is reported if a string is not terminated with ) or > within maxstring characters. maxstring cannot be set lower than 80; the
default is 200.
SEE ALSO
Programming the Display PostScript System with X (Addison-Wesley Publishing Company, Inc., 1993).
AUTHOR
Adobe Systems Incorporated
NOTES
PostScript and Display PostScript are trademarks of Adobe Systems Incorporated which may be registered in certain jurisdictions.
Copyright (c) 1988-1994 Adobe Systems Incorporated. All rights reserved.
Adobe Systems 4 Apr 1994 PSWRAP(1)