12-30-2014
So - what be the output of ps -e, and what's in $PIDFILE?
9 More Discussions You Might Find Interesting
1. Programming
Hi,
I wanna write my own mini shell as a part of my project. Whole coding is to be donw in C for linux platform. I have got background of linux as well as C but now can anybody please suggest me the sources from where i can find information about how to start ? I have to implement some basic... (4 Replies)
Discussion started by: siddharth_god
4 Replies
2. Programming
I have to write a program in C++ using several functions. The program consists of ticket sales how many if you are an adult, junior, or toddler and if there are any discounts. I have the program working up to the pricing function. when i put the discount in the equation it <strike>do</strike>... (1 Reply)
Discussion started by: ravenswind35
1 Replies
3. Solaris
Hi,
I have a startscript on solaris 10 which does not work properly.
#!/sbin/sh
PIDFILE=/opt/app_y/PID.log
case $1 in
'start')
/usr/local/bin/app_y -C /opt/app_y/local.cfg
echo $! > $PIDFILE
;;
esac
exit $?
The problem is that the PIDFILE is empty.... (3 Replies)
Discussion started by: victorinox
3 Replies
4. UNIX for Dummies Questions & Answers
Hi
We are running an IBM P570 with AIX and Unidata.
The disk monitor in nmon is showing that one of our logical volumes is hitting 100% most of the time, and that 98% of it is write.
I am trying to identify the top processes in terms of disk IO, obviously particularly write so that we... (4 Replies)
Discussion started by: idwalton72
4 Replies
5. UNIX for Dummies Questions & Answers
I have one sample file that contains one question and multiple choice with answer. I need to print the question and answer in another file. Answer is printed next to one of the correct choice.
e.g.
1. Capital of USA
(A) USA
(B) Washington
(C) New York (B)
(D) New Delhi
so i want the... (4 Replies)
Discussion started by: blackeyed
4 Replies
6. Shell Programming and Scripting
Hey everyone
Can anyone please write me a script to display numbers in descending order dynamically i.e if the user enter a number say 100 then the output should be like 100 99 ....so on till 0
I tried using the logic as for ((i =1; i<=100; i--) but the it goes into a infinite loop since even the... (7 Replies)
Discussion started by: icchi
7 Replies
7. AIX
Hi,
I am setting up a hacmp oracle cluster with 2 resource groups - one on each node.
Binaries are local - so is configuration but its the same on both nodes - so are the startscripts.
If I start the cluster, each DB comes up nicely on its homenode.
Now I have the problem that when I... (1 Reply)
Discussion started by: zxmaus
1 Replies
8. How to Post in the The UNIX and Linux Forums
I am new for script writing. I have a file named as name.dat and contain numbers with different rows and columns. I want to sum numbers at one row with that of at another row; like row1 + row101 + row 201, with corresponding columns. Any one can help me to write a script for this operation.
... (1 Reply)
Discussion started by: kumnegert
1 Replies
9. Shell Programming and Scripting
In the attached bash in the convert function the out_position.txt in not being writing to the annovar directory and I can not figure out why. Thank you :). (2 Replies)
Discussion started by: cmccabe
2 Replies
LEARN ABOUT CENTOS
ajaxterm
ajaxterm(1) User commands ajaxterm(1)
NAME
ajaxterm - Web based terminal written in python
DESCRITPION
ajaxterm is a web based terminal written in python and some AJAX javascript for client side. It can use almost any web browser and even
works through firewalls.
USAGE
ajaxterm [options]
OPTIONS
A summary of the options supported by ajaxterm is included below.
-h, --help
show the help message and exit
-p PORT, --port=PORT
Set the TCP port (default: 8022)
-c CMD, --command=CMD
set the command (default: /bin/login or ssh localhost)
-l, --log
log requests to stderr (default: quiet mode)
-d, --daemon
run as daemon in the background
-P PIDFILE, --pidfile=PIDFILE
set the pidfile (default: /var/run/ajaxterm.pid)
-i INDEX_FILE, --index=INDEX_FILE
default index file (default: ajaxterm.html)
-u UID, --uid=UID
Set the daemon's user id
-s SERVERPORT, --serverport=SERVERPORT
Use a different port than 22 to connect to the ssh server
-t TOKEN, --token=TOKEN
Set authorization token. If this option is passed on the command line, the given token must be used when accessing ajaxterm (by
adding a ?token=something request argument).
-T SECONDS, --terminate-on-idle=SECONDS
Terminate if idle for more than SEC seconds (0 means never)
AUTHOR
Antony Lesuisse <al@udev.org>
Adopted to UTF-8 by Sergej Pupykin <ps@lx-ltd.ru>
This manual page was written for the Debian system by Julien Valroff <julien@debian.org> (but may be used by others).
REPORTING BUGS
Report any bugs to the author: Antony Lesuisse <al@udev.org>
COPYRIGHT
Copyright Antony Lesuisse <al@udev.org>
SEE ALSO
- ajaxterm wiki page: http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm
- ajaxterm forum: http://antony.lesuisse.org/qweb/forum/viewforum.php?id=2
ajaxterm 0.7 Jul 2006 ajaxterm(1)