A programming running in tty0 crashes.
In a second terminal I kill all the processes.
Can i start the program again from this terminal?
Yes, I can, but it starts in tty1, and when i close the terminal, the program closes.
Now I want to start the program from tty1 in tty0, so i can close... (4 Replies)
I pressed CTRL Z and suspended the job. then I pressed bg, The process re-started to throw output on the terminal and its not allowing me to access the prompt.
its not even accepting CTRL Z. The process has been running for about 2 hours now and I want to suspend it by opening another terminal.... (3 Replies)
Hi *,
please, I need fast tip (help). I have a process starting through /etc/rc3.d/xxxx script. However, sometimes (mostly because of testing reasons) I need to stop the process, change something and then start it again. But:
1) when I start it in terminal, the process dies when I leave the... (2 Replies)
So this one just plain confuses me. I have a bunch of somewhat CPU intensive processes that all communicate using a shared memory region. Some of these programs are threaded and some also change the scheduling to FIFO or round robin. The good news is that everything works as long as I spawn... (3 Replies)
Hi,
I've a script which kills all process, but i need a script shell script(sh), where it'll kill process on that particular terminal. below is example
TY=`tty`
for P in $TY
do
`kill -9 $P 2>/dev/null`;
done
echo "test process killed"
break
... (3 Replies)
Hi All,
i ve a process,
user4 31779 2836 0 01:43 pts/6 00:00:00 sh /home/user/DATE/SUT_SCR/c.sh
like this i'll get so many process when in run ps -ef | grep pts | grep c.sh
i need to extract terminal id from this string. i.e pts/6, or sometimes pts/22 same way i need to do for... (3 Replies)
Hi,
How can we get the process id of the terminal we are using?
When we logged in to unix, we have an associated terminal. we can use "tty" command to get the terminal we are using like:
/dev/pts/0
I want to know the process id of this terminal. Please reply as I searched a lot but I... (8 Replies)
Hello All,
I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly.
Is there any way to take the output from the cat... (7 Replies)
Hi,
I new to AIX, and I have been using Rocket UniData in it. I had to set up a Process for Data Exchange by assigning a unique Terminal and a Socket Port to that process. I ran the process for the first time and it was successful and after use I stopped the process. Now when I want to run it... (3 Replies)
Discussion started by: BejoyS
3 Replies
LEARN ABOUT DEBIAN
addrdsrecwindow
ADDRDSRECWINDOW(3) RDS PHYSICAL FUNCTIONS ADDRDSRECWINDOW(3)NAME
addrdsrecwindow - adds a rectangle in the windowing of rds structure.
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "rwinnn.h"
void addrdsrecwindow( Rectangle, RdsWindow )
rdsrec_list *Rectangle;
rdswindow *RdsWindow;
PARAMETER
Rectangle The rectangle to add to the windowing.
RdsWindow The head of the windowing which has to contain the rectangle.
DESCRIPTION
The addrdsrecwindow function inserts a rdsrec_list rectangle structure in the windowing of the rds structure. The rectangle is added in one
or many windows of the table (it depends on his dimensions). The field 'USER' of the rectangle is used to point to the list of windows
which contains the rectangle. So, the field 'USER' has to be saved in an added structure to the rdsrec_list structure if librfm functions
are used because somes use the field 'USER' to link rectangles (see librds about field 'USER').
Note If the rectangle is contained in only one window, then the field 'USER' points to a "rdswin_list" window structure.
If the rectangle is contained in many windows, the field 'USER' points to a "rdsrecwin_list" structure which is a list which con-
tains windows.
To know if a rectangle belongs to one or many windows, use the macro IsRdsOneWindow defined in librwi.
RETURN VALUE
none
ERRORS
"Rds202: rdsalloc error, can't continue !"
it's impossible to allocate the memory size desired
EXAMPLE
#include "mutnnn.h"
#include "rdsnnn.h"
#include "rwinnn.h"
#include "rtlnnn.h"
# define POINTER_LINKREC(R)
(((UserStruct *)((char *)(R)+sizeof(rdsrec_list)))->LINKREC )
typedef struct UserStruct
{
void *LINKREC;
} UserStruct;
main()
{
rdsfig_list *Figure;
rdsrec_list *Rectangle;
rdswindow *RdsWindow;
rdswin_list *ScanWin;
rdsrecwin_list *ScanRecWin;
mbkenv();
rdsenv();
loadrdsparam();
Figure = addrdsfig( "core",sizeof ( UserStruct ) );
Rectangle =
addrdsfigrec(Figure,"Alu1",RDS_ALU1,2,4,5,1);
/* Using the field 'USER' */
Rectangle->USER = Rectangle;
. . . .
RdsWindow = allocrdswindow();
RdsWindow->XMIN = -200;
RdsWindow->YMIN = -200;
RdsWindow->XMAX = 200;
RdsWindow->YMAX = 200;
RdsWindow->DX = 4;
RdsWindow->DY = 4;
RdsWindow->SIDE = 100;
RdsWindow->SIZE = RdsWindow->DX * RdsWindow->DY ;
RdsWindow->WINTAB = allocrdswin( RdsWindow->SIZE );
/* Save the field 'USER' of the rectangle */
POINTER_LINKREC(Rectangle) = Rectangle->USER;
/* */ addrdsrecwindow( Rectangle, RdsWindow );
/* windows associated to a rectangle are pointed by the
field 'USER' of the rectangle */
/* getting windows (pointer *ScanWin) of a rectangle */
if ( IsRdsOneWindow(Rectangle) )
{
ScanWin = (rdswin_list *) Rectangle->USER;
}
else
{
ScanRecWin = Rectangle->USER;
while ( ScanRecWin != NULL )
{
ScanWin = (rdswin_list *) (ScanRecWin)->WINDOW;
ScanRecWin = ScanRecWin->NEXT;
}
}
. . .
}
SEE ALSO
librwi, delrdsrecwindow
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM /LIP6 October 1, 1997 ADDRDSRECWINDOW(3)