09-12-2018
Of course, nothing is printed: You are looking for [Ss]tate, [Hh]ostname, or [Ii]p, but your config file has FIRST_IP, FIRST_STATE, and HOST_NAME. No match possible!
On top, you should echo the variables that you assigned to in the function to see a meaningful result.
This User Gave Thanks to RudiC For This Post:
9 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Hi,
How do i check the GNU C Complier my system is running?
thanks
jennifer (2 Replies)
Discussion started by: jennifer
2 Replies
2. UNIX for Dummies Questions & Answers
I have a process that spits out a file called sqlplus.out, here is what the result looks like:
Currently the value you see is zero, what I need to do is perform an action if that value is non-zero, so how do I check that value in an if statement? If it helps at this moment in development the... (6 Replies)
Discussion started by: philplasma
6 Replies
3. AIX
consider on day1, in PVCS repository we have java files like a.java,b.java with version revision 1.0, through ANT build script we have compiled and created an ear,named c.ear in AIX build server.we have transfered this ear from build server to portal server through FTP using KSHELL.
consider... (0 Replies)
Discussion started by: kareemaashik
0 Replies
4. Solaris
i have a program writing in PRO C which currently running in unix version 8 tie with oracle 8i, but in the future company gonna migrate this OS to version 9.
Anything i have to prepare for my PRO C program to run in unix version 9? or anything would that impact my program couldn't run well?
what... (2 Replies)
Discussion started by: lsy
2 Replies
5. UNIX for Advanced & Expert Users
Would like to confirm the ff. I got confused actually with the version I needed to download that will work on glassfish 3.0.1
a. Debian Squeeze (HP DL360). Need to use java version6
On Debian, I did apt-get install sun-java6-jdk. So when I check it's
java version "1.6.0_22"
Java(TM) SE... (1 Reply)
Discussion started by: lhareigh890
1 Replies
6. SCO
Hi, (i'm sorry for my english)
I'm a problem on boot sco unix 5.0.5 open server.
this stop at "Checking protected password and checking subsystem databases"
(See this image )
I'm try this:
1) http://www.digipedia.pl/usenet/thread/50/37093/#post37094
2) SCO: SCO Unix - Server hangs... (9 Replies)
Discussion started by: buji
9 Replies
7. Shell Programming and Scripting
How to copy a file from directroy/ prior version to the directory/ new version automatically. (4 Replies)
Discussion started by: roy1912
4 Replies
8. AIX
Hi,
Below is output of lslpp command.
bash-3.00# lslpp -L | grep xlC
xlC.aix50.rte 11.1.0.1 C F XL C/C++ Runtime for AIX 5.3
xlC.cpp 9.0.0.0 C F C for AIX Preprocessor
xlC.msg.en_US.cpp 9.0.0.0 C F C for AIX... (2 Replies)
Discussion started by: manoj.solaris
2 Replies
9. Red Hat
Guys,
How to find OS version and firmware version in LINUX?
Like in AIX.
uname -a will show me the version 5.3, 6.1,7.1.
lsmcode -c will show me - system firmware image as SF240_417.
What are the similar commands in Linux.
I checked uname -a and cat /etc/release.
uname... (1 Reply)
Discussion started by: ElizabethPJ
1 Replies
LEARN ABOUT SUSE
cannastat
CANNASTAT(1) General Commands Manual CANNASTAT(1)
NAME
cannastat - Display information about the Kana-Kanji conversion server
SYNOPSIS
cannastat [{-cs|-cannaserver} canna-server ] [-p] [-t] [-a]
DESCRIPTION
cannastat(1) displays information about the Kana-Kanji conversion server cannaserver(1M). The information includes the following: the name
of the machine on which the connected server exists, the cannaserver(1M)'s version, the number of clients connecting to the server, the
name of the user connecting to the server, its user number, the socket number, the number of contexts, the time of connection to the
server, the time of use of the server, the idle time, the name of the host under which the client exists, and the frequency of using each
protocol.
If cannastat(1) is called without options, the following is displayed:
Connected to machine1
Canna Server (Ver. 2.1)
Total connecting clients 1
USER_NAME ID NO U_CX C_TIME U_TIME I_TIME HOST_NAME
kon 5 0 4 Tue 21 8:49am 11 12:48 machine2
The items represent the following:
USER_NAME User name
ID Socket number
NO User number
U_CX Context number
C_TIME Time of connection (h:min)
U_TIME User time (h:min:s)
I_TIME Idle time (h:min)
HOST_NAME Name of the host under which the client exists
OPTIONS
-cs canna-server (or -cannaserver canna-server)
Specifies the Kana-Kanji conversion server.
-p Displays the frequency of using the protocol.
-t Displays information about the user who started cannastat. It includes the frequency of using the protocol, as well as ID, NO,
U_CX, C_TIME, U_TIME, I_TIME, and HOST_NAME.
-a Displays all information about all users.
FILES
/var/lib/canna/cannahost Name of the host under which cannaserver is in operation.
SEE ALSO
cannaserver(1M), cannakill(1M), cannacheck(1)
ENVIRONMENT
CANNAHOST Specifies the name of the host under which cannaserver(1M) is in operation.
CANNASTAT(1)