I am trying to interpret the following shellscript and am having a very difficult time. Could one of you Unix gurus pleasssseeee help me out? You just won't know how much of a life saver you would be for me.
PN=`basename "$0"` # Program name
VER=`echo '$Revision: 1.2 $' | cut -d' ' -f2`
... (3 Replies)
We are having performance issues on an alpha4100 server.
I can't paste a snapshot of my vmstat in here, but...
We have 4gb of memory. The actual memory stays consistant around 306k. Free is dropping into the 120 area. Wire is around 206k consistantly. consistantly.
My manual says that unix... (3 Replies)
Hi all,
I wanted to know the solaris way of interpreting devices?
I mean i understand all those c0t0....stuff but when i start mounting devices , most of the times i get either a I/O error or it says that the directory does not exist.
eg:
I have a external usb hub to which i have connected... (1 Reply)
hi all,
when I run-
wcars1j5#netstat -an | grep 8090
127.0.0.1.8090 *.* 0 0 49152 0 LISTEN
wcars1j5#
1. does this mean that no one is connected to this port?
Regards,
akash (1 Reply)
Hi. I wonder what the equal sign in front of the answer means.
I have read man pages and googled but found no answer.
xntpdc -p
=15.5.64.3 15.5.2.51 3 512 377 0.02060 0.057426 0.04965Thanks.
Jan (1 Reply)
Hi,
I am writing a shell script which will check the status of a resource in a cluster and then display nicely to a user running the script at command line.
Basically the script runs a status command and then pulls certain keywords from the return and then should display a concise status.
... (5 Replies)
Hi,
I am sure some gurus will recognize what this graph is. This is provided by our SA but I can't understand his explanation. I am not sure if this is from kSar or Cacti. The link that I was given to is to a kSar directory so I am assuming this output is from kSar.
Hopefully, I can get a... (1 Reply)
In this example function below, I cannot figure out what certain parts mean.
if ! echo $PATHwhat is "if !"?
(^|:)$1($|:) What is ^|: and$|:?
pathmunge () {
if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
if ; then
PATH=$PATH:$1
else... (3 Replies)
Discussion started by: MemberName
3 Replies
LEARN ABOUT SUNOS
scroll
scrl(3XCURSES) X/Open Curses Library Functions scrl(3XCURSES)NAME
scrl, scroll, wscrl - scroll a window
SYNOPSIS
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib
-R /usr/xpg4/lib -lcurses [ library... ]
c89 [ flag... ] file... -lcurses [ library... ]
#include <curses.h>
int scrl(int n);
int scroll(WINDOW *win);
int wscrl(WINDOW *win, int n);
PARAMETERS
n number and direction of lines to scroll
win pointer to the window in which to scroll
DESCRIPTION
The scroll() function scrolls the window win up one line. The current cursor position is not changed.
The scrl() and wscrl() functions scroll the window stdscr or win up or down n lines, where n is a positive (scroll up) or negative (scroll
down) integer.
The scrollok(3XCURSES) function must be enabled for these functions to work.
RETURN VALUES
On success, these functions return OK. Otherwise, they return ERR.
ERRORS
None.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO clearok(3XCURSES), libcurses(3XCURSES), attributes(5), standards(5)SunOS 5.10 5 Jun 2002 scrl(3XCURSES)