8 More Discussions You Might Find Interesting
1. Programming
Dear all,
I had the "Symbol referencing errors" while compiling a C socket code.
It said "Undefined Symbol: socketpair", but I already copy the two head files (#include "types.h", #include "socket.h") into my current directory.
Could anyone help me with it? Thanks.
By the way, I'm using... (4 Replies)
Discussion started by: beyondaymk
4 Replies
2. AIX
Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold
I use top on other... (5 Replies)
Discussion started by: thenomad
5 Replies
3. AIX
Is there a 'top' command equivalent in AIX 4.2 ?
I already checked and I do not see the following ones anywhere:
top
nmon
topas (1 Reply)
Discussion started by: Browser_ice
1 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I am trying to learn Networking Programming in C in unix enviorment. I want to know how good it is to become a network programmer. i am crazy about Network programming but i also want to opt for the best carreer options. Anybody experienced Network Programmer, please tell me is my... (5 Replies)
Discussion started by: vibhory2j
5 Replies
5. UNIX for Dummies Questions & Answers
Hi all, dummy here.... I have major errors on entering the shell. On login I get:
-bash: dircolors: command not found
-bash: tr: command not found
-bash: fgrep: command not found
-bash: grep: command not found
-bash: grep: command not found
-bash: id: command not found
-bash: [: =: unary... (12 Replies)
Discussion started by: wcmmlynn
12 Replies
6. AIX
$ errpt | more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR
B8113DD1 ... (2 Replies)
Discussion started by: mcastill66
2 Replies
7. UNIX for Advanced & Expert Users
$ errpt | more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR
B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies
8. UNIX for Dummies Questions & Answers
how can i do that in a script withough havin the script halt at the section where the top command is located. am writign a script that will send me the out put of unx commands if the load average of a machine goes beyond the recommended number.
top -n 20
i want to save this output to a file... (1 Reply)
Discussion started by: TRUEST
1 Replies
curs_border(3) Library Functions Manual curs_border(3)
NAME
curs_border, border, wborder, box, hline, whline, mvhline, mvwhline, vline, wvline, mvvline, mvwvline - Create Curses borders, and horizon-
tal and vertical lines
SYNOPSIS
#include <curses.h>
int border(
chtype ls,
chtype rs,
chtype ts,
chtype bs,
chtype tl,
chtype tr,
chtype bl,
chtype br ); int wborder(
WINDOW *win,
chtype ls,
chtype rs,
chtype ts,
chtype bs,
chtype tl,
chtype tr,
chtype bl,
chtype br ); int box(
WINDOW *win,
chtype verch,
chtype horch ); int hline(
chtype ch,
int n ); int whline(
WINDOW *win,
chtype ch,
int n ); int mvhline(
int y,
int x,
chtype ch,
int n ); int mvwhline(
WINDOW *win,
int y,
int x,
chtype ch,
int n ); int vline(
chtype ch,
int n ); int wvline(
WINDOW *win,
chtype ch,
int n ); int mvvline(
int y,
int x,
chtype ch,
int n ); int mvwvline(
WINDOW *win,
int y,
int x,
chtype ch,
int n );
LIBRARY
Curses Library (libcurses)
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
border, wborder, box, hline, whline, mvhline, mvwhline, vline, wvline, mvvline, mvwvline: XCURSES4.2
Refer to the standards(5) reference page for more information about industry standards and associated tags.
DESCRIPTION
The border, wborder, and box routines draw a border around the edges of the window. Each of the following arguments contains both a charac-
ter and attributes for a particular part of the border: Left side Right side Top Bottom Top left-hand corner Top right-hand corner Bottom
left-hand corner Bottom right-hand corner
If any of these arguments is zero, then the functions use the following default values (which are defined in <curses.h>): ACS_VLINE,
ACS_VLINE, ACS_HLINE, ACS_HLINE, ACS_ULCORNER, ACS_URCORNER, ACS_LLCORNER, and ACS_LRCORNER.
The call box(win, verch, horch); is equivalent to the following call:
wborder(win, verch, verch, horch,
horch, 0, 0, 0, 0);
The hline, whline, mvhline, and mvwhline functions use ch to draw a horizontal (left-to-right) line, starting at the current or specified
cursor position in the current or specified window. The current cursor position is not changed. The line is at most n characters long, or
as many characters as can fit into the window.
The vline, wvline, mvvline, and mvwvline functions use ch to draw a vertical (top-to-bottom) line, starting at the current or specified
cursor position in the current or specified window. The current cursor position is not changed. The line is at most n characters long, or
as many characters as can fit into the window.
NOTES
The header file <curses.h> automatically includes the header file <stdio.h>.
Note that border and box may be macros.
RETURN VALUES
All routines return OK on success or ERR on failure.
SEE ALSO
Functions: curses(3), curs_border_set(3), curs_outopts(3)
Others: standards(5)
curs_border(3)