I've got a c++ program that works fine on Linux, compiles on Solaris fine with g++, but will not write to a fstream correctly in a class object.
And I've run into numerous other bugs in the disk management.
Jon (4 Replies)
I have a question about how to get the exit code of the first command when it appears in a pipe-lined command.
For example, I have the following script:
grep abc dddd | tee -a log
if ]
then
echo "ERROR!"
fi
In the above script, ] is supposed to test the exit code of "grep abc... (3 Replies)
I have a file called "library" with the following content
libnxrdbmgr.a
libnxrdbmgr.so
libnxtk.a
libnxtk.so
libora0d_nsc_osi.so
I am trying to locate if these libraries are on my machine or not. find command runs for about few seconds and hangs after this.
Can someone please help me and... (3 Replies)
Hello,
I could not find the exactly same post here.. so I will explain what I did to get the last month using date command.
I used
date +%Y-%m -d "-1 months"
to get the last month. However, the returned value of above command on 2009/10/31 was 2009 10 and not 2009 09.. and the... (9 Replies)
Hi,
I am running the following command, and it tries to delete some dn from ldap, however, it takes lot of time before it finally request LDAP server to delete it.
I am trying to find why it is taking lot of time. Could you anyone help me in this regard. I have copies the pstack output, and... (3 Replies)
Hi there can anyone help me
here is my code
echo "Type in a positive number"
read X
I=2
while
do
if
then
echo "It is not prime"
break
else
if
then
echo "It is prime"
break
else
I=$(( $I + 1))
fi
fi (4 Replies)
Hi,
I have Solaris-10 OS on T5220. Both local disks were mirrored under SVM. Somehow when one disk gone bad (c0t1d0), other disk (c0t0d0) also got lot of bad block. We have readable data only on c0t0d0, but as soon as server comes after, it hangs when I run few commands because of read errors,... (1 Reply)
I am trying to compile the datastage jobs using the Execute Command stage in datastage 11 or any Routines if possible. My datastage is on Unix machine.
So, How can I Compile a datastage job in UNIX from command line or any Routines.
Please help me in doing so.
Thank you. (1 Reply)
Hello guys,
I have an issue when trying to do an egrep -v on a file, let me show you.
I want to filter the last column as to where it filters out the columns with asterisks and zeros ( * and 0 ) it is working properly up to a certain point where I have a value of '10000' which is also getting... (3 Replies)
Discussion started by: evergreen
3 Replies
LEARN ABOUT DEBIAN
togeomview
TOGEOMVIEW(1gv)TOGEOMVIEW(1gv)NAME
togeomview - send commands or OOGL objects to geomview
SYNOPSIS
togeomview [-c] [-g] [pipename [program args ...]]
DESCRIPTION
togeomview sends a stream of geomview commands, or OOGL-format geometric data, to a cooperating copy of geomview. If geomview is not run-
ning, it is automatically started. ('geomview' must be on the $PATH of the user running 'togeomview' in order for this to work.)
Typical usage is:
someprogram | togeomview (to send commands) or
someprogram-generating-OOGL-data | togeomview -g (to send geometry)
i.e. a program pipes geometric data into ``togeomview''; the data is displayed by a copy of geomview run with the -M option and a name
matching the one given to togeomview.
Togeomview uses a named pipe in the directory /tmp/geomview to communicate with geomview. If unspecified, the pipe's default name is
"OOGL". When sending geometry (-g), a geomview object with the same name as the pipe appears in geomview's object browser.
By default, when no suitable copy of geomview is running, togeomview invokes "geomview" with arguments specifying the appropriate named
pipe. A different command may be specified as in:
togeomview OOGL gv -wpos 300x300 -c my_startup_script
which communicates through a pipe named OOGL, and (if necessary) invokes the given gv command. The pipe name is required if a command is
specified.
After togeomview has created it, the named pipe may be written as an ordinary file. For example, one could use
togeomview pipename < /dev/null
to invoke a listening copy of geomview, and then run a program which simply wrote to /tmp/geomview/pipename.
FILES
/tmp/geomview
BUGS
The pipe-based communications scheme imposes several restrictions.
If no copy of geomview is reading from the pipe, or if geomview gets far enough behind, a program writing data to ``togeomview'' will be
forced to block after sending a few kilobytes.
Because of the buffering in the pipe, the sender may be substantially ahead of the geomview display.
If geomview exits, the sending program receives a write-on-broken-pipe (SIGPIPE) signal, which will kill it unless measures are taken to
catch or ignore that signal.
Only one copy of geomview can read from a given pipe at a time. If a second copy attempts to read from it, both will probably fail. It's
fine to have multiple copies of geomview reading from different pipes.
Note that togeomview will invoke geomview if no extant copy is listening to the relevant pipe; it can't connect to an existing copy of
geomview started by other means.
SEE ALSO geomview(1), oogl(5)Geometry Center 21 May 1993 TOGEOMVIEW(1gv)