10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to get the job status from the second line "SU" to a variable
Input:
Job Name Last Start Last End ST Run/Ntry Pri/Xit
JOBNAME 10/24/2016 10:34:55 10/24/2016 10:44:15 SU 100344/32 0
Code tried
JSTATUS=$(cat Input | awk '$6 == "SU" {print $6}')... (5 Replies)
Discussion started by: Joselouis
5 Replies
2. Linux
How to check CPU on-line or off-line status using single command in Linux?
Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies
3. AIX
There is this workstations that I sometimes work on and it annoys me because it does not have any vertical scrollbar enabled.
I did a Google on activating scroll bar but they talk about escape sequences that I have no clue on how to do this:
CSI ? P m h DEC Private Mode Set... (2 Replies)
Discussion started by: Browser_ice
2 Replies
4. AIX
on a AIX sys i have been trying to get the mouse scroll wheel to page the terminal for about 2 yrs now on aixterm. any ideas. the below syntax does not work in aixterm but does work in xterm.
------------------------- this does not work in aixterm but does work in xterm,, with a cat Xdefult |... (2 Replies)
Discussion started by: nullwhat
2 Replies
5. UNIX for Advanced & Expert Users
been trying to get the mouse scroll wheel to page the terminal for about 2 yrs now on aixterm. any ideas. the below syntax does not work in aixterm but does work in xterm.
------------------------- this does not work in aixterm but does work in xterm,, with a cat Xdefult | sed... (1 Reply)
Discussion started by: nullwhat
1 Replies
6. UNIX for Advanced & Expert Users
Is there any way to change title of aixterm window online? Also is it possible to freeze first/last few lines online? (1 Reply)
Discussion started by: Soham
1 Replies
7. Shell Programming and Scripting
Hello All,
I'm very new to scripting and I'm writing a very simple script to restart a couple processes because I'm getting to lazy to cd between directories.
This is pretty much my first script and I just want to add a little cosmetics to it.
Here's what I have:
#!/bin/ksh
echo... (5 Replies)
Discussion started by: Setan
5 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am trying to test the exit status of the cleartool lsvtree statement below, but it doesn't seem to be working due to the tail pipe, which it is testing instead. Is there a way around this without adding a tonne of new code?
cleartool lsvtree $testlocation/$exe_name | tail -15
... (10 Replies)
Discussion started by: topcat8
10 Replies
9. AIX
Hi,
I'm using xterm and aixterm with Mwm on AIX, and having trouble controlling icon placement when minimising windows. Basically when I run an xterm or aixterm I want to be able to specify where the icon will be if minimised.
The man page mentions the "#geometry Geometry" option to aixterm,... (1 Reply)
Discussion started by: cunningdavid
1 Replies
10. Shell Programming and Scripting
Is there a way to maximize an xterm window in a ksh script?
I've tried a number of approaches, but none seem to have the desired affect.
All I want to accomplish is to have the window maximized upon being called in the script...i.e:
xterm -T MyNewXterm -e programToOpen & | maximized --or... (1 Reply)
Discussion started by: spieterman
1 Replies
CWNNSTAT(1) General Commands Manual CWNNSTAT(1)
NAME
cwnnstat - To show the current status of cserver.
SYNOPSIS
cwnnstat [-w] [-e] [-E] [-f] [-F] [-d] [-D]
[-L lang ] [ hostname ]
DEFAULT PATH
/usr/local/bin/cWnn4/cwnnstat
DESCRIPTION
To request for the current execution status of the cserver for the current host.
If hostname is specified, the status of the that specified host will be given.
OPTIONS
-w To list the username, hostname, socket number and the environment number.
-e To list the environment number, environment name and reference count.
-E To list the environment number, environment name, reference count, grammar file number, number of dictionary used, (list of dictio-
nary numbers) and the numbers of the files used in the current environment.
-f To list the file ID of each cWnn file in the cserver, the file type, the location of file, reference count and the filename.
-F Same as -f option
-d To list the dictionary number of dictionaries managed by the host, the dictionary type, dictionary file number, dictionary filename,
usage frequency filename and usage frequency file number.
-D To list the dictionary number, type, conversion method, number of entries, static/dynamic, current usage status, priority, alias,
filename, [(alias:usage frequency filename)], [password (frequency password)] of the dictionaries.
-L To specify the language name which is referred during selection of cserver. If no lang is specified, the one specified by the envi-
ronment variable LANG will be used. The default is "zh_CN".
NOTE
1. The command options inside [ ] shown in the Command Format indicates that they are optional. If they are not required, "cwnnstat"
alone is sufficient to obtain the status of cserver.
2. Dictionary number is different from file number.
- File number refers to the standardized number among
all cWnn files.
- Dictionary number refers to the logical dictionary
number in the server.
3. One dictionary file may consist of different usage frequency files, and each will form an individual dictionary.
4. One dictionary file with different conversion methods (forward/reverse) will form different dictionaries.
13 May 1992 CWNNSTAT(1)